Having a heck of a time installing
| From: | David OBrien | Date: | Fri, 16 Feb 2001 18:57:09 +0000 |
| Subject: | Having a heck of a time installing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40201@lists.php.net to get a copy of this message | ||
I just build a new redhat 6.2 server (intel) to install php4 and apache on
I'm trying to compile php as an dso module.
Apache compiled and installed just great. WHen I try to build php4 woth the following
./configure --with-apxs=/www/bin/apxs --with-imap --with-gd --with-jpeg=/usr/lib --with-xpm-dir=/usr/X11R6/lib --with-png=dir=/usr/lib
I get the follow when I configure:
checking whether to enable truetype string function in gd... no
checking for libjpeg (needed by gd-1.8+)... no
configure: warning: If configure fails try --with-jpeg-dir=<DIR>
checking for libXpm (needed by gd-1.8+)... yes
checking for XpmFreeXpmImage in -lXpm... (cached) no
no
checking whether to include GD support... yes (static)
checking for gdImageString16 in -lgd... (cached) no
checking for gdImagePaletteCopy in -lgd... (cached) no
checking for gdImageColorClosestHWB in -lgd... (cached) no
checking for compress in -lz... (cached) no
checking for png_info_init in -lpng... (cached) no
checking for gdImageColorResolve in -lgd... (cached) no
checking for gdImageCreateFromPng in -lgd... (cached) no
checking for gdImageCreateFromGif in -lgd... (cached) no
checking for gdImageWBMP in -lgd... (cached) no
checking for gdImageCreateFromJpeg in -lgd... (cached) no
checking for gdImageCreateFromXpm in -lgd... (cached) no
checking whether to include FreeType 1.x support... yes
checking for T1lib support... no
I get this when I compile:
/usr/bin/ld: cannot find -lgd
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/tmp/apache/Apachetoolbox-1.5.2/src/php-4.0.4pl1'
make: *** [all-recursive] Error 1
these dirs are where the libs live. I can't see whats wrong. I added the above dirs to the path also
-Dave