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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]