I'm in the middle of setting up a new box to test Apache/PHP on the new Fedora 1 core, and I'm having some issues getting configure to run with --with-xpm-dir. I've installed the libXpm libraries (libXpm.3.4f-ELF) from ftp://metalab.unc.edu/pub/Linux/libs/X/!INDEX.html, but I get this error when running configure....
checking for XpmFreeXpmImage in -lXpm... no
configure: error: Problem with libXpm.(a|so) or libX11.(a|so). Please check config.log for more information.
config.log has this....
configure:30608: checking for XpmFreeXpmImage in -lXpm
configure:30627: gcc -o conftest -g -O2 -DDMALLOC_FUNC_CHECK -Wl,-rpath,/usr/X1
1R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lib/gcc-lib/i386-redhat-linux/3.3.2 -L
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2 -Wl,-rpath,/usr/local/ssl/lib -L/usr/lo
cal/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lX11 conftest.c -lXpm -
lpng -lz -ljpeg -lexslt -lxsltbreakpoint -lxml2 -lxslt -lz -lgdbm -lcurl -lcrack
-lcpdf -ltiff -ljpeg -lbz2 -lz -lssl -lcrypto -ldmalloc -lresolv -lm -ldl -lnsl
-lgcc -lcurl -lz -lssl -lcrypto -ldl -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 30616 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XpmFreeXpmImage();
int main() { XpmFreeXpmImage() ; return 0; }
The libXpm binaries are installed in /usr/X11R6, and I use that directory with the configure line...
--with-xpm-dir=/usr/X11R6
This is a Fedora 1 core box with Apache 1.3.29, trying to install php 4.3.4.
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php