I have installed apache 2 and configured it to run correctly. My static sites are working now, but none of the midgard ones. 1.6.2 doesn't compile full stop and 1.6.1 compiles without error.
In gentoo the mpm_prefork use flag has been added in and apache 2 compiled with that use flag enabled. The error message generated by the 1.6.2 apache 2 module compile is: bash-2.05b# make /usr/sbin/apxs2 -c -DAPACHE2= -DHAVE_APR_SOCKET_CONNECT= -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_MIDGARD_H=1 -DHAVE_MIDGARD_H=1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/mysql -I/usr/include/apache2 -L/usr/local/lib -lmysqlclient -lexpat -lpam -lm -lz -lcrypt -lglib -lmidgard -L/usr/local/lib -lmysqlclient -lexpat -lpam -lm -lz -lcrypt -lglib -lmidgard -lmidgard midgard-apache2.c /usr/lib/apache2/build/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -march=pentium3 -O3 -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apache2 -I/usr/include/apache2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/mysql -I/usr/include/apache2 -DAPACHE2= -DHAVE_APR_SOCKET_CONNECT= -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_MIDGARD_H=1 -DHAVE_MIDGARD_H=1 -c -o midgard-apache2.lo midgard-apache2.c && touch midgard-apache2.slo midgard-apache2.c: In function `setup_pagecache': midgard-apache2.c:1303: error: too many arguments to function `mgd_cache_is_current' midgard-apache2.c:1310: warning: passing arg 4 of `mgd_load_styles' makes pointer from integer without a cast midgard-apache2.c:1310: warning: passing arg 6 of `mgd_load_styles' makes integer from pointer without a cast midgard-apache2.c:1310: error: too many arguments to function `mgd_load_styles' midgard-apache2.c: In function `setup_root': midgard-apache2.c:1362: error: too many arguments to function `mgd_cache_is_current' midgard-apache2.c:1362: warning: passing arg 4 of `mgd_load_styles' makes pointer from integer without a cast midgard-apache2.c:1362: warning: passing arg 6 of `mgd_load_styles' makes integer from pointer without a cast midgard-apache2.c:1362: error: too many arguments to function `mgd_load_styles' midgard-apache2.c: At top level: midgard-apache2.c:2644: warning: initialization from incompatible pointer type apxs:Error: Command failed with rc=65536 . make: *** [midgard-apache2.so] Error 1 Now every time I try and access aegir I get: [notice] child pid 5864 exit signal Segmentation fault (1) in the apache log. Logging in with spider-admin allows login, but then I get with page cache enabled: Fatal error: Not a midgard request. in /var/local/cache/midgard/57-12-0.php on line 40 And disabled: Fatal error: Not a midgard request. in /usr/lib/apache/midgard-root-nommp.php on line 40 Cheers Mike. ---------------------------------------------------- Michael Ross - Pan Leeds Web Developer Health Informatics Service����� Tel: (0113) 305 7416 2nd Floor������ ������� ������� Fax: (0113) 305 7398 North West House West Park Ring Road West Park Leeds LS16 6QG --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
