When i try to install using the command:
cpan -i Class::MethodMaker
================================================================
[amgupta@xxxxxxxx libexec]$ sudo cpan -i Class::MethodMaker
[sudo] password for amgupta:
Fetching with LWP:
http://mirror.datapipe.net/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[Can't connect to myproxy.mydomain.com:0000 (Bad hostname)]
Proxy authentication needed!
(Note: to permanently configure username and password run
o conf proxy_user your_username
o conf proxy_pass your_password
)
Username: amgupta
================================================================================
I also tried to install by entering into the CPAN and it gave the following error:
====================================================================================
Running install for module 'Class::MethodMaker'
Running make for S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-2.24.tar.gz
Fetching with LWP:
http://mirrors.sonic.net/cpan/authors/i ... .24.tar.gz
Fetching with LWP:
http://mirrors.sonic.net/cpan/authors/i ... /CHECKSUMS
Checksum for /home/amgupta/.cpan/sources/authors/id/S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-2.24.tar.gz ok
CPAN.pm: Building S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-2.24.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Class::MethodMaker
Writing MYMETA.yml and MYMETA.json
/usr/bin/perl cmmg.pl components/array.m > lib/Class/MethodMaker/array.pm
Can't locate Fatal.pm in @INC (@INC contains: /home/amgupta/.cpan/build/Test-Simple-1.302171-XR6zyb/blib/arch /home/amgupta/.cpan/build/Test-Simple-1.302171-XR6zyb/blib/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at cmmg.pl line 7.
BEGIN failed--compilation aborted at cmmg.pl line 7.
make: *** [lib/Class/MethodMaker/array.pm] Error 2
SCHWIGON/class-methodmaker/Class-MethodMaker-2.24.tar.gz
/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
Failed during this command:
EXODIST/Test-Simple-1.302171.tar.gz : install NO
SCHWIGON/class-methodmaker/Class-MethodMaker-2.24.tar.gz: make NO
cpan[2]> exit
Terminal does not support GetHistory.
Lockfile removed.
*** Remember to restart your shell before running cpan again ***