You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sage Weaver <sa...@nfusion.com> on 2005/10/12 21:47:27 UTC

[users@httpd] mod_log_forensic compile error

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?

Re: [users@httpd] mod_log_forensic compile error

Posted by Nick Kew <ni...@webthing.com>.
On Wednesday 12 October 2005 20:47, Sage Weaver wrote:

> mod_log_forensic.c:34:23: test_char.h: No such file or directory

That's your problem.  It needs to know where test_char.h is.  Add it
to your include path and it'll work.

> Does anyone know how I can resolve this problem?  Is mod_log_forensic
> broken?

Hmmm, arguably it is, for precisely that reason.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org