Perl 5.8.3 is severely old. The system perl (/usr/bin/perl) is probably newer than that. (5.8.8 IIRC, but I don't have an AIX 5 box anymore to check with.) Do you have to use the perl that is inside Oracle for this? I would suggest installing your own perl and using that. I've been regularly building 5.16.0 and 5.17.* ("blead") on AIX 6 and 7 (7 has a minor issue, but I think IBM has fixed it, just waiting to get the fix applied to the system to be sure). Tux has been building on 5.2 and 5.3 fairly regularly as well. This would resolve your first issue. Failing that, you may be able to "install ExtUtils::MakeMaker" - I'm not sure if that will eventually drag in a newer version of perl and then you're back to installing a private perl again anyway as I wouldn't suggest upgrading the perl included with Oracle.

It also looks like you're mixing 32-bit and 64-bit objects. Or at least 32-bit objects when perl might be compiled for 64-bit (which would make sense since the perl that comes with AIX is 32-bit). Again, a recommendation for a private perl: I've had this issue when compiling against the system perl, but never with a private perl.

I'd also be tempted to ask Oracle if they support you installing additional modules to their private perl. I'd somewhat expect a response like "Um, er... what?" which might also give you impetus to use your own perl. I do expect, however, that there should be no problem connecting to Oracle from your own private perl. You shouldn't require Oracle's perl to connect to their db.


In reply to Re: Installing WWW::Mechanize on AIX - The battle by Tanktalus
in thread Installing WWW::Mechanize on AIX - The battle by perl_monster

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.