I'm running FreeBSD 5 with Apache 2.0.44. I would like to try and get
midgard working on this system, but am having issues with it compiling
mod_midgard2. I have read that there is an experimental mod_midgard2
version, and I have downloaded the files to work with it. I am unable to
get this to compile, and was wondering if anyone else has had experience
using this experimental module. Any help would be greatly appreciated.
Here are the errors I am receiving when trying to compile mod_midgard2
using gmake or make:
/usr/local/apache2/bin/apxs -c -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_H=1
-I/usr/local/include/glib12 -I/usr/local/include
-I/usr/local/include/mysql -I/usr/local/include -I/usr/local/include
-L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lmysqlclient
-L/usr/local/lib -lexpat -lmysqlclient -lm -lz -lcrypt -L/usr/local/lib
-lglib12 -liconv -lmidgard -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -lmysqlclient -L/usr/local/lib -lexpat -lmysqlclient
-lm -lz -lcrypt -L/usr/local/lib -lglib12 -liconv -lmidgard -lmidgard
mod_midgard2.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic
-DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE -g -O2
-I/usr/local/apache2/include -I/usr/local/include/glib12
-I/usr/local/include -I/usr/local/include/mysql -I/usr/local/include
-I/usr/local/include -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_H=1 -c -o
mod_midgard2.lo mod_midgard2.c && touch mod_midgard2.slo
In file included from /usr/local/apache2/include/apr.h:308,
from /usr/local/apache2/include/ap_config.h:58,
from /usr/local/apache2/include/httpd.h:72,
from /usr/local/include/midgard/apache2.h:25,
from mod_midgard2.c:26:
/usr/include/sys/syslimits.h:42:2: warning: #warning "No
user-serviceable parts inside."
mod_midgard2.c: In function `midgard_module_init':
mod_midgard2.c:1761: warning: passing arg 3 of
`apr_pool_cleanup_register' from incompatible pointer type
mod_midgard2.c:1761: warning: passing arg 4 of
`apr_pool_cleanup_register' from incompatible pointer type
mod_midgard2.c: In function `midgard_translate_handler':
mod_midgard2.c:1900: too few arguments to function `mgd_clear'
mod_midgard2.c: In function `midgard_host_auth':
mod_midgard2.c:2053: too few arguments to function `mgd_clear'
mod_midgard2.c: At top level:
mod_midgard2.c:2227: warning: initialization from incompatible pointer
type
mod_midgard2.c:2234: warning: initialization from incompatible pointer
type
mod_midgard2.c:2241: warning: initialization from incompatible pointer
type
mod_midgard2.c:2269: warning: initialization from incompatible pointer
type
mod_midgard2.c:2276: warning: initialization from incompatible pointer
type
mod_midgard2.c:2283: warning: initialization from incompatible pointer
type
mod_midgard2.c:2290: warning: initialization from incompatible pointer
type
mod_midgard2.c:2304: warning: initialization from incompatible pointer
type
mod_midgard2.c:2311: warning: initialization from incompatible pointer
type
apxs:Error: Command failed with rc=65536
.
gmake: *** [mod_midgard2.so] Error 1
Chris Gotstein
[EMAIL PROTECTED]
-------------------------------------------
SpamNet - help others stop spam immediately
www.cloudmark.com
-------------------------------------------
"People tend to be afraid of change. By forcing change and innovation,
new ideas will happen. Don't get comfortable in any role - reach for
the next change."
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]