*sigh*, I'd like to compile php --with-gd. Ive read about make errors due to multiple/conflicting GD installs, This is not the issue here.
I have PHP-4.2.1 installed and working fine it was compiled with --enable-track-vars --with-apache=/path/apache-xx.xx.xx
Before anything I checked to see if I had any gd components on my system
none I checked and already had jpeg6 freetype2 libpng zlib. libpng was a bit outdated so I removed it and installed the newest version.
the gd-2.0.4 make install looked fine from what I could tell it found all the libs.
Im trying to configure php --with-gd --with-freetype-dir=/usr/X11/freetype2/ --enable-gd-native-ttf --enable-gd-imgsttf --with-png-dir=/usr/local --with-zlib --with-xpm-dir=/usr/local --with-jpeg-dir=/usr/local --with-mysql=/usr/local/mysql --with-apache=/usr/local/src/apache_1.3.23/ --with-pear --with-ssl=/usr/local/ssl/bin/openssl --enable-track-vars

Im faced with this chilling error
gcc -I. -I/usr/local/src/php-4.2.3/ext/gd -I/usr/local/src/php-4.2.3/main -I/usr/local/src/php-4.2.3 -I/usr/local/src/apache_1.3.23//src/include -I/usr/local/src/apache_1.3.23//src/os/unix -I/usr/local/src/php-4.2.3/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/include -I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.2.3/ext/xml/expat -I/usr/local/src/php-4.2.3/TSRM -g -O2 -c gd.c && touch gd.lo
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/local/src/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.3/ext'
make: *** [all-recursive] Error 1

This is my ld.so.conf
/usr/local/lib
/usr/lib
/usr/X11R6/lib
/usr/i386-slackware-linux/lib
/opt/gnome/lib
/usr/openwin/lib
/usr/local/ssl/lib
/usr/local/mysql/lib
/usr/local/mm-1.1.3/lib
/opt/kde/lib
/usr/lib/qt-3.0.3/lib

Can someone please help, this had hindered my learning by 3 days and Im going crazy seeing this error that is not documented anywhere I can find.


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to