Complete compile instructions

701 views
Skip to first unread message

macarthy

unread,
Sep 11, 2012, 11:29:26 PM9/11/12
to wkhtmlt...@googlegroups.com
I'd like to compile the master branch, use the 4.8.2 but I need a little hand holding. 

I need the lastest build to support grayscale images ( I think!). 

I believe I need to compile branch 4.8.2, does this look right ?

sudo apt-get build-dep libqt4-gui libqt4-network libqt4-webkit
sudo apt-get install openssl build-essential xorg git-core git-doc libssl-dev


git clone git://gitorious.org/~antialize/qt/antializes-qt.git wkhtmltopdf-qt

cd wkhtmltopdf-qt
git branch checkout 4.8.2
bin/syncqt
./configure -nomake tools,examples,demos,docs,translations -opensource -prefix ../wkqt
make -j3
make install
cd ..

git clone https://github.com/antialize/wkhtmltopdf.git
cd wkhtmltopdf
../wkqt/bin/qmake
make -j3


Does this look right ?

Thanks 


macarthy

unread,
Sep 12, 2012, 12:25:29 AM9/12/12
to wkhtmlt...@googlegroups.com
Here is the link describing the grayscale image issue for reference 

Damian Momot

unread,
Oct 27, 2012, 1:53:24 PM10/27/12
to wkhtmlt...@googlegroups.com
Hi,

I'm having same problem (grayscale images).

I was able to compile SO version of qt. However when I try to compile using static verison (-static in configure) i'm getting following errors. ANy idea?

/usr/bin/ld: cannot find -lwebcore
/usr/bin/ld: cannot find -ljscore

I'm using Ubuntu 12.04

László Leber

unread,
Jun 8, 2013, 9:48:29 AM6/8/13
to wkhtmlt...@googlegroups.com
Hi, did you find solution for the lwebcore and ljscore problem?
I have the similar issue, when i try to build 4.8.4 static patched QT.

Renan Gonçalves

unread,
Sep 26, 2013, 8:22:36 AM9/26/13
to wkhtmlt...@googlegroups.com
cp ./src/3rdparty/webkit/Source/WebCore/release/libwebcore.* lib/
cp ./src/3rdparty/webkit/Source/JavaScriptCore/release/libjscore.* lib/

That solved the lwebcore and ljscore not being found.

Renan Gonçalves

unread,
Sep 26, 2013, 1:21:00 PM9/26/13
to wkhtmlt...@googlegroups.com
I just compiled with this a different fork[1], that have another patch on top of antialize's patch[2], based on PhantomJS.
And everything went fine except it failed to pack the files. The binary and the libraries were there, but the packer was trying a different path.

Renan Gonçalves

unread,
Sep 27, 2013, 5:28:08 AM9/27/13
to wkhtmlt...@googlegroups.com
linux-local build went fine, that's the only I tried though.

I have created two PR's on antialize's repository.
One for fixing the missing libraries[1] and one for making the packer look at the right directory[2], this last PR is only needed for building linux-local.


Reply all
Reply to author
Forward
0 new messages