Re: [xml] segfault and a possible fix in parser.c

On Tuesday 09 November 2004 17:55, Daniel Veillard wrote:
On Mon, Nov 01, 2004 at 01:33:49PM +0100, Petr Pajas wrote:
I had to wait till now for the anon-cvs to catch up. Works fine,
thanks. You can always test against CVS XML::LibXML as follows:

cvs -z3 -d:pserver:anonymous axkit org:/home/cvs co XML-LibXML
perl Makefile.PL
make test

  Hum, I get
  Failed 27/27 test scripts, 0.00% okay. 686/686 subtests failed, 0.00%

All tests seems to fail on compilation:
BEGIN failed--compilation aborted at
/u/veillard/XML-LibXML/blib/lib/XML/ line 12. Compilation failed

Right, line 12 loads XML::LibXML::Common module. This one is packaged 
separately and you have to install it first. I completely forgot about that, 
that's why I didn't mention it before, sorry about that. The easiest way is 
to get it is to grab this module from CPAN (I don't know if there is a public 
CVS, but this module almost never changes anyway, so there's no need to 
update it "ever"):

and install it using

perl Makefile.PL && make &&  make test && make install

After that, the tests will hopefully do better :-)

BTW, all test pass on my box (perl 5.8.3, SuSE) with a fresh anon-CVS snapshot 
of libxml2 :-)

 - Petr

in require at t/28new_callbacks_multiple.t line 5. BEGIN
failed--compilation aborted at t/28new_callbacks_multiple.t line 5. #
Failed test 1 in t/28new_callbacks_multiple.t at line 4
#  t/28new_callbacks_multiple.t line 4 is: END { ok(0) unless $loaded }
        Test returned status 2 (wstat 512, 0x200)

  I don't know perl :-\ Tried with perl-5.8.0-88.7 on a RHEL3 setup,
any idea ?


Attachment: pgpXAiD7io6lV.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]