Re: Installation on RH6.2: help!
| From: | David Robley | Date: | Wed, 07 Mar 2001 07:34:32 +0000 |
| Subject: | Re: Installation on RH6.2: help! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42863@lists.php.net to get a copy of this message | ||
On Wed, 7 Mar 2001 17:54, Les Neste wrote:
> Hi all,
>
> I'm in the process of my first installation of PHP and running into a
> problem. Any experts, feel free to chime in with your knowledge.
>
> After I unzip it, I run the configure script. Here's the command line
> I use and the error I get:
>
> ./configure --with-mysql=/var/lib/mysql --with-apxs
> ... lots of output ...
> Checking for MySQL support: yes
> configure: error: Cannot find header files under /var/lib/mysql
>
> I've tried lots of different directories, none of which seem to work.
> Which header files is it looking for?
>
> BTW, I'm attempting to install php 4.0.4 pl1, as an apache module
> (rather than statically linked with apache). I've already installed
> MySQL 3.22 and it appears to have been successfully installed.
>
> Any help much appreciated.
>
> .......................................................................
>..... Les Neste 678-778-0382 http://www.lesneste.com
IANARH expert but: it'll be looking for /var/lib/mysql/include/*.h and I
belive that if you have installed mysql from an rpm that you don't get
that stuff by default - there is another RPM with mysql source and
library stuff in it.
If you don't need any other mysql related stuff you could try using the
php builtin mysql support by using just --with-mysql and not specifying a
path.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA