M
MaDuNiX
I am trying to install Bundle CPAN on my AIX 5.1
perl -MCPAN -e 'install Bundle::CPAN'
.....................
cp ReadKey.pm blib/lib/Term/ReadKey.pm
AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
/usr/bin/perl "-I/usr/opt/perl5/lib/5.6.0/aix"
"-I/usr/opt/perl5/lib/5.6.0" -e 'use ExtUtils::Mksymlists;
Mksymlists("NAME" => "Term::ReadKey", "DL_FUNCS" => { }, "FUNCLIST" => [],
"DL_VARS" => []);'
/usr/bin/perl -I/usr/opt/perl5/lib/5.6.0 genchars.pl
Writing termio/termios section of cchars.h... Done.
Checking for sgtty...
Sgtty NOT found.
Writing sgtty section of cchars.h... Done.
/usr/bin/perl -I/usr/opt/perl5/lib/5.6.0/aix -I/usr/opt/perl5/lib/5.6.0
/usr/opt/perl5/lib/5.6.0/ExtUtils/xsubpp -noprototypes -typemap
/usr/opt/perl5/lib/5.6.0/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv
ReadKey.xsc ReadKey.c
cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32 -D
_LARGE_FILES -qlonglong -O -DVERSION=\"2.21\" -DXS_VERSION=\"2.21\" -
I/usr/opt/perl5/lib/5.6.0/aix/CORE ReadKey.c
/bin/sh: cc: not found.
make: 1254-004 The error code from the last command is 127.
Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Term::ReadLine:erl is up to date.
CPAN is up to date.
Bundle summary: The following items in bundle Bundle::CPAN had installation
problems:
Digest::MD5 Compress::Zlib Bundle::libnet Term::ReadKey and the following
items had problems during recursive bundle calls: Data:umper
# perl -v
This is perl, v5.6.0 built for aix
Copyright 1987-2000, 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.0 source kit.
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.com/, the Perl Home Page.
Any help?
perl -MCPAN -e 'install Bundle::CPAN'
.....................
cp ReadKey.pm blib/lib/Term/ReadKey.pm
AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
/usr/bin/perl "-I/usr/opt/perl5/lib/5.6.0/aix"
"-I/usr/opt/perl5/lib/5.6.0" -e 'use ExtUtils::Mksymlists;
Mksymlists("NAME" => "Term::ReadKey", "DL_FUNCS" => { }, "FUNCLIST" => [],
"DL_VARS" => []);'
/usr/bin/perl -I/usr/opt/perl5/lib/5.6.0 genchars.pl
Writing termio/termios section of cchars.h... Done.
Checking for sgtty...
Sgtty NOT found.
Writing sgtty section of cchars.h... Done.
/usr/bin/perl -I/usr/opt/perl5/lib/5.6.0/aix -I/usr/opt/perl5/lib/5.6.0
/usr/opt/perl5/lib/5.6.0/ExtUtils/xsubpp -noprototypes -typemap
/usr/opt/perl5/lib/5.6.0/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv
ReadKey.xsc ReadKey.c
cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -q32 -D
_LARGE_FILES -qlonglong -O -DVERSION=\"2.21\" -DXS_VERSION=\"2.21\" -
I/usr/opt/perl5/lib/5.6.0/aix/CORE ReadKey.c
/bin/sh: cc: not found.
make: 1254-004 The error code from the last command is 127.
Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Term::ReadLine:erl is up to date.
CPAN is up to date.
Bundle summary: The following items in bundle Bundle::CPAN had installation
problems:
Digest::MD5 Compress::Zlib Bundle::libnet Term::ReadKey and the following
items had problems during recursive bundle calls: Data:umper
# perl -v
This is perl, v5.6.0 built for aix
Copyright 1987-2000, 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.0 source kit.
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.com/, the Perl Home Page.
Any help?