Hi, I'm about to compile the 4.1.2 version found on php.net. I have the following configure command: ./configure --with-apache=../apache_1.3.23 --with-mysql --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir --with-freetype-dir --with-gd --enable-gd-native-ttf --with-tiff-dir --with-dom --with-mnogosearch --with-pdflib --with-ftp --enable-gd-imgstrttf --with-gettext
The configurepart runs fine. But when I get to the makepart i get the following when its doing something with gd: Making all in gd make[2]: Entering directory `/opt/install/php-4.1.2/ext/gd' make[3]: Entering directory `/opt/install/php-4.1.2/ext/gd' gcc -I. -I/opt/install/php-4.1.2/ext/gd -I/opt/install/php-4.1.2/main -I/opt/install/php-4.1.2 -I/opt/install/apache_1.3.23/src/include -I/opt/install/apache_1.3.23/src/os/unix -I/opt/install/php-4.1.2/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/mnogosearch/include -I/opt/install/php-4.1.2/ext/mysql/libmysql -I/opt/install/php-4.1.2/ext/xml/expat -I/opt/install/php-4.1.2/TSRM -g -O2 -c gd.c && touch gd.lo gd.c: In function `zm_startup_gd': gd.c:271: `gdArc' undeclared (first use in this function) gd.c:271: (Each undeclared identifier is reported only once gd.c:271: for each function it appears in.) gd.c:272: `gdPie' undeclared (first use in this function) gd.c:273: `gdChord' undeclared (first use in this function) gd.c:274: `gdNoFill' undeclared (first use in this function) gd.c:275: `gdEdged' undeclared (first use in this function) gd.c: In function `zif_imagecreatetruecolor': gd.c:556: warning: assignment makes pointer from integer without a cast gd.c: In function `zif_imagecolorat': gd.c:1594: structure has no member named `tpixels' make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/opt/install/php-4.1.2/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/install/php-4.1.2/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/install/php-4.1.2/ext' make: *** [all-recursive] Error 1 [root@localhost php-4.1.2]# The gdlib thats compiled is gd2.01 and is linked with freetype 2.0.5. It might be worth to mention, if I try the same configure command on php version 4.0.6 it "makes" fine. I compared /ext/gd from the 4.1.2 and 4.0.6 and seems to be some difference. Does anyone know a soloution to this? Feel free to contact me if you need more information to solve this. Best regards, Eric -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php