Bug #18198: RH73 compile error with mysql 4.0
| From: | patrick at musehub dot com | Date: | Sat, 06 Jul 2002 11:39:32 +0000 |
| Subject: | Bug #18198: RH73 compile error with mysql 4.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-13302@lists.php.net to get a copy of this message | ||
From: patrick@musehub.com
Operating system: rh73 w/mysql 4.0
PHP version: 4CVS-2002-07-06
PHP Bug Type: Compile Failure
Bug description: RH73 compile error with mysql 4.0
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 bug report at http://bugs.php.net/?id=18198&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18198&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18198&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18198&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18198&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18198&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18198&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18198&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18198&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18198&r=globals