Click to See Complete Forum and Search --> : Ahh more problems! MySQL header FIles?, where are they?


DJKAOS
11-23-2001, 09:21 PM
I'm going crazy I have been trying to install this stuff for 3 days.

First I installed MySQL rpm (a few weeks ago.) and it works fine, I have some databases and everything is cool.

Now i'm trying to install PHP and apache
I had all sorts of problems but my lates problem is this, when configuring PHP it can't find the MySQL header files...and I cant find them either where the heck are they? all the tutorials say they are in /usr/local/mysql but not mine...

I installed mysql from an RPM does that matter? Linux Mandrake 8.1


./configure --with-apache=../apache_1.3.22 --with-mysql=/??????/ --enable-track-vars

I need this stuff working soon I have a final project to do for school

dcmc
11-24-2001, 05:06 PM
Check that you also installed the package "mysql-develop", which should include all the necessary header files.

DJKAOS
11-24-2001, 06:48 PM
Thanks I installed the dev.. package..
so now my headers are in
/usr/include/mysql

but when I run PHP ./configure
it can't find them.
so my PHP and Apache stuff is extracted to
/root/temp/php-4.0.6 and
/root/temp/apache_1.3.22

so when I run ./conifigure --with-apache=/temp/apache_1.3.22
--with-mysql=/usr/include/mysql
--enable-track-vars

it can't find Apache stuff or mysql... I can get it to find apache by changing the path to
--with-apache=../apache_1.3.22

but I can't ever get it to find mysql stuff, how can I do it? and why wont it take my paths, they are clearly correct.