problem with xpdf installation
Hi,
I'm using Mandrake Linux 9.2...I recently tried to install xpdf v3.00. But when I tried to ./configure I got the following warning... configure: WARNING: Couldn't find X/Motif -- you will be able to compile pdftops, pdftotext, pdfinfo, pdffonts, pdftoppm, and pdfimages but not xpdf And really as it warned, when I ran make and make install, the binary for xpdf was not there. Can anyone please tell me how to get X/Motif? one of the forums had a thread which discussed abt a similar problem....the suggestion given was to install XFree86-devel.....but it seems Xfree86-devel-4.3-23mdk has been alredy installed on my machine.... even when I tried to install open-motif, got error messages stating conflicts between XFree86-4.3-23mdk files and open-motif files.... Also wondering what is X/Motif....from what I've understood, it is a GUI tool for X windows environment...am i right? |
I got the exact same error on Redhat 9. This fixed it for me:
./configure --prefix=/usr --with-freetype2-includes=/usr/include/freetype2 compiled and seems to run fine. Robert |
I had to write this crazy command line to persuade it to work:
./configure --prefix=/usr --with-freetype2-includes=/usr/include/freetype2 --with-Xm-includes=/usr/X11R6/LessTif/Motif1.2/include --with-Xm-library=/usr/X11R6/LessTif/Motif1.2/lib So u have to find XmAll.h and libXm.so and set it by these params: --with-Xm-library= --with-Xm-includes= bye:) |
On SLES 9 or Suse 9.1 this worked
./configure CPPFLAGS=-DFT_FREETYPE_H CXXFLAGS=-DFT_FREETYPE_H --prefix=/usr/X11R6 --with-x --with-freetype2-library=/usr/X11R6/lib --with-freetype2-includes=/usr/include/freetype2/
|
All times are GMT -5. The time now is 06:44 PM. |