shanekennedy
IS-IT--Management
when trying to compile mod_proxy_html.c, i receive complaints about XML_PARSE functions. from what i can find, these functions were in a xmlparse.h file which went AWOL from the expat package a couple of years ago. has anyone successfully installed mod_proxy_html? below are package version i have & errors from compile:
httpd-2.0.46-32.ent
httpd-devel-2.0.46-32.ent
expat-1.95.5-6
expat-devel-1.95.5-6
libxml2-2.5.10-5
libxml2-devel-2.5.10-5
# apxs -c -I/usr/include/libxml2 -i mod_proxy_html.c
/usr/bin/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -march=i386 -mcpu=i686 -DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/httpd -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:752: `XML_PARSE_RECOVER' undeclared (first use in this function)
mod_proxy_html.c:752: (Each undeclared identifier is reported only once
mod_proxy_html.c:752: for each function it appears in.)
mod_proxy_html.c:752: `XML_PARSE_NONET' undeclared (first use in this function)
mod_proxy_html.c:753: `XML_PARSE_NOBLANKS' undeclared (first use in this function)
mod_proxy_html.c:753: `XML_PARSE_NOERROR' undeclared (first use in this function)
mod_proxy_html.c:753: `XML_PARSE_NOWARNING' undeclared (first use in this function)
apxs:Error: Command failed with rc=65536
httpd-2.0.46-32.ent
httpd-devel-2.0.46-32.ent
expat-1.95.5-6
expat-devel-1.95.5-6
libxml2-2.5.10-5
libxml2-devel-2.5.10-5
# apxs -c -I/usr/include/libxml2 -i mod_proxy_html.c
/usr/bin/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -march=i386 -mcpu=i686 -DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/httpd -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:752: `XML_PARSE_RECOVER' undeclared (first use in this function)
mod_proxy_html.c:752: (Each undeclared identifier is reported only once
mod_proxy_html.c:752: for each function it appears in.)
mod_proxy_html.c:752: `XML_PARSE_NONET' undeclared (first use in this function)
mod_proxy_html.c:753: `XML_PARSE_NOBLANKS' undeclared (first use in this function)
mod_proxy_html.c:753: `XML_PARSE_NOERROR' undeclared (first use in this function)
mod_proxy_html.c:753: `XML_PARSE_NOWARNING' undeclared (first use in this function)
apxs:Error: Command failed with rc=65536