How do I build xpdf? Missing freetype!
I needed to build xpdf from source. However I am missing some dependencies to freetype. Please let me know how I can proceed.
# First I got the xpdf dependencies
$ sudo apt-get build-dep xpdf
#Next got the sources
$ apt-get source xpdf
# Ran configure
$ ./configure
...[snip]
checking whether to use freetype2 library... maybe
checking where to find the freetype2 header files...
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
not using freetype2 library
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating goo/Makefile
config.status: creating fofi/Makefile
config.status: creating splash/Makefile
config.status: creating xpdf/Makefile
config.status: creating aconf.h
config.status: aconf.h is unchanged
configure: WARNING: Couldn't find FreeType
configure: WARNING: -- You will be able to compile pdftops, pdftotext,
pdfinfo, pdffonts, and pdfimages, but not xpdf or pdftoppm
I think its looking for ft2build.h. How do I get Freetype so that this dependency can be resolved? libfreetype6 and libfreetype6-dev are installed.
Thanks
rrevo
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu xpdf Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- rrevo
- Solved:
- Last query:
- Last reply: