did you compile your gd 2.01 with freetype support? Without recompiling your gd I don't think it will work...
greetings Jens -----Ursprungliche Nachricht----- Von: Bryan Koschmann - GKT [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 2. Oktober 2002 20:47 An: PHP Install List Betreff: [PHP-INST] cant re-compile php with newer gd and png Hello, I've had php 4.2.3 running just fine, and now I am trying to reconfigure it to att freetype png and gd support. My configure command looks like this: ./configure --with-mysql=/usr/local/mysql --enable-force-cgi-redirect --with-gettext --with-snmp=/usr/local/include/ucd-snmp --enable-ucd-snmp-hack --with-gd --enable-gd-native-ttf --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/include --with-freetype-dir=/usr/local/include/freetype2 --with-ttf -with-curl --with-apxs2=/usr/local/apache2/bin/apxs and finished fine without errors. Now, when running make, I get this: gd.c: In function `zm_startup_gd': gd.c:303: `gdArc' undeclared (first use in this function) gd.c:303: (Each undeclared identifier is reported only once gd.c:303: for each function it appears in.) gd.c:304: `gdPie' undeclared (first use in this function) gd.c:305: `gdChord' undeclared (first use in this function) gd.c:306: `gdNoFill' undeclared (first use in this function) gd.c:307: `gdEdged' undeclared (first use in this function) gd.c: In function `zif_imagecreatetruecolor': gd.c:588: warning: assignment makes pointer from integer without a cast gd.c: In function `zif_imagecolorat': gd.c:1627: structure has no member named `tpixels' gd.c: In function `php_imagettftext_common': gd.c:2809: warning: passing arg 2 of `virtual_filepath' from incompatible pointer type make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext' make: *** [all-recursive] Error 1 Can someone give me any ideas? This is: php 4.2.3 gd 2.0.1 freetype 2 Thanks! Bryan -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php