Created
August 22, 2012 17:40
-
-
Save pmdarrow/3427827 to your computer and use it in GitHub Desktop.
How to compile wkhtmltopdf static binary on Ubuntu 12.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These instructions were tested on Ubuntu 12.04 64bit | |
# Be prepared to wait a while... | |
sudo apt-get install openssl build-essential xorg libssl-dev libxrender-dev libxext-dev libpq-dev libx11-dev | |
git clone git://github.com/antialize/wkhtmltopdf.git | |
git clone git://gitorious.org/+wkhtml2pdf/qt/wkhtmltopdf-qt.git wkhtmltopdf-qt | |
cd wkhtmltopdf | |
mkdir static-build | |
ln -s ../wkhtmltopdf-qt static-build/qt | |
./scripts/static-build.sh |
If you'd explain what you did, I could try to reproduce! But all these links are dead 😢
Seems the repo has changed to: https://github.com/wkhtmltopdf/wkhtmltopdf
And the build example (available at https://github.com/wkhtmltopdf/wkhtmltopdf/blob/master/INSTALL.md) does not seem to work on Ubuntu (16.04) because it's tightly related to CentOS 6...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The gitorious library has changed to git://gitorious.org/~antialize/qt/antializes-qt.git