Hi Jeff,

I have Xorg with Martin's hack to fix freetype.h from an earlier thread (comment out the top of /usr/X11R6/include/freetype2/freetype/freetype.h)
so it doesn't error out), but xpdf 3.00-14 still fails to configure correctly:


checking whether to use freetype2 library... (cached) /usr/X11R6/lib
checking where to find the freetype2 header files... (cached) /usr/X11R6/include/freetype2
checking freetype/freetype.h usability... no
checking freetype/freetype.h presence... no
checking for freetype/freetype.h... no
configure: WARNING: requested freetype2 library not found!
checking whether to use freetype2 library... (cached) /usr/X11R6/lib
checking where to find the freetype2 header files... (cached) /usr/X11R6/include/freetype2
checking freetype.h usability... no
checking freetype.h presence... no
checking for freetype.h... no
configure: WARNING: requested freetype2 library not found!
checking whether to use libpaper library... maybe
checking where to find the libpaper header files...
checking paper.h usability... no
checking paper.h presence... no
checking for paper.h... no
not using libpaper 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
configure: WARNING: Couldn't find X / Motif -- you will be able to compile
pdftops, pdftotext, pdfinfo, pdffonts, pdftoppm, and pdfimages,
but not xpdf


It now only needs this line

SetCPPFLAGS: -I/usr/X11R6/include

added to xodf.info for it to find freetype2, however, it then doesn't build correctly:

g++ -I/usr/X11R6/include/freetype2 -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. -I/sw/include -I/usr/X11R6/include/freetype2 -c SplashFTFont.cc
In file included from SplashFTFont.cc:15:
/usr/X11R6/include/freetype2/freetype/ftoutln.h:24:22: ft2build.h: No such file or directory
/usr/X11R6/include/freetype2/freetype/ftoutln.h:25:10: #include expects "FILENAME" or <FILENAME>
In file included from SplashFTFont.cc:15:
/usr/X11R6/include/freetype2/freetype/ftoutln.h:107: error: `FT_Error' was not
declared in this scope


and one needs to change

SetCXXFLAGS: -I/usr/X11R6/include/freetype2

to

SetCXXFLAGS: -I/usr/X11R6/include

before it will build. This is the same modifications I reported earlier on this list. After this successful build, when I run it, it appears to work, but complains thus:

xpdf
Error: No display font for 'Courier'
Error: No display font for 'Courier-Bold'
Error: No display font for 'Courier-BoldOblique'
Error: No display font for 'Courier-Oblique'
Error: No display font for 'Helvetica'
Error: No display font for 'Helvetica-Bold'
Error: No display font for 'Helvetica-BoldOblique'
Error: No display font for 'Helvetica-Oblique'
Error: No display font for 'Symbol'
Error: No display font for 'Times-Bold'
Error: No display font for 'Times-BoldItalic'
Error: No display font for 'Times-Italic'
Error: No display font for 'Times-Roman'
Error: No display font for 'ZapfDingbats'

and does indeed not find those fonts when displaying documents that require them...not very usable... I checked for any ~/.xpdf* file, in case that was causing problems, but I don't have one. I notice you changed something in the xpdf.patch file to do with these fonts (commented that part of the patch out???)

I have reverted to the latest previous working version of xpdf that I have: xpdf-3.00-12.loc (i.e. revision 12 with my two added lines as above) and verified it still works. I did not rebuild it though, only reinstalled, so I guess that packages I updated in between could still possibly be causing problems (yes, that includes the new tetex...)

The only other not up to date thing I have is xaw3d, where I'm sticking to 1.5.8 until xfig is fixed, 'cos I gotta have xfig working...

no big rush (at least I have a working version of xpdf 3.00), so those without a working xpdf need help before I do. Am happy to test if you let me know what would be useful to test...

thanks,
-- Viv
------------------------------------------------
Dr Viv Kendon               [EMAIL PROTECTED]
Quantum Information           tel: 0113 343 3897
Physics & Astronomy          University of Leeds


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to