Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] mod_proxy_html v3.1.2 fails to install on Solaris10

Igor Cicimov

2010-01-31

Replies: Find Java Web Hosting

Author LoginPost Reply
Thanks for your reply Eric. Here is what I get now (if I understood your email correctly)

# /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a -l. mod_proxy_html.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include  -I/usr/local/include/libxml2  -c -o mod_proxy_html.lo mod_proxy_html.c && touch mod_proxy_html.slo
mod_proxy_html.c:66:25: mod_xml2enc.h: No such file or directory
mod_proxy_html.c: In function `proxy_html_filter':
mod_proxy_html.c:904: error: `ENCIO_OUTPUT' undeclared (first use in this function)
mod_proxy_html.c:904: error: (Each undeclared identifier is reported only once
mod_proxy_html.c:904: error: for each function it appears in.)
mod_proxy_html.c: In function `mod_proxy_html':
mod_proxy_html.c:1215: error: `apr_OFN_xml2enc_charset_t' undeclared (first use in this function)
mod_proxy_html.c:1215: error: syntax error before ')' token
mod_proxy_html.c:1216: error: `apr_OFN_xml2enc_filter_t' undeclared (first use in this function)
mod_proxy_html.c:1216: error: syntax error before ')' token
mod_proxy_html.c: In function `proxy_html_insert':
mod_proxy_html.c:1230: error: `ENCIO_INPUT_CHECKS' undeclared (first use in this function)
apxs:Error: Command failed with rc=65536

Same without dot

# /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a mod_proxy_html.c -l
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include  -I/usr/local/include/libxml2  -c -o mod_proxy_html.lo mod_proxy_html.c && touch mod_proxy_html.slo
mod_proxy_html.c:66:25: mod_xml2enc.h: No such file or directory
mod_proxy_html.c: In function `proxy_html_filter':
mod_proxy_html.c:904: error: `ENCIO_OUTPUT' undeclared (first use in this function)
mod_proxy_html.c:904: error: (Each undeclared identifier is reported only once
mod_proxy_html.c:904: error: for each function it appears in.)
mod_proxy_html.c: In function `mod_proxy_html':
mod_proxy_html.c:1215: error: `apr_OFN_xml2enc_charset_t' undeclared (first use in this function)
mod_proxy_html.c:1215: error: syntax error before ')' token
mod_proxy_html.c:1216: error: `apr_OFN_xml2enc_filter_t' undeclared (first use in this function)
mod_proxy_html.c:1216: error: syntax error before ')' token
mod_proxy_html.c: In function `proxy_html_insert':
mod_proxy_html.c:1230: error: `ENCIO_INPUT_CHECKS' undeclared (first use in this function)
apxs:Error: Command failed with rc=65536

Cheers,

Igor

On Mon, Feb 1, 2010 at 12:28 PM, Eric Covener <covener@gmail.com> wrote:
On Sun, Jan 31, 2010 at 8:19 PM, Igor Cicimov <icicimov@gmail.com> wrote:
> # /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a
> mod_proxy_html.c

> mod_proxy_html.c:66:25: mod_xml2enc.h: No such file or directory

Try just adding -I.

--
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
  "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.