logo       

Re: XML::LibXML-1.53: msg#00024

lang.perl.xml

Subject: Re: XML::LibXML-1.53

Joachim Bauernberger wrote:
Hi,
...
make test works in a sense that it outputs "all tests successful", but actually segfaults when running t/10functions.t by hand:

[XML-LibXSLT-1.53][jmbdev]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
...
[t][jmbdev]# perl ./10functions.t
1..14
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
Segmentation fault

One obvious difference between running 'make test' and running the test directly is that make test uses the recently built version of LibXML sitting in the blib directory whereas your simple perl command to run the test script uses the version of LibXML installed on your system.

You could try editing the command line generated by 'make test':

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib \
-I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 t/10functions.t

or you could use the 'prove' script that comes with recent versions of Test::Harness to achieve a similar thing.

Of course if you've already run 'make install' then the files from blib should have been copied to /usr/local/lib already.

Cheers
Grant


_______________________________________________
Perl-XML mailing list
Perl-XML@xxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise