PHP 4.0.6RC1 on MacOSX
| From: | Thierry Coopman | Date: | Wed, 16 May 2001 12:32:24 +0000 |
| Subject: | PHP 4.0.6RC1 on MacOSX | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3274@lists.php.net to get a copy of this message | ||
Works like a charm, I will test the gd extention later this week
./configure --with-gd=/usr/local --with-mysql=/usr/local --with-freetype-dir=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-xml --with-ftp
gd.c: In function `php_minit_gd':
gd.c:292: `gdPie' undeclared (first use in this function)
gd.c:292: (Each undeclared identifier is reported only once
gd.c:292: for each function it appears in.)
gd.c:293: `gdChord' undeclared (first use in this function)
gd.c:294: `gdNoFill' undeclared (first use in this function)
gd.c:295: `gdEdged' undeclared (first use in this function)
gd.c: In function `php_if_imagecreatetruecolor':
gd.c:573: warning: assignment makes pointer from integer without a cast
make[3]: *** [gd.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
after removing the following lines in gd.c:
/* for imagefilledarc */
REGISTER_LONG_CONSTANT("IMG_ARC_PIE", gdPie, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("IMG_ARC_CHORD", gdChord, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("IMG_ARC_NOFILL", gdNoFill, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("IMG_ARC_EDGED", gdEdged, CONST_CS | CONST_PERSISTENT);
the folowing warning stayed:
gd.c: In function `php_if_imagecreatetruecolor':
gd.c:575: warning: assignment makes pointer from integer without a cast
Test results:
File type functions (001.phpt) ... failed DB_Error/DB_Warning test (db_error.phpt) ... failed DB configurable error handler test (db_error2.phpt) ... failed PEAR_Error test (pear_error.phpt) ... failed OO Bug Test (Bug #7515) (029.phpt) ... failedTEST RESULT SUMMARY ============================= Number of tests: 170
Tests skipped: 69 ( 41%) Tests failed: 5 (5.0%) Tests passed: 96 ( 95%)============================= Skipped 0 extensions. PHP Version: 4.0.6RC1 -- Thierry Coopman - thierry@keytrade.com My opinions are personal, and have really nothing or nothing to do with Keytrade! #RandomTag