Re: compile problems with mysql - php4.3.1
| From: | Willie Klein | Date: | Fri, 28 Mar 2003 21:47:32 +0000 |
| Subject: | Re: compile problems with mysql - php4.3.1 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10451@lists.php.net to get a copy of this message | ||
Well yet more researching and I've found various threads at bugs.php.net
All claim this is not a php bug. I don't pretend to know. (Although it does
work with older versions of php). Anyway the gist of the threads there say
the compiler shouldn't stop on this warning, but it does. My gcc version is
3.2-7 . The Redhat 8 machine. There are some cryptic references to libtool
in some of the threads but I've looked at that and I don't understand how to
use it or how it would help. There must be an answer to this but I can't
figure it out.
Any help greatly apreciated.
"Willie Klein" <willieNOSPAM@pdfsystems.com> wrote in message
news:20030328192048.53032.qmail@pb1.pair.com...
> 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
>
>
>
>
>