Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hello,

I'm trying to install XML::Parser on an AIX 5.3.0.0 box for perl 5.8.8.
This is perl, v5.8.8 built for aix Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

Unfortunately things don't work out the way I'd like. I get a clean make (using gcc 4.0.1 and expat 2.0.0):

make[1]: Entering directory `/db2/dlink/.cpan/build/XML-Parser-2.34/Ex +pat' cp Expat.pm ../blib/lib/XML/Parser/Expat.pm /dbpar/perl/bin/perl -e 'use ExtUtils::Mksymlists; \ Mksymlists("NAME" => "XML::Parser::Expat", "DL_FUNCS" => { }, "FUNCLI +ST" => [], "DL_VARS" => []);' /dbpar/perl/bin/perl /dbpar/perl/lib/5.8.8/ExtUtils/xsubpp -noprototyp +es -typemap /dbpar/perl/lib/5.8.8/ExtUtils/typemap -typemap typemap +Expat.xs > Expat.xsc && mv Expat.xsc Expat.c gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_D +LOPEN -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr +/local/include -D_LARGE_FILES -O -DVERSION=\"2.34\" -DXS_VERSION=\" +2.34\" "-I/dbpar/perl/lib/5.8.8/aix/CORE" Expat.c Running Mkbootstrap for XML::Parser::Expat () chmod 644 Expat.bs rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.so gcc -Wl,-bhalt:4 -Wl,-bexpall -Wl,-G -Wl,-bnoentry -lc -L/usr/local/l +ib Expat.o -o ../blib/arch/auto/XML/Parser/Expat/Expat.so \ -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 make[1]: Leaving directory `/db2/dlink/.cpan/build/XML-Parser-2.34/Exp +at' /dbpar/perl/bin/perl -e 'use ExtUtils::Mksymlists; \ Mksymlists("NAME" => "XML::Parser", "DL_FUNCS" => { }, "FUNCLIST" => +[], "DL_VARS" => []);' Manifying blib/man3/XML::Parser::Style::Objects.3 Manifying blib/man3/XML::Parser::Style::Debug.3 Manifying blib/man3/XML::Parser.3 Manifying blib/man3/XML::Parser::Style::Subs.3 Manifying blib/man3/XML::Parser::Style::Tree.3 Manifying blib/man3/XML::Parser::Style::Stream.3

But make test doesn't like me. I tried going through the test file itself but couldn't make heads nor tails of it... Any advice much appreciated!

make[1]: Entering directory `/db2/dlink/.cpan/build/XML-Parser-2.34/Ex +pat' make[1]: Leaving directory `/db2/dlink/.cpan/build/XML-Parser-2.34/Exp +at' PERL_DL_NONLAZY=1 /dbpar/perl/bin/perl "-MExtUtils::Command::MM" "-e" +"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/astress.........FAILED tests 19-20, 24 Failed 3/27 tests, 88.89% okay t/cdata...........ok t/decl............ok t/defaulted.......ok t/encoding........"my" variable $p masks earlier declaration in same s +cope at t/encoding.t line 94. t/encoding........ok t/external_ent....ok t/file............ok t/finish..........ok t/namespaces......ok t/parament........ok t/partial.........ok t/skip............ok t/stream..........ok t/styles..........ok Failed Test Stat Wstat Total Fail List of Failed ---------------------------------------------------------------------- +--------- t/astress.t 27 3 19-20 24 Failed 1/14 test scripts. 3/130 subtests failed. Files=14, Tests=130, 1 wallclock secs ( 0.81 cusr + 0.17 csys = 0.9 +8 CPU) Failed 1/14 test programs. 3/130 subtests failed. make: *** [test_dynamic] Error 255

In reply to Installing XML::Parser by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-20 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found