I am trying to compile mod_proxy_html.c on a solaris 9 box
with apache 2 apxs. libxml2 is installed. I keep getting the following error: /home/mfay % apxs -c -I/usr/include/libxml2 -i
mod_proxy_html.c /usr/local/apache2/build/libtool --silent --mode=compile gcc
-prefer-pic -I/usr/local/include -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=9
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pthreads -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/apache2/include
-I/usr/local/include -I/usr/include/libxml2 -c -o mod_proxy_html.lo
mod_proxy_html.c && touch mod_proxy_html.slo mod_proxy_html.c: In function `proxy_html_filter': mod_proxy_html.c:802: error: `XML_PARSE_RECOVER' undeclared
(first use in this function) mod_proxy_html.c:802: error: (Each undeclared identifier is
reported only once mod_proxy_html.c:802: error: for each function it appears
in.) mod_proxy_html.c:802: error: `XML_PARSE_NONET' undeclared
(first use in this function) mod_proxy_html.c:803: error: `XML_PARSE_NOBLANKS' undeclared
(first use in this function) mod_proxy_html.c:803: error: `XML_PARSE_NOERROR' undeclared
(first use in this function) mod_proxy_html.c:803: error: `XML_PARSE_NOWARNING'
undeclared (first use in this function) apxs:Error: Command failed with rc=65536 . Anybody have any ideas of what I can try? I know nothing
about this mod other than what I have from http://www.apacheweek.com/features/reverseproxies
for instructions to install and configure it and they mod's author doesn't
seem to be willing to help diagnose compilation problems. And they don't
have a FAQ anywhere that addresses common compilation errors, that I can find. Thanks in advance Michael Fay Pepperdine University |