XML-Parser - Re: Cannot get XML::Parser working!

Posted on Tue Aug 29 07:30:12 2006 by kida in response to 2851 (See the whole thread of 6)
Re: Cannot get XML::Parser working!
Here is a more readable version of the question
When I do perl Makefile.PL - its fine:
Then the make I get:
.
.
.

make[1]: Entering directory `/home/myhome/src/XML-Parser-2.34/Expat'
gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64
-DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" -fPIC
"-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" Expat.c
Expat.xs: In function `startElement':
Expat.xs:501: warning: comparison is always false due to limited range of data type
Expat.xs: In function `XS_XML__Parser__Expat_LoadEncoding':
Expat.xs:2043: warning: comparison is always false due to limited range of data type

Expat.xs:2044: warning: comparison is always false due to limited range of data type
Running Mkbootstrap for XML::Parser::Expat ()
.
.
.

I'm not sure if that is bad or a bogus error, but the make does happen without any 'errors'.

When i do make test, all the tests fail, and among them, i get this error:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/astress.........Can't load
'/home/myhome/src/XML-Parser-2.34/blib/arch/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: libexpat.so.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230. at /home/myhome/src/XML-Parser-2.34/blib/lib/XML/Parser.pm line 14 Compilation failed in require at /home/myhome/src/XML-Parser-2.34/blib/lib/XML/Parser.pm line 14. BEGIN failed--compilation aborted at /home/myhome/src/XML-Parser-2.34/blib/lib/XML/Parser.pm line 18.
Compilation failed in require at t/astress.t line 11.
BEGIN failed--compilation aborted at t/astress.t line 11.
t/astress.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-27


The thing is Expat.so DOES exist in that directory!

I've tried installing expat-2.0 separately, but no dice. nothing is working. help?

Kid-A
Direct Responses: 2853 | Write a response