Compiling PHP4.02 with GD

From: Date: Tue, 12 Sep 2000 12:09:52 +0000
Subject: Compiling PHP4.02 with GD
Groups: php.general 
Request: Send a blank email to php-general+get-16337@lists.php.net to get a copy of this message
Hi, currently migrating from PHP 3 to 4.02 Completely fresh tar -xzf of apache, php4.02, and GD 1.8.3 Compile and install GD (under /usr/local/lib, /usr/local/include) Configure PHP 4 : ./configure --with-mysql --with-apache=../apache_1.3.12_php4 --enable-track-vars --with-gd=/usr/local --enable-magic-quotes --enable-ftp --with-jpeg-dir=/usr/lib --with-xpm-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib --with-imap=../imap-4.7a which runs correctly. During compilation, however, it crashes out with the following : make[3]: Entering directory `/install/php-4.0.2/ext/gd' gcc -I. -I/install/php-4.0.2/ext/gd -I/install/php-4.0.2 -I/install/php-4.0.2/main -I/install/apache_1.3.12_php4/src/include -I/install/apache_1.3.12_php4/src/os/unix -I/install/php-4.0.2/Zend -I/install/php-4.0.2 -I/usr/local/include -I/install/imap-4.7a/include -I/install/php-4.0.2/ext/mysql/libmysql -I/install/php-4.0.2/ext/xml/expat/xmltok -I/install/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo d.c: In function `php_if_imagecreatefromgif': gd.c:500: `gdImageCreateFromGif' undeclared (first use in this function) gd.c:500: (Each undeclared identifier is reported only once gd.c:500: for each function it appears in.) gd.c: In function `php_if_imagegif': gd.c:657: `gdImageGif' undeclared (first use in this function) make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/install/php-4.0.2/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/install/php-4.0.2/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/install/php-4.0.2/ext' make: *** [all-recursive] Error 1 I have been unable to resolve this... any ideas? (With GD support removed, PHP4.02 builds correctly) Vin

« previous php.general (#16337) next »