Re: Bug #1054: No such file or directory(functions/mysql.h)
| From: | Matthias Eckermann | Date: | Tue, 12 Jan 1999 08:19:34 +0000 |
| Subject: | Re: Bug #1054: No such file or directory(functions/mysql.h) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3486@lists.php.net to get a copy of this message | ||
On Tue, 12 Jan 1999 yusri@tm.net.my wrote:
> From: yusri@tm.net.my
> Operating system: Red Hat Linux 5.1
> PHP version: 3.0.6
> PHP Bug Type: Compile Failure
> Bug description: No such file or directory (functions/mysql.h)
>
> There is no functions/mysql.h file in tar file.
>
> #./configure --with-mysql --with-apache=../apache_1.3.3 --enable-track-vars
> # make (successful)
> # make install
> gcc -g -O2 -O2 -I. -I. -I../apache_1.3.3/src/include -I../apache_1.3.3/src/os/unix
> -I/usr/local/include/mysql -c functions/mysql.c -o functions/mysql.o
>
> functions/mysql.c:84: mysql.h: No such file or directory
>
> make: *** [functions/mysql.o] Error 1
Well, the trick is, to say --with-mysql=<path-to-mysql>,
see "./configure --help"
--with-mysql[=DIR] Include MySQL support. DIR is the
MySQL base install directory, defaults to
/usr/local.
I think RH has mysql in /opt or /usr (without local) due to linux
directory standard.
ME
--
Matthias Eckermann, Königinstraße 83, D-80539 München
(Phone) +49-89-38899911 | errare
(E-Mail) Matthias.Eckermann@lrz.uni-muenchen.de | humanum
(WWW) http://www.lrz-muenchen.de/~eckerman/
| est
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net