To make a long story short: I'm trying to compile PHP 4.2 with Apache, GD, T1lib and more. This is what I'm using:
[configuring apache first] ./configure --with-apache=../apache_1.3.24 --enable-ftp --with-mysql=/usr/l ocal/mysql/ --enable-track-vars --enable-inline-optimization --disable-debug --enable-memory-limit --with-xml --enable-t1lib --with-t1lib=/usr/local/lib --with-gd=../gd-2.0.1 --with-freetype-dir=/usr --enable-gd-native-ttf --en able-gd-imgstrttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib make make install cd ../apache_1.3.24 ./configure --activate-module=src/modules/php4/libphp4.a --enable-module=rew rite make And this is what I get: /usr/libexec/elf/ld: warning: libpng.so.4, needed by /usr/local/lib/libgd.so, may conflict with libpng.so.5 modules/php4/libphp4.a(gd.o): In function `zif_imagecreatetruecolor': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0xd9e): undefined reference to `gdImageCreateTrueColor' modules/php4/libphp4.a(gd.o): In function `zif_imagetruecolortopalette': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0xf2b): undefined reference to `gdImageTrueColorToPalette' modules/php4/libphp4.a(gd.o): In function `zif_imagesetthickness': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x1032): undefined reference to `gdImageSetThickness' modules/php4/libphp4.a(gd.o): In function `zif_imagefilledellipse': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x136a): undefined reference to `gdImageFilledEllipse' modules/php4/libphp4.a(gd.o): In function `zif_imagefilledarc': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x1836): undefined reference to `gdImageFilledArc' modules/php4/libphp4.a(gd.o): In function `zif_imagealphablending': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x193a): undefined reference to `gdImageAlphaBlending' modules/php4/libphp4.a(gd.o): In function `zif_imagecolorresolvealpha': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x1bd1): undefined reference to `gdImageColorResolveAlpha' modules/php4/libphp4.a(gd.o): In function `zif_imagecolorclosestalpha': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x1e61): undefined reference to `gdImageColorClosestAlpha' modules/php4/libphp4.a(gd.o): In function `zif_imagecolorexactalpha': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x20f1): undefined reference to `gdImageColorExactAlpha' modules/php4/libphp4.a(gd.o): In function `zif_imagecopyresampled': /usr/tmp/www/php-4.2.0/ext/gd/gd.c:882: undefined reference to `gdImageCopyResampled' *** Error code 1 Stop in /usr/tmp/www/apache_1.3.24/src. *** Error code 1 Stop in /usr/tmp/www/apache_1.3.24. *** Error code 1 Stop in /usr/tmp/www/apache_1.3.24. Any ideas? It worked good before I installed t1lib and messed around with it. Thanks in advance, Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php