Need Help with XML::Parser
am 05.07.2005 21:53:14 von MarvRunning Perl 5.6.0 on AIX 5.1, Have installed Expat and XML::Parser
modules and run make test successfully, still get the following error
whenever I try use "use XML::Parser" even though Parser.pm is present.
Greatly appreciate any advice on how to procede (not a guru by any
stretch):
Can't locate XML/Parser.pm in @INC (@INC contains:
/usr/opt/perl5/lib/5.6.0/aix /usr/opt/perl5/lib/5.
6.0 /usr/opt/perl5/lib/site_perl/5.6.0/aix
/usr/opt/perl5/lib/site_perl/5.6.0 /usr/opt/perl5/lib/site
_perl .) at /afs/btv.ibm.com/u1/marv/RVSI/prebumpg852upixmap.pl line 7.
BEGIN failed--compilation aborted at
/afs/btv.ibm.com/u1/marv/RVSI/prebumpg852upixmap.pl line 7.
Results of make are:
$ make
cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -q3
2 -D_LARGE_FILES -qlonglong -O -DVERSION=\"2.34\"
-DXS_VERSION=\"2.34\" -
I/usr/opt/perl5/lib/5.6.0/aix/CORE Expat.c
Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
LD_RUN_PATH="/lib" ld -o
.../blib/arch/auto/XML/Parser/Expat/Expat.so -b
halt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp
-bE:Expat.exp -b n
oentry -lC -lc Expat.o -lexpat
chmod 755 ../blib/arch/auto/XML/Parser/Expat/Expat.so
cp Expat.bs ../blib/arch/auto/XML/Parser/Expat/Expat.bs
chmod 644 ../blib/arch/auto/XML/Parser/Expat/Expat.bs
Manifying ../blib/man3/XML::Parser::Expat.3
Manifying blib/man3/XML::Parser::Style::Tree.3
Manifying blib/man3/XML::Parser::Style::Stream.3
Manifying blib/man3/XML::Parser.3
Manifying blib/man3/XML::Parser::Style::Subs.3
Manifying blib/man3/XML::Parser::Style::Objects.3
Manifying blib/man3/XML::Parser::Style::Debug.3
Target "makemakerdflt" is up to date.
Results of make test are:
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/opt/perl5/
lib/5.6.0/aix -I/usr/opt/perl5/lib/5.6.0 -e 'use Test::Harness
qw(&runtests $ver
bose); $verbose=0; runtests @ARGV;' t/*.t
t/astress...........ok
t/cdata.............ok
t/decl..............ok
t/defaulted.........ok
t/encoding.........."my" variable $p masks earlier declaration in same
scope at
t/encoding.t line 94.
t/encoding..........ok
t/external_ent......Couldn't load LWP based external entity handler
Switching to file-based external entity handler
(To avoid this message, use NoLWP option to XML::Parser)
t/external_ent......ok
t/file..............ok
t/finish............ok
t/namespaces........ok
t/parament..........Couldn't load LWP based external entity handler
Switching to file-based external entity handler
(To avoid this message, use NoLWP option to XML::Parser)
t/parament..........ok
t/partial...........ok
t/skip..............ok
t/stream............ok
t/styles............ok
All tests successful.
Files=14, Tests=130, 3 wallclock secs ( 1.81 cusr + 0.35 csys = 2.16
CPU)
Target "test" is up to date.
And make install (edited a bit for space):
$ make install
Installing
/usr/opt/perl5/lib/site_perl/5.6.0/aix/auto/XML/Parser/Expat /Expat.so
Skipping
/usr/opt/perl5/lib/site_perl/5.6.0/aix/auto/XML/Parser/Expat /Expat.bs (
unchanged)
Files found in blib/arch: installing files in blib/lib into
architecture depende
nt library tree
Skipping /usr/opt/perl5/lib/site_perl/5.6.0/aix/XML/Parser.pm
(unchanged)
Skipping
/usr/opt/perl5/lib/site_perl/5.6.0/aix/XML/Parser/LWPExternE nt.pl (unch
anged)
Skipping /usr/opt/perl5/lib/site_perl/5.6.0/aix/XML/Parser/Expat.pm
(unchanged)
Skipping
/usr/opt/perl5/lib/site_perl/5.6.0/aix/XML/Parser/Style/Debu g.pm (uncha
nged)
..
..
..
Skipping
/usr/opt/perl5/lib/site_perl/5.6.0/aix/XML/Parser/Encodings/ x-euc-jp-un
icode.enc (unchanged)
Installing /usr/share/man/man3/XML::Parser::Expat.3
Installing /usr/share/man/man3/XML::Parser::Style::Tree.3
Installing /usr/share/man/man3/XML::Parser::Style::Stream.3
Installing /usr/share/man/man3/XML::Parser.3
Installing /usr/share/man/man3/XML::Parser::Style::Subs.3
Installing /usr/share/man/man3/XML::Parser::Style::Objects.3
Installing /usr/share/man/man3/XML::Parser::Style::Debug.3
Writing
/usr/opt/perl5/lib/site_perl/5.6.0/aix/auto/XML/Parser/.pack list
Appending installation info to
/usr/opt/perl5/lib/5.6.0/aix/perllocal.pod
Target "install" is up to date.