#21469 [Opn->Bgs]: mysql module compile problem

From: Date: Mon, 06 Jan 2003 19:25:49 +0000
Subject: #21469 [Opn->Bgs]: mysql module compile problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29230@lists.php.net to get a copy of this message
ID: 21469 Updated by: nicos@php.net Reported By: stevew@uis.net -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux - Redhat 8 PHP Version: 4.3.0 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2003-01-06 13:21:55] stevew@uis.net This has been going on for the last few version updates. I am having to compile with the inhouse mysql client stuff on one server but I am unable to do that because of the following error in the make process. ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam': /home/blahblah/temp/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of tempnam' is dangerous, better use mkstemp' My configure string is: ./configure --enable-force-cgi-redirect --enable-pic --with-bz2 --with-curl --with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext --with-png --with-pspell --with-jpeg-dir=/usr --with-kerberos=/usr/kerberos --with-xml --with-expat-dir=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --with-imap=shared --with-pgsql=shared --enable-bcmath --with-mysql --with-ftp --with-apxs=/apache/bin/apxs The last version I was able to compile without this error which I am still running because of this was: PHP Version 4.2.3 Any help on this would be appreciated. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21469&edit=1

« previous php.bugs (#29230) next »