compile problems with mysql - php4.3.1
| From: | Willie Klein | Date: | Fri, 28 Mar 2003 19:20:48 +0000 |
| Subject: | compile problems with mysql - php4.3.1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10450@lists.php.net to get a copy of this message | ||
Hi All;
This is driving me crazy. I've been seaching the various newsgroups and
forums for days and have found similar problems but no answers.
I have been trying to install php 4.3.1 I am using Redhat 8 Apache 2.x with
MySQL4.0.12. I have gotten the same error with Redhatt 7.3 apache 1.3.x and
MySQL 3.23.56. I configure ./configure --with
apxs2 --with-mysql --enable-track-vars The configure runs and make errors
out with:
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
tempnams dangerous, better use mkstemp'
php4.2.x will compile
So I try to tell it where mysql is and I'm not sure what it wants.
/var/lib/mysql is where the data is, the mysqld is in /usr/sbin and the
header
file mysql.h is in /usr/include/mysql, the mysql client is in /usr/bin I've
givin it all those directorys and configure still tells me it can't find the
headers.
So if someone could give me a hint about this I would appreciate it.
Again this all worked fine with php4.2.x