PHP 4.2.3 & libgd 2.0.9

From: Date: Tue, 11 Mar 2003 14:06:01 +0000
Subject: PHP 4.2.3 & libgd 2.0.9
Groups: php.install 
Request: Send a blank email to php-install+get-10326@lists.php.net to get a copy of this message
Hi, I'm trying to re-compile PHP to support libgd for images. But the compiling process always exits with an error (see below). libgb compiled without errors. Could anyone tell me how to fix this? Any help appreciated. /peter ---BEGIN libgd configuration--- ./configure --prefix=/usr --without-freetype ---END libgd configuration--- ---BEGIN PHP 4.2.3 configuration--- ./configure --prefix=/usr/share --datadir=/usr/share/php --bindir=/usr/bin --libdir=/usr/share --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --with-mysql=/usr --with-gd=/usr --with-tiff-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --without-ldap --with-zlib=yes --with-bz2 --without-gmp --without-xml --without-dom --without-ttf --without-t1lib --with-mcal=/usr --without-imap --without-sablot --with-readline --with-ftp --without-ndbm --without-gdbm --with-mcrypt --with-gettext --with-mm --with-gd --without-qtdom --enable-versioning --disable-yp --disable-bcmath --disable-trans-sid --enable-inline-optimization --enable-track-vars --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-shmop --enable-calendar --enable-mbstring --enable-mbstr-enc-trans --disable-exif --enable-ftp --enable-memory-limit --disable-wddx --disable-filepro --disable-dbase --enable-ctype --disable-debug --enable-force-cgi-redirect --enable-discard-path --enable-sigchild --with-openssl --without-curl --without-swf --without-imap-ssl --with-gd --with-apxs=/usr/sbin/apxs --without-pgsql --without-snmp --without-freetype ---END PHP 4.2.3 configuration--- ---BEGIN PHP 4.2.3 compilation error--- /bin/sh /usr/src/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/usr/src/php-4.2.3/ext/gd -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 -I/usr/include/apache -I/usr/src/php-4.2.3/Zend -I/usr/include/mcal -I/usr/include/mysql -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=22 -DMOD_SSL=208104 -DEAPI -DUSE_EXPAT -I/usr/src/php-4.2.3/TSRM -g -O2 -prefer-pic -c gd.c In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no member named `free' gd_ctx.c:98: structure has no member named `free' gd.c: In function `_php_image_type': gd.c:1014: structure has no member named `free' gd.c:1017: structure has no member named `free' gd.c: In function `_php_image_create_from': gd.c:1209: structure has no member named `free' make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/usr/src/php-4.2.3/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/php-4.2.3/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php-4.2.3/ext' make: *** [all-recursive] Error 1 ---END PHP 4.2.3 compilation error---

« previous php.install (#10326) next »