From: [EMAIL PROTECTED] Operating system: Linux 2.4.18 (Redhat 7.3) PHP version: 4.3.0 PHP Bug Type: Compile Failure Bug description: compile failes due to use of 'tempnam' instead of 'mkstemp'
The compile is aborted with the following error message: ----- /usr/local/src/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' ----- to reproduce: make clean './configure' \ '--sysconfdir=/etc/php' \ '--with-openssl' \ '--with-curl=../curl-7.10.2' \ '--with-mysql' \ '--with-gd--with-ttf=../freetype-1.3.1--enable-trans-sid' \ '--enable-sockets' \ '--enable-wddx' \ '--enable-memory-limit' \ '--with-jpeg-dir' \ '--with-xmlrpc' \ '--with-apxs=/usr/local/apache/bin/apxs' \ make -- Edit bug report at http://bugs.php.net/?id=21290&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21290&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21290&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21290&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21290&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21290&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21290&r=support Expected behavior: http://bugs.php.net/fix.php?id=21290&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21290&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21290&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21290&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21290&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21290&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21290&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21290&r=gnused