Skip to content

Instantly share code, notes, and snippets.

@vigneshsarma
Created August 21, 2014 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vigneshsarma/081bccffb81206460a91 to your computer and use it in GitHub Desktop.
Save vigneshsarma/081bccffb81206460a91 to your computer and use it in GitHub Desktop.
pdf2htmlex build script.
#!/bin/bash
set -e
source /etc/environment
#sudo add-apt-repository ppa:coolwanglu/pdf3htmlex --yes
#sudo apt-get update
# sudo apt-get install libpoppler-dev libspiro-dev libcairo-dev autoconf libtool libgtk2.0-dev build-essential
export LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib
pushd /tmp
wget https://github.com/coolwanglu/pdf2htmlEX/archive/v0.11.tar.gz -O - | /bin/tar -zxf -
pushd pdf2htmlEX-0.11
./autogen.sh && ./configure && make && sudo make install
cmake -DENABLE_SVG=ON .
make
make test
sudo make install
/usr/local/bin/pdf2htmlEX -v && popd
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment