Re: compiling GD + php4.03pl1

From: Date: Mon, 20 Nov 2000 21:30:25 +0000
Subject: Re: compiling GD + php4.03pl1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26329@lists.php.net to get a copy of this message
Your GD header files do not match your installed GD library. Get rid of any and all GD-related file on your system and install it again. -Rasmus On Mon, 20 Nov 2000 hennink@patrijs.dhs.org wrote: > Hi, > > Im trying to compile buildin support for GD within PHP but I get the following error. > > Making all in gd > make[2]: Entering directory `/home/syshen/builds/php-4.0.3pl1/ext/gd' > make[3]: Entering directory `/home/syshen/builds/php-4.0.3pl1/ext/gd' > /bin/sh /home/syshen/builds/php-4.0.3pl1/libtool --silent --mode=compile gcc -I. > -I/home/syshen/builds/php-4.0.3pl1/ext/gd -I/home/syshen/builds/php-4.0.3pl1 > -I/home/syshen/builds/php-4.0.3pl1/main -I/usr/include/apache > -I/home/syshen/builds/php-4.0.3pl1/Zend -I/home/syshen/builds/php-4.0.3pl1 > -I/home/syshen/builds/php-4.0.3pl1/ext/mysql/libmysql > -I/home/syshen/builds/php-4.0.3pl1/ext/xml/expat/xmltok > -I/home/syshen/builds/php-4.0.3pl1/ext/xml/expat/xmlparse -I/home/syshen/builds/php-4.0.3pl1/TSRM > -DEAPI -DXML_BYTE_ORDER=12 -g -O2 -c gd.c > gd.c: In function `php_if_imagecreatefromgif': > gd.c:552: `gdImageCreateFromGif' undeclared (first use in this function) > gd.c:552: (Each undeclared identifier is reported only once > gd.c:552: for each function it appears in.) > gd.c: In function `php_if_imagegif': > gd.c:709: `gdImageGif' undeclared (first use in this function) > make[3]: *** [gd.lo] Error 1 > make[3]: Leaving directory `/home/syshen/builds/php-4.0.3pl1/ext/gd' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/syshen/builds/php-4.0.3pl1/ext/gd' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/syshen/builds/php-4.0.3pl1/ext' > make: *** [all-recursive] Error 1 > > This is my config. > > ./configure --with-mysql --with-apxs=/usr/sbin/apxs --enable-track-vars --disable-debug > --enable-trans-id --with-config-file-path=/etc --enable-gpc_globals --enable-ftp --with-gd > --with-jpeg-dir > > with regards, > > Tijmen > > -- > Customer: I'm running Windows '98 > Tech: Yes. > Customer: My computer isn't working now. > Tech: Yes, you said that. > > >

« previous php.general (#26329) next »