Bug #14610: configure script looks in the wrong place for httpd.h
| From: | aaron at bigmouse dot net | Date: | Wed, 19 Dec 2001 23:20:20 +0000 |
| Subject: | Bug #14610: configure script looks in the wrong place for httpd.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74464@lists.php.net to get a copy of this message | ||
From: aaron@bigmouse.net
Operating system: Linux
PHP version: 4.1.0
PHP Bug Type: Apache2 related
Bug description: configure script looks in the wrong place for httpd.h
I'm trying to configure php 4.1.0 on my server running turbolinux 6.0 with
Apache 2.0.28
By default Apache 2.0.x installs to /usr/local/apache2
php 4.1.0 configure --with-apache defaults to /usr/include/apache
no biggy, I do configure --with-apache=/usr/local/apache2
but it still can't find httpd.h
I have a look at configure and it's looking for httpd.h like this
# For Apache 2.0.x
elif test -f $withval/src/include/httpd.h &&
Which doesn't exist because httpd.h is in /usr/local/apache2/include/
I know perl pretty good, but I don't have a lot of experience with regular
old shell scripting.
I've done a little hacking of the configure script to correct this, but
it's still not working right as I've most likely missed something of did
something wrong in my hacking.
--
Edit bug report at: http://bugs.php.net/?id=14610&edit=1