yes libxml2 installed not libxml as it is deprecated ?????????



On 25 June 2012 20:11, Ryan Barnett <RBarnett@trustwave.com> wrote:


From: Enigma Support <support@enigma.ie>
Reply-To: "mod-security-developers@lists.sourceforge.net" <mod-security-developers@lists.sourceforge.net>
Date: Mon, 25 Jun 2012 13:57:02 -0500
To: "mod-security-developers@lists.sourceforge.net" <mod-security-developers@lists.sourceforge.net>
Subject: [Mod-security-developers] issue installing 2.6.6 as dso

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

Using apxs directly is the deprecated way of compiling ModSecurity. †Use configure -†
https://sourceforge.net/apps/mediawiki/mod-security/index.php?title=Reference_Manual#Installation_Methods

--
Ryan Barnett
Trustwave SpiderLabs
ModSecurity Project Leader
OWASP ModSecurity CRS Project Leader



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
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



This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.

------------------------------------------------------------------------------
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-security-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-developers
ModSecurity Services from Trustwave's SpiderLabs:
https://www.trustwave.com/spiderLabs.php