Re: [mod-security-users] Problem installing mod_security_2.5.11
Brought to you by:
victorhora,
zimmerletw
From: Brian R. <Bri...@br...> - 2009-12-11 17:51:20
|
Johnson, Douglas M CIV USAF USAFA USAFA/DFLIB wrote: > *I**�**ve installed all the pre-requisite programs** and get > mod**_**security compile**d, but the make operation fails:* > # make > /var/apache2/build/libtool --silent --mode=compile /opt/SUNWspro/bin/cc > -prefer-pic -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff > -xO4 -DSSL_EXPERIMENTAL -DSSL_ENGINE -DSOLARIS2=10 > -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/apache2/include -I/usr/apache2/include > -I/usr/apache2/include -I/usr/sfw/include -O2 -g -Wall > -I/usr/apache2/include -I/usr/local/include -I/usr/local/include/libxml2 > -I/usr/local/include -DWITH_LUA -c -o mod_security2.lo mod_security2.c > && touch mod_security2.slo > libtool: compile: unable to infer tagged configuration > libtool: compile: specify a tag with `--tag' > apxs:Error: Command failed with rc=65536 Have you tried using gcc instead of Sun Workshop compiler? ModSecurity's build system is not very portable across compilers yet. And mixing compilers can also be an issue (if prereqs were compiled with different compiler). > . > *** Error code 1 > The following command caused the error: > src=""; \ > for f in mod_security2 apache2_config apache2_io apache2_util re > re_operators re_actions re_tfns re_variables msc_logging msc_xml > msc_multipart modsecurity msc_parsers msc_util msc_pcre persist_dbm > msc_reqbody pdf_protect msc_geo acmp msc_lua msc_release; do \ > src="$src $f.c"; \ > done; \ > rm -f msc_test msc_test.o msc_test.lo msc_test.slo; \ > build/apxs-wrapper -c -I/usr/apache2/include -I/usr/local/include > -I/usr/local/include/libxml2 -DWITH_LUA -I/usr/local/include > -L/usr/local/lib -R/usr/local/lib -lpcre -L/usr/local/lib > -R/usr/local/lib -lxml2 -lz -lpthread -liconv -lm -lsocket -lnsl > -L/usr/local/lib -llua -Wc,-O2 -Wc,-g -Wc,-Wall $src > make: Fatal error: Command failed for target `mod_security2.la' Yeah, "make test" only works on Linux with gcc/libtool right now. > > *I apparently have two problems to address:* > > 1. *libtool: compile: specify a tag with `--tag'** > I don**�**t know what **tag **this is telling me** to specify**.* > 2. *make: Fatal error: Command failed for target `mod_security2.la'* > > *I can**�**t find this file anywhere and don**�**t know where/how to > **get it since the configure process didn**�**t create it.* It is because the first command should have created it ;) > > *Can anyone point me in the right direction?* Try gcc. -B -- Brian Rectanus Breach Security |