On a freebsd 4.2 system, php 4.0.5 / gd 1.8x were running happily.

Downloaded and compiled gd 2.0.1 no problems.
Downloaded and compiled php 4.0.6 with:

./configure --with-mysql --with-apxs --with-gd=/usr/local 
--with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --enable-gd-imgstrttf 
--with-png-dir=/usr/local

configure works fine, but when i 'make' this is displayed:

...
<snip>
...
Making all in gd
/bin/sh /usr/src/php-4.0.6/libtool --silent --mode=compile gcc  -I. 
-I/usr/src/php-4.0.6/ext/gd -I/usr/src/php-4.0.6/main -I/usr/src/php-4.0.6 
-I/usr/local/include/apache -I/usr/src/php-4.0.6/Zend -I/usr/local/include 
-I/usr/src/php-4.0.6/ext/mysql/libmysql 
-I/usr/src/php-4.0.6/ext/xml/expat/xmltok 
-I/usr/src/php-4.0.6/ext/xml/expat/xmlparse 
-I/usr/src/php-4.0.6/TSRM  -DHARD_SERVER_LIMIT=512 
-DDOCUMENT_LOCATION="/usr/local/www/data/" 
-DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin" -DUSE_EXPAT -DSUPPORT_UTF8 
-DXML_BYTE_ORDER=12 -g -O2  -c gd.c
gd.c: In function `php_minit_gd':
gd.c:296: `gdPie' undeclared (first use in this function)
gd.c:296: (Each undeclared identifier is reported only once
gd.c:296: for each function it appears in.)
gd.c:297: `gdChord' undeclared (first use in this function)
gd.c:298: `gdNoFill' undeclared (first use in this function)
gd.c:299: `gdEdged' undeclared (first use in this function)
gd.c: In function `php_if_imagecreatetruecolor':
gd.c:577: warning: assignment makes pointer from integer without a cast
*** Error code 1

Stop in /usr/src/php-4.0.6/ext/gd.
*** Error code 1

Stop in /usr/src/php-4.0.6/ext/gd.
*** Error code 1

Stop in /usr/src/php-4.0.6/ext.
*** Error code 1

Stop in /usr/src/php-4.0.6.

=====

Anyone have any ideas ??

Paul


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to