What am I doing wrong?
| From: | Robert Staph | Date: | Wed, 02 May 2001 20:08:09 +0000 |
| Subject: | What am I doing wrong? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2983@lists.php.net to get a copy of this message | ||
While trying to install php 4.0.5 from source using:
./configure --with-mysql --with-apache=/usr/include/apache --enable-track-vars
No matter what path I give, I always get back (with the path I gave it as the error):
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... no
checking for Apache module support... no
configure: error: Invalid Apache directory - unable to find httpd.h under /usr/include/apache
But, the kicker is, I have the file, its right where I tell the script it is. Permissions look ok,
read for everyone(rwx for root) all the way to it. I'm running the ./configure as root. I am
on Redhat 7.0 with apache 1.3.12-25. I have the apache, apache-manual, apache-dev, and apache src
rpm's installed.
Tried adding the dir in my path, no luck. I can ls in /usr/include/apache and the file is right
there. I'm out of ideas.
I've tried to install php 4.0.1 and php 4.0.4 from rpm, that works. Try to install php-mysql
can't find mysql.. yet another oddity because mysql is there, otherwise ICRADIUS wouldn't
work... but thats another story that no one can help me solve.
[root@guardian /root]# rpm -i php-mysql-4.0.4pl1-9.i386.rpm
error: failed dependencies:
mysql is needed by php-mysql-4.0.4pl1-9
libmysqlclient.so.10 is needed by php-mysql-4.0.4pl1-9
[root@guardian /root]# rpm -qa | grep MySQL
MySQL-devel-3.23.36-1
MySQL-client-3.23.36-1
MySQL-3.23.36-1
All of the above work great if I add the packages to an initial install, but I don't have that
option at this time.
Robert Staph, W3RCS
The Center for Advanced Technologies