installing 4.3.0 error
| From: | Junu | Date: | Sat, 01 Mar 2003 06:34:08 +0000 |
| Subject: | installing 4.3.0 error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10240@lists.php.net to get a copy of this message | ||
My current PHP version is 4.0.6 (Build. Sep 10 2001). I want to uprade to
4.3.0 but.. everytime I execute 'make' an error occurs while compiling the
mysql library.
here it is:
MY CONFIGURATION:
[root@mouseclick php.4.3.0]# './configure' '--disable-static' '--disable-
debug' '--disable-rpath' '
--enable-inline-optimization' '--prefix=/usr' '--with-zlib'
'--with-config-
file-path=/etc' '--enab
le-magic-quotes' '--enable-debugger' '--enable-track-vars'
'--enable-safe-
mode' '--with-exec-dir=/
usr/bin' '--with-regex=system' '--with-versioning'
'--with-mod_charset' '--
enable-force-cgi-redire
ct' '--enable-trans-sid' '--enable-ftp' '--with-xml'
'--with-gettext' '--
with-gd'
Here's the error:
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lintl -lpng -lz -lz -lcrypt -lresolv -lm -
ldl -lnsl -lcrypt -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/www/download/php.4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of
tempnam' is dangerous, better use mkstemp'
[root@catcfserv php.4.3.0]#
tempname is dangerous.. better use mkstemp...?/???
Solution, anyone....?
thank you.
jun