#39939 [NEW]: Make with GD2 error
| From: | lendy dot chen at gmail dot com | Date: | Sun, 24 Dec 2006 06:54:32 +0000 |
| Subject: | #39939 [NEW]: Make with GD2 error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106829@lists.php.net to get a copy of this message | ||
From: lendy dot chen at gmail dot com
Operating system: Linux AS4.0U2
PHP version: 5.2.0
PHP Bug Type: GD related
Bug description: Make with GD2 error
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 bug report at http://bugs.php.net/?id=39939&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39939&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39939&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39939&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39939&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39939&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39939&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39939&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39939&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39939&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39939&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39939&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39939&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39939&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39939&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39939&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39939&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39939&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39939&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39939&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39939&r=mysqlcfg