Re: Error compiling PHP...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jan van der Merwe schrieb:
Hi Guys,

I'm compiling PHP 4.3.2 on Fedora Core 4 with Apache Apache/2.0.54. Here is
my configure command: ./configure --with-mysql --with-apxs2

Can someone find something in my "make" log entry that would explain what is going wrong? It seems to me that perhaps the old version of PHP 4.3.2 cannot
build under Apache 2.0.54

Thanks!

# make
/bin/sh /opt/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile
gcc -Isapi/apache2handler/ -I/opt/php-4.3.2/sapi/apache2handler/
-DPHP_ATOM_INC -I/opt/php-4.3.2/include -I/opt/php-4.3.2/main
-I/opt/php-4.3.2 -I/usr/include/httpd -I/opt/php-4.3.2/Zend
-I/opt/php-4.3.2/ext/xml/expat -I/opt/php-4.3.2/TSRM -g -O2 -prefer-pic
-c /opt/php-4.3.2/sapi/apache2handler/sapi_apache2.c -o
sapi/apache2handler/sapi_apache2.lo
/opt/php-4.3.2/sapi/apache2handler/sapi_apache2.c:38:25: error:
apr_strings.h: No such file or directory
In file included from /opt/php-4.3.2/sapi/apache2handler/sapi_apache2.c:39:
/usr/include/httpd/ap_config.h:20:17: error: apr.h: No such file or
directory
/usr/include/httpd/ap_config.h:21:23: error: apr_hooks.h: No such file or
directory
/usr/include/httpd/ap_config.h:22:32: error: apr_optional_hooks.h: No such
file or directory
In file included from /opt/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/util_filter.h:21:25: error: apr_buckets.h: No such file
or directory
In file included from /usr/include/httpd/util_filter.h:23,
from /opt/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/include/httpd/httpd.h:35:25: error: apr_general.h: No such file or
directory
/usr/include/httpd/httpd.h:36:24: error: apr_tables.h: No such file or
directory
/usr/include/httpd/httpd.h:37:23: error: apr_pools.h: No such file or
directory
/usr/include/httpd/httpd.h:38:22: error: apr_time.h: No such file or
directory
/usr/include/httpd/httpd.h:39:28: error: apr_network_io.h: No such file or
directory
[snip]

Look for apr_strings.h, apr.h and the other include files which aren't found.

  Hendrik

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux