James and Robert,

thanks for your response:

I do have two versions of Perl. The new version of perl understands -MCPAN
5.6.

version 5.001 does not use -MCPAN as a command parameter.
version v5.6.1 does use -MCPAN

Kenny

-----Original Message-----
From: James.FitzGibbon [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 10:22 AM
To: [EMAIL PROTECTED]
Subject: RE: Install DBI on IBM-AIX


Sounds like you have perl 4 first in your path.  First run 'perl -v' to
confirm what version you have.  If you have perl 5 installed somewhere else
(say /opt/perl5) but perl4 is in /usr/bin and /usr/bin comes before
/opt/perl5 in your path, that's the problem.

You can either fix your path or always call perl with it's fully qualified
name.

Of course, if you don't have perl5 installed on the AIX box at all, you'll
need to address that issue first.  If you can't find a binary package I can
send you the switches I use to compile it using xlC under AIX 4.3.3.  AFAIK,
AIX 4 has always had a version of perl 5, but it's very out of date.  Even
on AIX 4.3.3 I think the IBM-supplied version is 5.005_03.

I'm not sure if it was mentioned below or not, but 'ppm' is the package
installer for ActiveState perl for windows.  On UNIX , you use the CPAN
module.  Not having used ppm, I'm not sure if the interface is identical or
not.  'perldoc CPAN' will tell you more.

Regards.

-----Original Message-----
From: Kenny Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 8:52 AM
To: 'Jeff Seger'
Cc: [EMAIL PROTECTED]
Subject: RE: Install DBI on IBM-AIX

Jeff,

thanks for the quick response.

perl -MCPAN -e 'install Bundle::DBI'

gets this response:

Unrecognized switch: -MCPAN.

Kenny

Reply via email to