mod_proxy_html can"t install

mod_proxy_html can"t install

am 06.08.2009 05:29:20 von Igor Cicimov

--00151750dd38a423b4047070b913
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi all,

I'm trying to install mod_proxy_htnl in apache2.2.11 on Solaris 9 but I'm
getting the following error:

# /usr/local/apache2/bin/apxs -c -I /usr/include/libxml2 -i -a
mod_proxy_html.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic
-DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE
-g -O2 -pthreads -I/usr/local/apache2/include
-I/usr/local/apache2/include -I/usr/local/apache2/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


I have tried with mod_proxy_html version 2.5.1. Is this problem with the
module or apache?

Thanks for any help.

Igor

--00151750dd38a423b4047070b913
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi all,

I'm trying to install mod_proxy_htnl in apache2.2.11 on =
Solaris 9 but I'm getting the following error:

# /usr/local/apac=
he2/bin/apxs -c -I /usr/include/libxml2 -i -a mod_proxy_html.c
/usr/loca=
l/apache2/build/libtool --silent --mode=3Dcompile gcc -prefer-pic   -DS=
OLARIS2=3D9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -=
g -O2 -pthreads -I/usr/local/apache2/include=A0 -I/usr/local/apache2/includ=
e   -I/usr/local/apache2/include=A0 -I/usr/include/libxml2=A0 -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 on=
ly 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 fun=
ction)
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=3D65536



I have tried with mod_proxy_html version 2.5.1. Is this problem wit=
h the module or apache?

Thanks for any help.

Igor


--00151750dd38a423b4047070b913--

Re: mod_proxy_html can"t install

am 06.08.2009 05:49:31 von Eric Covener

On Wed, Aug 5, 2009 at 11:29 PM, Igor Cicimov wrote:
> mod_proxy_html.c:802: error: `XML_PARSE_RECOVER' undeclared (first use in
> this function)

Try installing the latest libxml2 from blastwave (pkg-get, pkgtool,
whatever) and point to /opt/csw/include/libxml2 instead of
/usr/lib/libxml2 (worked for me on Solaris 9, failed for updating csw
version)

--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: mod_proxy_html can"t install

am 06.08.2009 06:07:52 von Igor Cicimov

--000e0cd5d0547aa17904707143ac
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Thanks Eric I will sure try that. I have the module installed on Solaris 10
with no problems but faild in Solaris 9...

I will post again after libxml2 install.

Cheers,

Igor


On Thu, Aug 6, 2009 at 1:49 PM, Eric Covener wrote:

> On Wed, Aug 5, 2009 at 11:29 PM, Igor Cicimov wrote:
> > mod_proxy_html.c:802: error: `XML_PARSE_RECOVER' undeclared (first use in
> > this function)
>
> Try installing the latest libxml2 from blastwave (pkg-get, pkgtool,
> whatever) and point to /opt/csw/include/libxml2 instead of
> /usr/lib/libxml2 (worked for me on Solaris 9, failed for updating csw
> version)
>
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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
>
>

--000e0cd5d0547aa17904707143ac
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks Eric I will sure try that. I have the module installed on Solaris 10=
with no problems but faild in Solaris 9...

I will post again after =
libxml2 install.

Cheers,

Igor


quote">
On Thu, Aug 6, 2009 at 1:49 PM, Eric Covener < =3D"mailto:covener@gmail.com">covener@gmail.com> wrote:
lockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 20=
4, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Aug 5, 2009 at 11:29 PM, Igor Cicimov< =3D"mailto:icicimov@gmail.com">icicimov@gmail.com> wrote:

> mod_proxy_html.c:802: error: `XML_PARSE_RECOVER' undeclared (first=
use in

> this function)



Try installing the latest libxml2 from blastwave (pkg-get, pkgtool, r>
whatever) and point to /opt/csw/include/libxml2 instead of

/usr/lib/libxml2 (worked for me on Solaris 9, failed for updating csw

version)



--

Eric Covener





------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--000e0cd5d0547aa17904707143ac--

Re: mod_proxy_html can"t install

am 06.08.2009 06:34:51 von Igor Cicimov

--0015175708f8f2e404047071a358
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Ok it worked with the new libxml2 ... Thanks again Eric

Igor

On Thu, Aug 6, 2009 at 2:07 PM, Igor Cicimov wrote:

> Thanks Eric I will sure try that. I have the module installed on Solaris 10
> with no problems but faild in Solaris 9...
>
> I will post again after libxml2 install.
>
> Cheers,
>
> Igor
>
>
>
> On Thu, Aug 6, 2009 at 1:49 PM, Eric Covener wrote:
>
>> On Wed, Aug 5, 2009 at 11:29 PM, Igor Cicimov wrote:
>> > mod_proxy_html.c:802: error: `XML_PARSE_RECOVER' undeclared (first use
>> in
>> > this function)
>>
>> Try installing the latest libxml2 from blastwave (pkg-get, pkgtool,
>> whatever) and point to /opt/csw/include/libxml2 instead of
>> /usr/lib/libxml2 (worked for me on Solaris 9, failed for updating csw
>> version)
>>
>> --
>> Eric Covener
>> covener@gmail.com
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See 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
>>
>>
>

--0015175708f8f2e404047071a358
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Ok it worked with the new libxml2 ... Thanks again Eric

Igor

=

On Thu, Aug 6, 2009 at 2:07 PM, Igor Cicimov an dir=3D"ltr"><icicimov@gmail.com=
> wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks Eric I wil=
l sure try that. I have the module installed on Solaris 10 with no problems=
but faild in Solaris 9...


I will post again after libxml2 install.

Cheers,
=3D"#888888">
Igor



<=
div class=3D"gmail_quote">
On Thu, Aug 6, 2009 at 1:49 PM, Eric Covener < =3D"mailto:covener@gmail.com" target=3D"_blank">covener@gmail.com> span> wrote:
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Wed, Aug 5, 2009 at 11:29 PM, Igor Cicimov< cimov@gmail.com" target=3D"_blank">icicimov@gmail.com> wrote:

> mod_proxy_html.c:802: error: `XML_PARSE_RECOVER' undeclared (first=
use in

> this function)



Try installing the latest libxml2 from blastwave (pkg-get, pkgtool, r>
whatever) and point to /opt/csw/include/libxml2 instead of

/usr/lib/libxml2 (worked for me on Solaris 9, failed for updating csw

version)



--

Eric Covener

covener@gmail.com >



------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g" target=3D"_blank">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.=
org


For additional commands, e-mail: org" target=3D"_blank">users-help@httpd.apache.org








--0015175708f8f2e404047071a358--

Re: mod_proxy_html can"t install

am 06.08.2009 12:43:35 von Nick Kew

On 6 Aug 2009, at 04:29, Igor Cicimov wrote:

> Hi all,
>
> I'm trying to install mod_proxy_htnl in apache2.2.11 on Solaris 9
> but I'm getting the following error:

You have a very old libxml2 version!

You can compile mod_proxy_html against it with a simple #define.
See the comment in the source code, at about line 800 or 801
in the version that bombs out at 802.

I guess your underlying issue is an ancient Solaris version.
I expect you'd find life easier with at least Solaris 10, unless
you're locked into old apps that can't be upgraded.

--
Nick Kew

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: mod_proxy_html can"t install

am 06.08.2009 14:50:14 von Eric Covener

On Thu, Aug 6, 2009 at 6:43 AM, Nick Kew wrote:

> You can compile mod_proxy_html against it with a simple #define.
> See the comment in the source code, at about line 800 or 801
> in the version that bombs out at 802.

FWIW I tried that -D and it still comlained about the three HTTP_* macros.

--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: mod_proxy_html can"t install

am 06.08.2009 15:05:08 von Nick Kew

Eric Covener wrote:
> On Thu, Aug 6, 2009 at 6:43 AM, Nick Kew wrote:
>
>> You can compile mod_proxy_html against it with a simple #define.
>> See the comment in the source code, at about line 800 or 801
>> in the version that bombs out at 802.
>
> FWIW I tried that -D and it still comlained about the three HTTP_* macros.
>
Huh? HTTP_ macros? Whare do they come from?

--
Nick Kew

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: mod_proxy_html can"t install

am 06.08.2009 15:16:22 von Eric Covener

On Thu, Aug 6, 2009 at 9:05 AM, Nick Kew wrote:
> Eric Covener wrote:
>>
>> On Thu, Aug 6, 2009 at 6:43 AM, Nick Kew wrote:
>>
>>> You can compile mod_proxy_html against it with a simple #define.
>>> See the comment in the source code, at about line 800 or 801
>>> in the version that bombs out at 802.
>>
>> FWIW I tried that -D and it still comlained about the three HTTP_* macro=
s.
>>
> Huh? =A0HTTP_ macros? =A0Whare do they come from?

Doh, HTML_* (HTML_INVALID, HTML_DEPRECATED, HTML_REQUIRED)


--=20
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: mod_proxy_html can"t install

am 06.08.2009 15:31:18 von Nick Kew

Eric Covener wrote:
> On Thu, Aug 6, 2009 at 9:05 AM, Nick Kew wrote:
>> Eric Covener wrote:
>>> On Thu, Aug 6, 2009 at 6:43 AM, Nick Kew wrote:
>>>
>>>> You can compile mod_proxy_html against it with a simple #define.
>>>> See the comment in the source code, at about line 800 or 801
>>>> in the version that bombs out at 802.
>>> FWIW I tried that -D and it still comlained about the three HTTP_* macros.
>>>
>> Huh? HTTP_ macros? Whare do they come from?
>
> Doh, HTML_* (HTML_INVALID, HTML_DEPRECATED, HTML_REQUIRED)
>
>
Aha, I see. They're new in mod_proxy_html 3.0, which is several
years later than the XML_ macros with the old-libxml2 support.

I guess it's time to declare very-old-libxml2 unsupported.

I also recollect there was a serious libxml2 bug that affected
mod_proxy_html and could cause it to spin and eat memory in
comment parsing. It was fixed in IIRC libxml2-2.5.10,
so supporting earlier versions is really a Bad Thing.

Thanks for bringing that to my attention!
Guess I should release 3.1. It's been ready and just
awaiting docs updates for a long time!

--
Nick Kew

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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