You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Igor Cicimov <ic...@gmail.com> on 2010/02/01 02:19:20 UTC

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

# /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a
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

The apache is 2.2.13 and the apr is apache built in. Any suggestions?

Thanks,

Igor

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

Posted by Eric Covener <co...@gmail.com>.
On Sun, Jan 31, 2010 at 8:46 PM, Igor Cicimov <ic...@gmail.com> wrote:
> 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.

blame fonts!  Capital I as in Aye or eye.

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


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

Posted by Igor Cicimov <ic...@gmail.com>.
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 <co...@gmail.com> wrote:

> On Sun, Jan 31, 2010 at 8:19 PM, Igor Cicimov <ic...@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
>
>

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

Posted by Eric Covener <co...@gmail.com>.
On Sun, Jan 31, 2010 at 8:19 PM, Igor Cicimov <ic...@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


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

Posted by Igor Cicimov <ic...@gmail.com>.
Ups my mistake, missed the -i switch in the apxs command...all good now
thanks for your help guys.

Igor

On Mon, Feb 8, 2010 at 4:41 PM, Igor Cicimov <ic...@gmail.com> wrote:

> Hi Eric,
>
> This is the output from my last try
>
> /install/software/mod_proxy_html$ /usr/local/apache2/bin/apxs -c
> -I/usr/local/include/libxml2 -I. -a 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 -I.  -c -o
> mod_proxy_html.lo mod_proxy_html.c && touch mod_proxy_html.slo
> /usr/local/apache2/build/libtool --silent --mode=link gcc -o
> mod_proxy_html.la  -rpath /usr/local/apache2/modules -module
> -avoid-version    mod_proxy_html.lo
>
> so it looks like the command was successful but no module has been created
> in the modules directory thus the module has not been loaded in the apache
> configuration.
>
> Thanks,
>
> Igor
>
>
> On Mon, Feb 8, 2010 at 4:22 PM, Igor Cicimov <ic...@gmail.com> wrote:
>
>> Hi Snader,
>>
>> The file is in the same folder where the mod_proxy binaries are
>>
>> mod_proxy_html/mod_xml2enc.h
>>
>> Igor
>>
>>
>> On Mon, Feb 1, 2010 at 4:34 PM, Sander Temme <sc...@apache.org> wrote:
>>
>>>
>>> On Jan 31, 2010, at 5:19 PM, Igor Cicimov wrote:
>>>
>>> > # /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a
>>> 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
>>>
>>> Where on your system lives mod_xml2enc.h?
>>>
>>> S.
>>>
>>> --
>>> Sander Temme
>>> sctemme@apache.org
>>> PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF
>>>
>>>
>>>
>>>
>>
>

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

Posted by Igor Cicimov <ic...@gmail.com>.
Hi Eric,

This is the output from my last try

/install/software/mod_proxy_html$ /usr/local/apache2/bin/apxs -c
-I/usr/local/include/libxml2 -I. -a 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 -I.  -c -o
mod_proxy_html.lo mod_proxy_html.c && touch mod_proxy_html.slo
/usr/local/apache2/build/libtool --silent --mode=link gcc -o
mod_proxy_html.la  -rpath /usr/local/apache2/modules -module
-avoid-version    mod_proxy_html.lo

so it looks like the command was successful but no module has been created
in the modules directory thus the module has not been loaded in the apache
configuration.

Thanks,

Igor

On Mon, Feb 8, 2010 at 4:22 PM, Igor Cicimov <ic...@gmail.com> wrote:

> Hi Snader,
>
> The file is in the same folder where the mod_proxy binaries are
>
> mod_proxy_html/mod_xml2enc.h
>
> Igor
>
>
> On Mon, Feb 1, 2010 at 4:34 PM, Sander Temme <sc...@apache.org> wrote:
>
>>
>> On Jan 31, 2010, at 5:19 PM, Igor Cicimov wrote:
>>
>> > # /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a
>> 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
>>
>> Where on your system lives mod_xml2enc.h?
>>
>> S.
>>
>> --
>> Sander Temme
>> sctemme@apache.org
>> PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF
>>
>>
>>
>>
>

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

Posted by Igor Cicimov <ic...@gmail.com>.
Hi Snader,

The file is in the same folder where the mod_proxy binaries are

mod_proxy_html/mod_xml2enc.h

Igor

On Mon, Feb 1, 2010 at 4:34 PM, Sander Temme <sc...@apache.org> wrote:

>
> On Jan 31, 2010, at 5:19 PM, Igor Cicimov wrote:
>
> > # /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a
> 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
>
> Where on your system lives mod_xml2enc.h?
>
> S.
>
> --
> Sander Temme
> sctemme@apache.org
> PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF
>
>
>
>

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

Posted by Sander Temme <sc...@apache.org>.
On Jan 31, 2010, at 5:19 PM, Igor Cicimov wrote:

> # /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a 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

Where on your system lives mod_xml2enc.h?  

S.

-- 
Sander Temme
sctemme@apache.org
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF