Can't Comfile apache 1.3.33 CentOS 4.1

Support for webhosts that use CentOS
Post Reply
linorise
Posts: 1
Joined: 2005/10/13 01:02:08
Contact:

Can't Comfile apache 1.3.33 CentOS 4.1

Post by linorise » 2005/10/13 01:12:12

Hi everyone.

CentOS 4.1 kernel 2.6.9-11.ELsmp, php4.3.10, apache1.3.33.


I can't comfile apache 1.3.33.

Configure option is ./configure --prefix=/usr/local/etc/httpd --enable-module=so --activate-module=src/modules/php4/libmodphp4.a

Error message is below.
==================================================
od_php4.c:931: warning: excess elements in scalar initializer
mod_php4.c:931: warning: (near initialization for `php4_module')
mod_php4.c:932: warning: excess elements in scalar initializer
mod_php4.c:932: warning: (near initialization for `php4_module')
mod_php4.c:933: warning: excess elements in scalar initializer
mod_php4.c:933: warning: (near initialization for `php4_module')
mod_php4.c:934: warning: excess elements in scalar initializer
mod_php4.c:934: warning: (near initialization for `php4_module')
mod_php4.c:935: warning: excess elements in scalar initializer
mod_php4.c:935: warning: (near initialization for `php4_module')
mod_php4.c:936: warning: excess elements in scalar initializer
mod_php4.c:936: warning: (near initialization for `php4_module')
mod_php4.c:937: warning: excess elements in scalar initializer
mod_php4.c:937: warning: (near initialization for `php4_module')
mod_php4.c:938: warning: excess elements in scalar initializer
mod_php4.c:938: warning: (near initialization for `php4_module')
mod_php4.c:939: warning: excess elements in scalar initializer
mod_php4.c:939: warning: (near initialization for `php4_module')
mod_php4.c:940: warning: excess elements in scalar initializer
mod_php4.c:940: warning: (near initialization for `php4_module')
mod_php4.c:941: warning: excess elements in scalar initializer
mod_php4.c:941: warning: (near initialization for `php4_module')
mod_php4.c:942: warning: excess elements in scalar initializer
mod_php4.c:942: warning: (near initialization for `php4_module')
mod_php4.c:956: warning: excess elements in scalar initializer
mod_php4.c:956: warning: (near initialization for `php4_module')
mod_php4.c:956: warning: data definition has no type or storage class
../../include/http_conf_globals.h:42: error: storage size of `ap_bind_address' isn't known
../../include/http_conf_globals.h:75: error: storage size of `ap_server_root' isn't known
../../include/http_conf_globals.h:76: error: storage size of `ap_server_confname' isn't known
../../include/http_conf_globals.h:86: error: storage size of `ap_coredump_dir' isn't known
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.33/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.33'
make: *** [build] Error 2
=======================================================================

I don't know what is problem.

Anyone slove this problem?

I forgive this work.

Post Reply

Return to “CentOS 4 - Webhosting Support”