From:             [EMAIL PROTECTED]
Operating system: Linux - Redhat 8
PHP version:      4.3.0
PHP Bug Type:     Compile Failure
Bug description:  mysql module compile problem

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 bug report at http://bugs.php.net/?id=21469&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21469&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21469&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21469&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21469&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21469&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21469&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21469&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21469&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21469&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21469&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21469&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21469&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21469&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21469&r=gnused

Reply via email to