On 10/04/2008, Mike <koldark@xxxxxxxxx> wrote:
Oh ouch... they are really getting complicated. I thought they where working
with IBM. Can't one of them provide the compiled objects?
Mike (and Mike)
Actually the perl-5.8.0@xxxxxxxxxxxxxxx file contains the pre-built
objects, and is downloadable from
http://www.cpan.org/ports/os400/perl-5.8.0@xxxxxxxxxxxxxxx (CPAN =
Comprehensive Perl Archive Network). There should be no need to
compile it from source unless you need a later version. You can use
WinZip to unpack the .tgz, though I'd recommend 7zip
<
http://www.7-zip.org/> which can extract the .tar file for you to to
/QOpenSys/ Once that's there fire up a PASE shell - CALL PGM(QP2TERM)
and at the ==> prompt type:
==> cd /
==> tar xvf /QOpenSys/perl-5.8.0@xxxxxxxxxxxxxxx
(which gives output like this)
x QOpenSys
x QOpenSys/perl
x QOpenSys/perl/bin
x QOpenSys/perl/bin/perl5.8.0, 1782610 bytes, 3482 media blocks.
tar: QOpenSys/perl/bin/perl is linked to QOpenSys/perl/bin/perl5.8.0.
x QOpenSys/perl/bin/a2p, 159797 bytes, 313 media blocks.
...
then you can type
==> ln -s /QOpenSys/perl/bin/perl /usr/bin/perl
to get a symbolic link to the perl binary in standard path. Finally type
==> perl -V
to get a detailed description of the installed version like this:
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=aix, osvers=5.1.0.0, archname=aix
uname='aix p690k 1 5 00211aaa4c00 '
Regards, Martin
As an Amazon Associate we earn from qualifying purchases.