Skip to content

Instantly share code, notes, and snippets.

@chrishein
Forked from pmdarrow/gist:3427827
Created August 24, 2013 11:50
Show Gist options
  • Save chrishein/6327683 to your computer and use it in GitHub Desktop.
Save chrishein/6327683 to your computer and use it in GitHub Desktop.
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment