perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Bardsley" <sbards...@rlwinc.com>
Subject RE: XML::DOM seg fault
Date Sat, 04 Aug 2001 01:05:41 GMT
Josh:

You are the man!

It works like a charm.

Thanks!

Steve

> -----Original Message-----
> From: Joshua Chamas [mailto:joshua@chamas.com]
> Sent: Friday, August 03, 2001 8:37 PM
> To: Stephen Bardsley
> Cc: Apache::ASP Mailing List
> Subject: Re: XML::DOM seg fault
> 
> 
> Stephen Bardsley wrote:
> > 
> > Hello:
> > 
> > I am getting a seg fault of XML::DOM::parser under
> > Apache::ASP  $VERSION = 2.19
> > 
> > I have isolated the fault to the following code:
> > <%
> > use XML::DOM;
> > my $parser = new XML::DOM::Parser;
> > my $doc = $parser->parsefile ("data.xml");
> > %>
> > 
> 
> You need to build your mod_perl / apache with EXPAT
> disabled, the below snippet is from the ASP distribution
> make_httpd/build_httpds.sh build file.  For some reason,
> the EXPAT that apache builds with and the EXPAT that
> perl builds with conflict.  I don't even know why one
> would want EXPAT compiled into apache.
> 
> --Josh
> 
> # APACHE
> cd ../$APACHE
> echo
> echo "Building apache =============================="
> echo
> sleep 1;
> ./configure \
>     --prefix=/usr/local/apache \
>     --activate-module=src/modules/perl/libperl.a \
>     --activate-module=src/modules/php4/libphp4.a \
>     --enable-module=ssl \
>     --enable-module=proxy \
>     --enable-module=so \
>     --disable-rule=EXPAT
> 
> #make certificate
> #make clean
> make
> make install
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> For additional commands, e-mail: asp-help@perl.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message