#21290 [Com]: compile failes due to use of 'tempnam' instead of 'mkstemp'
| From: | jullrich at euclidian dot com | Date: | Mon, 30 Dec 2002 14:28:12 +0000 |
| Subject: | #21290 [Com]: compile failes due to use of 'tempnam' instead of 'mkstemp' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28754@lists.php.net to get a copy of this message | ||
ID: 21290
Comment by: jullrich@euclidian.com
Reported By: jullrich@euclidian.com
Status: Bogus
Bug Type: Compile Failure
Operating System: Linux 2.4.18 (Redhat 7.3)
PHP Version: 4.3.0
New Comment:
thanks! (didn't find the earlier submission .. I did check :-( ).
Previous Comments:
------------------------------------------------------------------------
[2002-12-30 07:57:50] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
This is NOT and error and just a warning, it's simply the last line in
the "make" stage so it _seems_ it aborts.
Derick
------------------------------------------------------------------------
[2002-12-30 07:56:32] jullrich@euclidian.com
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 this bug report at http://bugs.php.net/?id=21290&edit=1