Bug #18198 Updated: RH73 compile error with mysql 4.0

From: Date: Sat, 06 Jul 2002 12:00:40 +0000
Subject: Bug #18198 Updated: RH73 compile error with mysql 4.0
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13305@lists.php.net to get a copy of this message
ID: 18198 Updated by: sander@php.net Reported By: patrick@musehub.com -Status: Open +Status: Bogus -Bug Type: Compile Failure +Bug Type: Compile Warning Operating System: rh73 w/mysql 4.0 PHP Version: 4CVS-2002-07-06 New Comment: In this case, tempnam is used in a safe way. Don't bother. Previous Comments: ------------------------------------------------------------------------ [2002-07-06 07:39:31] patrick@musehub.com I try to compile the cvs of both php 4.3 and apache 2.0.40, For the following compile line for php4.3dev alp2 ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf --enable-versioning \ --with-mysql --enable-ftp --enable-bcmath --disable-debug \ --enable-memory-limit=yes --enable-track-vars --enable-save-mode \ --enable-magic-quotes --with-gettext=/usr/bin \ --with-xml --with-imap=/usr/local/imap \ --with-curl=/usr --enable-mbstring --enable-mbstr-enc-trans \ --with-jpeg-dir=/usr --with-png-dir=/usr \ --with-zlib-dir=/usr --with-t1lib=/usr/local \ --with-gd=/usr --with-zlib --enable-gd-imgstrttf \ --enable-gd-native-ttf --with-freetype-dir=/usr \ --with-pdflib=/usr/local --with-openssl=/usr/local/openssl \ --enable-trans-sid --with-cpdflib --with-pgsql --with-ming=/usr \ --with-bz2 --enable-calendar \ --with-pspell --with-qtdom --enable-tokenizer \ error message: ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam': /root/code/php4-200207060300/ext/mysql/libmysql/my_tempnam.c:103: the use of tempnam' is dangerous, better use mkstemp' It seems that for apache 2.0.39 also reports the same error message. Best Regards Patrick Tsang ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18198&edit=1

« previous php.bugs (#13305) next »