Re: [mod-security-users] Problems compiling mod_security on debian 3.1
Brought to you by:
victorhora,
zimmerletw
|
From: Tim K. <tim...@gm...> - 2006-01-08 15:07:23
|
Just comment out lines 51 (#if MODULE_MAGIC_NUMBER >= 20050127) and 58 (#endif). I'll add the fix into 1.9.2. Thanks for letting me know. -- Ivan Ristic, Technical Director Thinking Stone, http://www.thinkingstone.com Tel: +44 20 8141 2161, Fax: +44 87 0762 3934 Tim Koelman schreef: > Problems compiling mod_security on debian 3.1 (SARGE) Linux debian > 2.6.8-2-386 > Server version: Apache/2.0.54 > Server built: Sep 5 2005 11:15:09 > > Compiled in modules: > core.c > mod_access.c > mod_auth.c > mod_log_config.c > mod_logio.c > mod_env.c > mod_setenvif.c > prefork.c > http_core.c > mod_mime.c > mod_status.c > mod_autoindex.c > mod_negotiation.c > mod_dir.c > mod_alias.c > mod_so.c > > I get this error: > > debian:~/modsecurity-apache-1.9.1/apache2# apxs2 -cai mod_security.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_security.lo mod_security.c && touch > mod_security.slo > mod_security.c:353: error: syntax error before "regex_t" > mod_security.c:353: warning: no semicolon at end of struct or union > mod_security.c:374: error: syntax error before '}' token > mod_security.c:374: warning: type defaults to `int' in declaration of > `signature' > mod_security.c:374: warning: data definition has no type or storage class > mod_security.c:419: error: syntax error before "regex_t" > mod_security.c:419: warning: no semicolon at end of struct or union > mod_security.c:462: error: syntax error before '}' token > mod_security.c:633: error: syntax error before "signature" > mod_security.c:644: error: syntax error before "signature" > mod_security.c:645: error: syntax error before "signature" > mod_security.c:682: error: syntax error before "signature" > mod_security.c:683: error: syntax error before "signature" > mod_security.c:698: error: syntax error before "signature" > mod_security.c:1059: error: syntax error before "signature" > ................................................ (cut a lot of error > lines) > mod_security.c:7732: error: dereferencing pointer to incomplete type > mod_security.c:7800: error: dereferencing pointer to incomplete type > mod_security.c:7809: error: dereferencing pointer to incomplete type > mod_security.c:7809: error: dereferencing pointer to incomplete type > mod_security.c: In function `sec_insert_filter': > mod_security.c:7940: error: dereferencing pointer to incomplete type > apxs:Error: Command failed with rc=65536 > > Not sure what to do, got this error also on a clean install in VMWARE > session. > Installed apache2-dev > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > mod-security-users mailing list > mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-security-users > |