System FC4
Próbowałem wkąpilować PHP5 w apache
Kompilacja samego php przebiega bez zarzutów daje oczywisćie miedzy innymi cos takiego --with-apache=../../apache/apache_1.3.36 w konfiguracji
No i tak jak wspominalem wszystko wyglada Ok
w samym katalogu apache_1.3.36/src/modules/ pojawia sie katalog php5 w którym wydają się być właściwe pliki
Przy konfiguracji daje miedzy innymi opcje --activate-module=src/modules/php5/libmodphp5.a \
--enable-module=modphp5
no i konfiguracja przebiega wporzadku (jest info o zaladowaniu modphp5 )
problem pojawia sie gdy daje mu make
kompilacja sobie przebiega az do momentu w ktorym zaczyna wykonywac makfile'a z src/modules/php5/
w tym momencie wywala błąd - na końcu wypisuje make[4]: *** [mod_php5.o] Błąd 1i para innych bzdurek
natomiast wydje mi sie ze głownym problemem jest to co znajduje sie 300 linijek wyżej

Jesli przyjdzie komus cos do glowy to bardzo prosze o wyrazenie opinii.
Hmm wydaje mi sie że powinienem dokładniej przybliżyć temat.
No wiec.
Po pierwsze:
Katalogi mam takie:
/usr/local/src apache/apache_1.3.36
php5/php-5.1.4
mod_ssl/mod_ssl**** - oprocz tego jest jeszcze to ale nie stanowi to problemu bo bez php kompiluje sie
wysmienicie dlatego ponizej beda tez parametry dotyczace mod_ssl'a ale
daje make i tu zaczynaja sie schodki
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208127 -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED -DDYNAMIC_MODULE_LIMIT=0 `../../apaci` mod_php5.c
mod_php5.c:22:29: error: php_apache_http.h: Nie ma takiego pliku ani katalogu
In file included from mod_php5.c:23:
../../include/http_conf_globals.h:27: error: syntax error before ‘int’
../../include/http_conf_globals.h:28: error: syntax error before ‘int’
../../include/http_conf_globals.h:30: error: syntax error before ‘uid_t’
../../include/http_conf_globals.h:30: warning: data definition has no type or storage class
../../include/http_conf_globals.h:31: error: syntax error before ‘char’
../../include/http_conf_globals.h:32: error: syntax error before ‘gid_t’
../../include/http_conf_globals.h:32: warning: data definition has no type or storage class
../../include/http_conf_globals.h:39: error: syntax error before ‘int’
../../include/http_conf_globals.h:40: error: syntax error before ‘int’
../../include/http_conf_globals.h:41: error: syntax error before ‘int’
../../include/http_conf_globals.h:42: error: syntax error before ‘struct’
../../include/http_conf_globals.h:43: error: syntax error before ‘*’ token
../../include/http_conf_globals.h:43: warning: data definition has no type or storage class
../../include/http_conf_globals.h:44: error: syntax error before ‘int’
../../include/http_conf_globals.h:45: error: syntax error before ‘int’
../../include/http_conf_globals.h:46: error: syntax error before ‘int’
../../include/http_conf_globals.h:47: error: syntax error before ‘int’
../../include/http_conf_globals.h:48: error: syntax error before ‘int’
.............. itd az do .........
mod_php5.c:981: warning: excess elements in scalar initializer
mod_php5.c:981: warning: (near initialization for ‘php5_module’)
mod_php5.c:982: warning: excess elements in scalar initializer
mod_php5.c:982: warning: (near initialization for ‘php5_module’)
mod_php5.c:983: warning: excess elements in scalar initializer
mod_php5.c:983: warning: (near initialization for ‘php5_module’)
mod_php5.c:984: warning: excess elements in scalar initializer
mod_php5.c:984: warning: (near initialization for ‘php5_module’)
mod_php5.c:985: warning: excess elements in scalar initializer
mod_php5.c:985: warning: (near initialization for ‘php5_module’)
mod_php5.c:986: warning: excess elements in scalar initializer
mod_php5.c:986: warning: (near initialization for ‘php5_module’)
mod_php5.c:1000: warning: excess elements in scalar initializer
mod_php5.c:1000: warning: (near initialization for ‘php5_module’)
mod_php5.c:1000: warning: data definition has no type or storage class
make[4]: *** [mod_php5.o] Błąd 1
make[3]: *** [all] Błąd 1
make[2]: *** [subdirs] Błąd 1
make[2]: Leaving directory `/usr/local/src/apache/apache_1.3.36/src'
make[1]: *** [build-std] Błąd 2
make[1]: Leaving directory `/usr/local/src/apache/apache_1.3.36'
make: *** [build] Błąd 2