Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install #2

Closed
andyhasit opened this issue Jul 25, 2017 · 2 comments
Closed

Cannot install #2

andyhasit opened this issue Jul 25, 2017 · 2 comments

Comments

@andyhasit
Copy link

I had to install a load of additional libraries I didn't have before I could get run configure, which I had to do with extra options: ./configure --with-freetype2-includes=/usr/include/freetype2 before it ran with no warnings, then I ran make, but when I run pdftojson it says command not found.

Am I missing something? Those are the only instructions I can see.

andrew@andrew-Latitude-E7450 ~/repos/pdftojson $ sudo make
cd goo; make
make[1]: Entering directory '/home/andrew/repos/pdftojson/goo'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/andrew/repos/pdftojson/goo'
cd fofi; make
make[1]: Entering directory '/home/andrew/repos/pdftojson/fofi'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/andrew/repos/pdftojson/fofi'
cd splash; make
make[1]: Entering directory '/home/andrew/repos/pdftojson/splash'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/andrew/repos/pdftojson/splash'
cd xpdf; make all
make[1]: Entering directory '/home/andrew/repos/pdftojson/xpdf'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/andrew/repos/pdftojson/xpdf'
andrew@andrew-Latitude-E7450 ~/repos/pdftojson $ pdftojson
pdftojson: command not found
andrew@andrew-Latitude-E7450 ~/repos/pdftojson $ 
@andyhasit
Copy link
Author

Didn't see it was in another directory, my bad!

@ldenoue
Copy link
Owner

ldenoue commented Jul 26, 2017

Also, the README.md file shows how you might need to run configure when your external libraries are not installed on the right path:
./configure --with-libpng-library=/usr/local/Cellar/libpng/1.6.16/lib/ --with-libpng-includes=/usr/local/Cellar/libpng/1.6.16/include/ --with-freetype2-library=/usr/local/lib/ --with-freetype2-includes=/usr/local/include/freetype2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants