Я нашел в чем ошибка, но не могу понять как её исправить!!!
Apache-1.3.31
php-4.3.7
cd ../apache-1.3.31
./configure
cd ../php-4.3.7
./configure --with-apache=/usr/local/src/apache_1.3.31 \
--with-gd=/usr/local \
--with-ttf=yes \
--with-gettext \
--with-zlib=/usr
make
make install
все собралось и инсталировалось без ошибок.
cd ../apache-1.3.31
./configure --activate-module=src/modules/php4/libphp4.a
без ошибок
make
почти в каждой строке
сообщения вида
mod_php4.c:399: `SUCCESS' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:405: syntax error before "apache_sapi_module"
mod_php4.c:406: warning: initialization makes integer from pointer without a cast
...............................
mod_php4.c:407: warning: excess elements in scalar initializer
mod_php4.c:407: warning: (near initialization for `apache_sapi_module')
mod_php4.c:409: warning: excess elements in scalar initializer
mod_php4.c:409: warning: (near initialization for `apache_sapi_module')
mod_php4.c:410: `php_module_shutdown_wrapper' undeclared here (not in a function)
...............................
mod_php4.c:471: request for member `path_translated' in something not a structure or union
mod_php4.c:472: request for member `request_uri' in something not a structure or union
mod_php4.c:473: request for member `request_method' in something not a structure or union
mod_php4.c:474: request for member `content_type' in something not a structure or union
...............................
и наконец
mod_php4.c:545: `ZEND_HANDLE_FILENAME' undeclared (first use in this function)
mod_php4.c:551: `ZEND_INCLUDE' undeclared (first use in this function)
mod_php4.c:551: syntax error before "TSRMLS_CC"
mod_php4.c:552: `OK' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:555: syntax error before '{' token
../../include/http_conf_globals.h:42: storage size of `ap_bind_address' isn't known
../../include/http_conf_globals.h:75: storage size of `ap_server_root' isn't known
../../include/http_conf_globals.h:76: storage size of `ap_server_confname' isn't known
../../include/http_conf_globals.h:86: storage size of `ap_coredump_dir' isn't known
*** Error code 1
Stop in /usr/local/src/apache_1.3.31/src/modules/php4.
*** Error code 1
Почему так много ошибок?
Чуть ли не в каждой строке.
Помогите советом...
p.s почему то обновив порты /usr/ports/www(freebsd)
небыло apache13-mod_php4.
обшарил все ftpшники с портами такого порта больше нет.
Помню как я собирал apache13-mod_ssl, там вообще нет никаких проблем.