From:             gillb4 at telusplanet dot net
Operating system: Deb/Linux 2.6.13-git8
PHP version:      5.1.0RC1
PHP Bug Type:     Compile Failure
Bug description:  Compile fails on httpd.h not found

Description:
------------
Build of PHP5.1.0RC1 fails with:
In file included from
/home/bob/website/php/php-5.1.0RC1/sapi/apache2handler/mod_php5.c:26:
/home/bob/website/php/php-5.1.0RC1/sapi/apache2handler/php_apache.h:24:20:
httpd.h: No such file or directory
/home/bob/website/php/php-5.1.0RC1/sapi/apache2handler/php_apache.h:25:25:
http_config.h: No such file or directory
/home/bob/website/php/php-5.1.0RC1/sapi/apache2handler/php_apache.h:26:25:
http_core.h: No such file or directory

My configure script was(is):
./configure --prefix=`pwd` --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-xmlrpc

I realise that httpd.h is depreciated in php5.1.0RC1, and was probably
removed for that reason, but when I comment out the 3 #defines in
php-5.1.0RC1/sapi/apache2handler/php_apache.h:
/* #include "httpd.h"
  #include "http_config.h"
  #include "http_core.h"
*/
I get nasty heck messages about data types not being defined from the code
later in this header file.  
...it's just a cleanup issue, but (it's still broken in any event).
Please mail me back if you need more info. or testing.

Expected result:
----------------
Completed!


-- 
Edit bug report at http://bugs.php.net/?id=34444&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34444&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34444&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34444&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34444&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34444&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34444&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34444&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34444&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34444&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34444&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34444&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34444&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34444&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34444&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34444&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34444&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34444&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34444&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34444&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34444&r=mysqlcfg

Reply via email to