Re: [Mod-security-developers] issue installing 2.6.6 as dso
Brought to you by:
victorhora,
zimmerletw
From: Josh Amishav-Z. <ja...@gm...> - 2012-06-25 19:09:04
|
On Mon, Jun 25, 2012 at 9:57 PM, Enigma Support <su...@en...> wrote: > I am trying to install modsecurity with the command > /usr/local/apache2/bin/apxs -cia > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.c > > > I get the following error : I checked and the files xpath.h and > xmlschemas.h are on the box in /usr/include/libxml2/libxml/xpath.h > and /usr/include/libxml2/libxml/xmlschemas.h > > sr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic > -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread > -I/usr/local/apache2/include -I/usr/local/apache2/include > -I/usr/local/apache2/include -c -o > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.lo > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.c && touch > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.slo > In file included from > /Binaries/modsecurity-apache_2.6.6/apache2/modsecurity.h:38, > from > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.c:20: > /Binaries/modsecurity-apache_2.6.6/apache2/msc_xml.h:21:31: error: > libxml/xmlschemas.h: No such file or directory > /Binaries/modsecurity-apache_2.6.6/apache2/msc_xml.h:22:26: error: > libxml/xpath.h: No such file or directory > Hi, Do you have LibXML installed? -- - Josh > In file included from > /Binaries/modsecurity-apache_2.6.6/apache2/modsecurity.h:38, > from > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.c:20: > /Binaries/modsecurity-apache_2.6.6/apache2/msc_xml.h:27: error: expected > specifier-qualifier-list before âxmlSAXHandlerâ > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.c: In function > âversionâ: > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.c:104: error: > âLIBXML_DOTTED_VERSIONâ undeclared (first use in this function) > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.c:104: error: > (Each undeclared identifier is reported only once > /Binaries/modsecurity-apache_2.6.6/apache2/mod_security2.c:104: error: for > each function it appears in.) > apxs:Error: Command failed with rc=65536 > > please let me know how to fix this > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > mod-security-developers mailing list > mod...@li... > https://lists.sourceforge.net/lists/listinfo/mod-security-developers > ModSecurity Services from Trustwave's SpiderLabs: > https://www.trustwave.com/spiderLabs.php > |