I have a box running debian 3.1 (Sarge). I have the apache2 package installed, with apache2-prefork as well as apache2-prefork-dev, which means I am using Apache httpd version 2.0.54. I have downloaded and unpacked the source for httpd 2.0.54 and I am attempting to compile mod_log_forensic. However, when I try to compile, I get the following errors:
-----------------------------------------
sh-2.05b$ apxs2 -c mod_log_forensic.c
/usr/bin/libtool --silent --mode=compile gcc -prefer-pic -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -O2 -pthread -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/apr-0 -I/usr/include -c -o mod_log_forensic.lo mod_log_forensic.c && touch mod_log_forensic.slo
Assembler messages:
FATAL: can't create .libs/mod_log_forensic.o: Permission denied
mod_log_forensic.c:34:23: test_char.h: No such file or directory
mod_log_forensic.c: In function `log_escape':
mod_log_forensic.c:123: error: `test_char_table' undeclared (first use in this function)
mod_log_forensic.c:123: error: (Each undeclared identifier is reported only once
mod_log_forensic.c:123: error: for each function it appears in.)
mod_log_forensic.c:123: error: `T_ESCAPE_FORENSIC' undeclared (first use in this function)
mod_log_forensic.c: In function `count_string':
mod_log_forensic.c:151: error: `test_char_table' undeclared (first use in this function)
mod_log_forensic.c:151: error: `T_ESCAPE_FORENSIC' undeclared (first use in this function)
apxs:Error: Command failed with rc=65536
.
sh-2.05b$
-----------------------------------------
Does anyone know how I can resolve this problem? Is mod_log_forensic broken?