Thanks to all who have responded so far.
OK then. I've managed to build PHP and XML::Sablotron against Sablotron 0.5
Both PHP and Perl (in & outside of modperl) work fine on the tests so far.
[ FWIW , the XML::Sablotron works fine again the precompiled binary installation of
Sablotron but not against the libraries built from source. To throw a wrench in the
works, the binary version of sabcmd has a library dependency not present in the
source version. Whatever... ]
So now then, in theory, I have no use of the old Expat anywhere.
But... still no joy !
the last few lines of the back trace are different, but still much the same.
Program received signal SIGSEGV, Segmentation fault.
0x135280 in Perl_sv_setiv ()
(gdb) bt
#0 0x135280 in Perl_sv_setiv ()
#1 0x60088 in XS_Apache__Server_loglevel ()
#2 0xef164e30 in parse_stream ()
from
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/XML/Parser/Expat/Expat.so
#3 0xef16a1b0 in XS_XML__Parser__Expat_ParseStream ()
from
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/XML/Parser/Expat/Expat.so
#4 0x13303c in Perl_pp_entersub ()
#5 0x12c03c in Perl_runops_standard ()
Its found the right place to look if nothing else. :-)
I'm beginning to wonder if it is anything to do with XML::Parser at all, that just
happens to be a case which causes it to fail. I confess to only having a vague
understanding of XS, but my gut feel is that it ain't happening properly. Something
peculiar I did notice though.
When I compile any apache module (PHP, auth_ldap) against APXS I notice these
flags are always passed in
gcc -c- g -02 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=260 -DMOD_PERL -DUSE_PERL_SSI
-DUSE_EXPAT
^^^^^^^^^^^^^
Why is that still there, when Apache was built with --disable-rule=EXPAT ?
Tim
Matt Sergeant wrote:
> On Wed, 14 Feb 2001, tim fulcher wrote:
>
> > Matt Sergeant wrote:
> >
> > > On Wed, 14 Feb 2001, tim fulcher wrote:
> > >
> > > > Hi
> > > >
> > > > finally build PHP4 as
> > > >
> > > > ./configure --with-apxs=/export/tools/apache/bin/apxs
> > > > --prefix=/export/tools --with-ldap --disable-xml \
> > > > --with-sablot=/export/tools/Sablot-0.44
> > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >
> > > This is most likely your problem. Try with Sablot 0.50 which links to the
> > > same expat as XML::Parser
> >
> > I was sticking with 0.44 because at least it worked. In fact if you think
> > Sablotron 0.44 was the problem with my earlier builds, howcome XML::Sabloton
> > operated just fine under mod_perl ?
>
> *shrug*... Its all a mystery to me :-)
>
> Try the PHP lists.