ID: 39939 Updated by: [EMAIL PROTECTED] Reported By: lendy dot chen at gmail dot com -Status: Feedback +Status: Bogus Bug Type: GD related Operating System: Linux AS4.0U2 PHP Version: 5.2.0 Assigned To: pajoye New Comment:
Duplicate of 39940. Previous Comments: ------------------------------------------------------------------------ [2006-12-24 12:37:53] [EMAIL PROTECTED] The errors do not look like a ext/gd errors. What do you have in /usr/local/gd2? Why don't you use simply "--with-gd" which uses the bundled library (strongly recommended). ------------------------------------------------------------------------ [2006-12-24 06:54:32] lendy dot chen at gmail dot com Description: ------------ use same configure in php5.1.6 is success,but in php5.2.1,make error. ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl-dir=/usr/local/ssl --with-jpeg-dir=/usr/local/modules/jpeg6 --with-png --with-freetype-dir=/usr/local/modules/freetype --with-gd=/usr/local/gd2 --enable-trace-vars --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-sqlite-utf8 --enable-pdo --with-libxml-dir=/usr/local/libxml2 --enable-dba --with-zlib --enable-mbstring --with-iconv --enable-memory-limit --enable-sockets --enable-force-cgi-redirect --disable-debug --with-config-file-path=/etc --enable-fastcgi --enable-zip --enable-apc --enable-apc-mmap --enable-apc-sem ok make make error info: ext/apc/.libs/apc_fcntl.o(.text+0x51): In function `apc_fcntl_create': /usr/src/php-5.2.0/ext/apc/apc_fcntl.c:41: warning: the use of `mktemp' is dangerous, better use `mkstemp' ext/xmlreader/.libs/php_xmlreader.o(.text+0x1256): In function `zim_xmlreader_setSchema': /usr/src/php-5.2.0/ext/xmlreader/php_xmlreader.c:983: undefined reference to `xmlTextReaderSchemaValidate' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 not with --with-gd=/usr/local/gd2 is make success. Reproduce code: --------------- use same configure in php5.1.6 is success,but in php5.2.1,make error. ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl-dir=/usr/local/ssl --with-jpeg-dir=/usr/local/modules/jpeg6 --with-png --with-freetype-dir=/usr/local/modules/freetype --with-gd=/usr/local/gd2 --enable-trace-vars --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-sqlite-utf8 --enable-pdo --with-libxml-dir=/usr/local/libxml2 --enable-dba --with-zlib --enable-mbstring --with-iconv --enable-memory-limit --enable-sockets --enable-force-cgi-redirect --disable-debug --with-config-file-path=/etc --enable-fastcgi --enable-zip --enable-apc --enable-apc-mmap --enable-apc-sem ok make make error info: ext/apc/.libs/apc_fcntl.o(.text+0x51): In function `apc_fcntl_create': /usr/src/php-5.2.0/ext/apc/apc_fcntl.c:41: warning: the use of `mktemp' is dangerous, better use `mkstemp' ext/xmlreader/.libs/php_xmlreader.o(.text+0x1256): In function `zim_xmlreader_setSchema': /usr/src/php-5.2.0/ext/xmlreader/php_xmlreader.c:983: undefined reference to `xmlTextReaderSchemaValidate' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 not with --with-gd=/usr/local/gd2 is make success. Expected result: ---------------- use same configure in php5.1.6 is success,but in php5.2.1,make error. ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl-dir=/usr/local/ssl --with-jpeg-dir=/usr/local/modules/jpeg6 --with-png --with-freetype-dir=/usr/local/modules/freetype --with-gd=/usr/local/gd2 --enable-trace-vars --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-sqlite-utf8 --enable-pdo --with-libxml-dir=/usr/local/libxml2 --enable-dba --with-zlib --enable-mbstring --with-iconv --enable-memory-limit --enable-sockets --enable-force-cgi-redirect --disable-debug --with-config-file-path=/etc --enable-fastcgi --enable-zip --enable-apc --enable-apc-mmap --enable-apc-sem ok make make error info: ext/apc/.libs/apc_fcntl.o(.text+0x51): In function `apc_fcntl_create': /usr/src/php-5.2.0/ext/apc/apc_fcntl.c:41: warning: the use of `mktemp' is dangerous, better use `mkstemp' ext/xmlreader/.libs/php_xmlreader.o(.text+0x1256): In function `zim_xmlreader_setSchema': /usr/src/php-5.2.0/ext/xmlreader/php_xmlreader.c:983: undefined reference to `xmlTextReaderSchemaValidate' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 not with --with-gd=/usr/local/gd2 is make success. Actual result: -------------- use same configure in php5.1.6 is success,but in php5.2.1,make error. ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl-dir=/usr/local/ssl --with-jpeg-dir=/usr/local/modules/jpeg6 --with-png --with-freetype-dir=/usr/local/modules/freetype --with-gd=/usr/local/gd2 --enable-trace-vars --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-sqlite-utf8 --enable-pdo --with-libxml-dir=/usr/local/libxml2 --enable-dba --with-zlib --enable-mbstring --with-iconv --enable-memory-limit --enable-sockets --enable-force-cgi-redirect --disable-debug --with-config-file-path=/etc --enable-fastcgi --enable-zip --enable-apc --enable-apc-mmap --enable-apc-sem ok make make error info: ext/apc/.libs/apc_fcntl.o(.text+0x51): In function `apc_fcntl_create': /usr/src/php-5.2.0/ext/apc/apc_fcntl.c:41: warning: the use of `mktemp' is dangerous, better use `mkstemp' ext/xmlreader/.libs/php_xmlreader.o(.text+0x1256): In function `zim_xmlreader_setSchema': /usr/src/php-5.2.0/ext/xmlreader/php_xmlreader.c:983: undefined reference to `xmlTextReaderSchemaValidate' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 not with --with-gd=/usr/local/gd2 is make success. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39939&edit=1