GD problems

From: Date: Mon, 01 Jan 2001 15:02:43 +0000
Subject: GD problems
Groups: php.install 
Request: Send a blank email to php-install+get-1395@lists.php.net to get a copy of this message
Hi Got a very annoying problem - with both PHP3 and PHP4 ... I have installed both PHP3 and PHP4 on a FreeBSD 4.2 server - running Apache 1.3.12. Both 3 and 4 with GD support - no problem. Suddenly I cannot compile either version of PHP with GD support. I've tried to uninstall/reinstall GD (1.8.3) - Jpeg - libpng and zlib - still nothing works. I keep on getting this err.msg. trying to compile PHP-4.0.4 : Making all in gd /bin/sh /usr/local/src/php-4.0.4/libtool --silent --mode=compile gcc -I. -I/usr/local/src/php-4.0.4/ext/gd -I/usr/local/src/php-4.0.4/main - I/usr/local/src/php-4.0.4 -I/usr/local/apache/include -I/usr/local/src/php-4 .0.4/Zend -I/usr/local/include/freetype -I/usr/local/include -I/usr/local/sr c/php-4.0.4/ext/mysql/libmysql -I/usr/local/src/php-4.0.4/ext/xml/expat/xmlt ok -I/usr/local/src/php-4.0.4/ext/xml/expat/xmlparse -I/usr/local/src/php-4. 0.4/TSRM -DUSE_HSREGEX -DUSE_EXPAT -DFD_SETSIZE=8192 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c gd.c: In function `_php_image_create_from_string': gd.c:523: `gdIOCtx' undeclared (first use this function) gd.c:523: (Each undeclared identifier is reported only once gd.c:523: for each function it appears in.) gd.c:523: `io_ctx' undeclared (first use this function) gd.c: In function `php_if_imagecreatefromjpeg': gd.c:716: `gdImageCreateFromJpeg' undeclared (first use this function) gd.c: In function `php_if_imagecreatefrompng': gd.c:729: `gdImageCreateFromPng' undeclared (first use this function) gd.c: In function `php_if_imagecreatefromwbmp': gd.c:772: `gdImageCreateFromWBMP' undeclared (first use this function) gd.c: In function `php_if_imagepng': gd.c:875: `gdImagePng' undeclared (first use this function) gd.c: In function `php_if_imagejpeg': gd.c:889: `gdImageJpeg' undeclared (first use this function) *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. --- My configure line is as follows : ./configure --with-imap --with-mysql --with-gettext --with-ftp --with-gd --w ith-zlib --with-jpeg-dir --with-ttf --enable-t1lib --enable-track-vars --wit h-apxs=/usr/local/apache/bin/apxs --enable-versioning Thanx for all answers that might lead to solve this frustrating problem Regards, Martin Koch

« previous php.install (#1395) next »