Created
August 21, 2014 06:42
-
-
Save vigneshsarma/081bccffb81206460a91 to your computer and use it in GitHub Desktop.
pdf2htmlex build script.
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
#!/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