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:

[EMAIL PROTECTED] 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'
[EMAIL PROTECTED] php.4.3.0]#



tempname is dangerous.. better use mkstemp...?/???

Solution, anyone....?


thank you.

jun

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to