On Wed, 2002-11-06 at 00:29, Gareth Thomas wrote: > Ok I am fairly desperate to solve this problem (this is my 3rd posting). I > have clean installed RH 7.2 (on a Dell Optiplex), I did NOT install PHP from > the RH disks but did install Apache. I then downloaded 4.3.0pre2 and ran the > following configure: > > ./configure --with-apxs --with-mysql --enable-sockets > > That seems to work fine. However then a 'make' produces the same error as > before: > > path/my_tempnam.c:103 the use of 'tempnam' is dangerous, better use > 'mkstemp' > > This is consistently reproduceable (sp?), any help would be really, really > appreciated. > My suggestion is to get the source files from mysql then point your mysql flags ,as in --with-mysql=[DIR], to the mysql installation directory. You are depending upon the "built in" mysql in PHP which in the ext/mysql/libmysql you find my_tempnam.c which on line 103 has the function tempnam().
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php