# perl -MCPAN -e "install Net::SSLeay"
CPAN is the world-wide archive of perl resources. It consists of about
300 sites that all replicate the same contents around the globe. Many
countries have at least one CPAN site already. The resources found on
CPAN are easily accessible with the CPAN.pm module. If you want to use
CPAN.pm, lots of things have to be configured. Fortunately, most of
them can be determined automatically. If you prefer the automatic
configuration, answer 'yes' below.
If you prefer to enter a dialog instead, you can answer 'no' to this
question and I'll let you configure in small steps one thing after the
other. (Note: you can revisit this dialog anytime later by typing 'o
conf init' at the cpan prompt.)
Would you like me to configure as much as possible automatically? [yes]
Autoconfigured everything but 'urllist'.
Now you need to choose your CPAN mirror sites. You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.
Would you like me to automatically choose the best CPAN mirror
sites for you? (This means connecting to the Internet and could
take a couple minutes) [yes]
Trying to fetch a mirror list from the Internet
LWP not available
LWP not available
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
Searching for the best CPAN mirrors (please be patient) ............................................ ........................................... done!
New urllist
ftp://cpan-sj.viaverio.com/pub/CPAN/
ftp://CPAN.mirror.rafal.ca/pub/CPAN/
ftp://ftp.osuosl.org/pub/CPAN/
ftp://cpan.pair.com/pub/CPAN/
ftp://cpan.erlbaum.net/CPAN/
Autoconfiguration complete.
commit: wrote '/usr/perl5/5.12/lib/CPAN/Config.pm'
LWP not available
Fetching with Net::FTP:
ftp://cpan-sj.viaverio.com/pub/CPAN/...1mailrc.txt.gz
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
LWP not available
Fetching with Net::FTP:
ftp://cpan-sj.viaverio.com/pub/CPAN/...details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Fri, 03 Feb 2012 12:13:20 GMT
HTTP:: Date not available
..............
New CPAN.pm version (v1.9800) available.
[Currently running version is v1.9456]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
..............................................................DONE
LWP not available
Fetching with Net::FTP:
ftp://cpan-sj.viaverio.com/pub/CPAN/...odlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /root/.cpan/Metadata
Running install for module 'Net::SSLeay'
Running make for M/MI/MIKEM/Net-SSLeay-1.42.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan-sj.viaverio.com/pub/CPAN/...ay-1.42.tar.gz
LWP not available
Fetching with Net::FTP:
ftp://cpan-sj.viaverio.com/pub/CPAN/...IKEM/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/M/MI/MIKEM/Net-SSLeay-1.42.tar.gz ok
CPAN.pm: Going to build M/MI/MIKEM/Net-SSLeay-1.42.tar.gz
Cannot determine license info from lib/Net/SSLeay.pm
Unresolvable missing external dependency.
This package requires a C compiler.
NA: Unable to build distribution on this platform.
No 'Makefile' created'YAML' not installed, will not store persistent state
MIKEM/Net-SSLeay-1.42.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
# pkginfo | grep -i gcc
application SMCgcc gcc
system SUNWgccruntime GCC Runtime libraries