Great Circle Associates Majordomo-Workers
(August 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: PERL Module Installation via CPAN Output
From: Craig Hartnett <subs @ niner . net>
Date: Sun, 27 Aug 2000 16:39:42 -0700
To: majordomo-workers @ greatcircle . com
Network_provider: NinerNet Communications - http://www.niner.net

niner: {4} % perl5 -MCPAN -e'CPAN::Shell->install("Mail::Internet")'
We have to reconfigure CPAN.pm due to following uninitialized parameters:

urllist

/usr/home/niner/.cpan/CPAN/MyConfig.pm initialized.


CPAN is the world-wide archive of perl resources. It consists of about
100 sites that all replicate the same contents all 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, you have to configure it properly.

If you do not want to enter a dialog now, you can answer 'no' to this
question and I'll try to autoconfigure. (Note: you can revisit this
dialog anytime later by typing 'o conf init' at the cpan prompt.)

Are you ready for manual configuration? [yes]


The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide directory or a personal directory.



I see you already have a  directory
     /root/.cpan
Shall we use it as the general CPAN build and cache directory?

CPAN build and cache directory? [/root/.cpan]
Couldn't find directory /root/.cpan
   or directory is not writable. Please retry.
CPAN build and cache directory? [/root/.cpan] .cpan


If you want, I can keep the source files after a build in the cpan
home directory. If you choose so then future builds will take the
files from there. If you don't want to keep them, answer 0 to the
next question.



How big should the disk cache be for keeping the build directories
with all the intermediate files?

Cache size for build directory (in MB)? [10]


By default, each time the CPAN module is started, cache scanning
is performed to keep the cache size in sync. To prevent from this,
disable the cache scanning with 'never'.

Perform cache scanning (atstart or never)? [atstart]


The CPAN module can detect when a module that which you are trying to
build depends on prerequisites. If this happens, it can build the
prerequisites for you automatically ('follow'), ask you for
confirmation ('ask'), or just ignore them ('ignore'). Please set your
policy to one of the three values.

Policy on building prerequisites (follow, ask or ignore)? [follow]


The CPAN module will need a few external programs to work
properly. Please correct me, if I guess the wrong path for a program.
Don't panic if you do not have some of them, just press ENTER for
those.

Where is your gzip program? [/usr/contrib/bin/gzip]
Where is your tar program? [/bin/tar]
Where is your unzip program? [/usr/contrib/bin/unzip]
Where is your make program? [/usr/bin/make]
Where is your lynx program? [/usr/local/bin/lynx]
Warning: ncftpget not found in PATH
Where is your ncftpget program? []
Where is your ncftp program? [/usr/local/bin/ncftp]
Where is your ftp program? [/usr/bin/ftp]
What is your favorite pager program? [/usr/local/bin/less]
What is your favorite shell? [/bin/csh]


Every Makefile.PL is run by perl in a separate process. Likewise we
run 'make' and 'make install' in processes. If you have any parameters
(e.g. PREFIX, INSTALLPRIVLIB, UNINST or the like) you want to pass to
the calls, please specify them here.

If you don't understand this question, just press ENTER.

Parameters for the 'perl Makefile.PL' command? []
Parameters for the 'make' command? []
Parameters for the 'make install' command? []


Sometimes you may wish to leave the processes run by CPAN alone
without caring about them. As sometimes the Makefile.PL contains
question you're expected to answer, you can set a timer that will
kill a 'perl Makefile.PL' process after the specified time in seconds.

If you set this value to 0, these processes will wait forever. This is
the default and recommended setting.

Timeout for inactivity during Makefile.PL? [0]


If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.

Your ftp_proxy?
Your http_proxy?
Your no_proxy?
You have no .cpan/sources/MIRRORED.BY
   I'm trying to fetch one
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY
Fetching with LWP:
   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY.gz

   Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
   if you just type
       install Bundle::libnet


Trying with "/usr/local/bin/lynx -source" to get
     ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY


Now we need to know where your favorite CPAN sites are located. Push
a few sites onto the array (just in case the first on the array won't
work). If you are mirroring CPAN to your local workstation, specify a
file: URL.

First, pick a nearby continent and country (you can pick several of
each, separated by spaces, or none if you just want to keep your
existing selections). Then, you will be presented with a list of URLs
of CPAN mirrors in the countries you selected, along with previously
selected URLs. Select some of those URLs, or just keep the old list.
Finally, you will be prompted for any extra URLs -- file:, ftp:, or
http: -- that host a CPAN mirror.

(1) Africa
(2) Asia
(3) Australasia
(4) Central America
(5) Europe
(6) North America
(7) South America
Select your continent (or several nearby continents) [] 6

(1) Canada
(2) Mexico
(3) United States
Select your country (or several nearby countries) [] 1

(1) ftp://cpan.chebucto.ns.ca/pub/CPAN/
(2) ftp://ftp.crc.ca/pub/packages/lang/perl/CPAN/
(3) ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/
(4) ftp://theoryx5.uwinnipeg.ca/pub/CPAN/
Select as many URLs as you like [] 3

Enter another URL or RETURN to quit: []
New set of picks:
   ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/


commit: wrote /usr/home/niner/.cpan/CPAN/MyConfig.pm

Trying with "/usr/local/bin/lynx -source" to get
     ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/authors/01mailrc.txt.gz
sh: /usr/bin/gzip: not found

System call "/usr/local/bin/lynx -source 
'ftp://sunsite.ualberta.ca/pub/Mirror/C
PAN/authors/01mailrc.txt.gz'  > .cpan/sources/authors/01mailrc.txt"
returned status 0 (wstat 0)

Trying with "/usr/local/bin/ncftp -c" to get
     ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/authors/01mailrc.txt.gz
Going to read .cpan/sources/authors/01mailrc.txt.gz

Trying with "/usr/local/bin/lynx -source" to get
     ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/modules/02packages.details.txt.gz
sh: /usr/bin/gzip: not found

System call "/usr/local/bin/lynx -source 
'ftp://sunsite.ualberta.ca/pub/Mirror/C
PAN/modules/02packages.details.txt.gz'  > 
.cpan/sources/modules/02packages.detai
ls.txt"
returned status 0 (wstat 0)

Trying with "/usr/local/bin/ncftp -c" to get
     ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/modules/02packages.details.txt.gz
Going to read .cpan/sources/modules/02packages.details.txt.gz
Scanning cache .cpan/build for sizes

   There's a new CPAN.pm version (v1.57) available!
   You might want to try
     install Bundle::CPAN
     reload cpan
   without quitting the current session. It should be a seamless upgrade
   while we are running...


Trying with "/usr/local/bin/lynx -source" to get
     ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/modules/03modlist.data.gz
sh: /usr/bin/gzip: not found

System call "/usr/local/bin/lynx -source 
'ftp://sunsite.ualberta.ca/pub/Mirror/C
PAN/modules/03modlist.data.gz'  > .cpan/sources/modules/03modlist.data"
returned status 0 (wstat 0)

Trying with "/usr/local/bin/ncftp -c" to get
     ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/modules/03modlist.data.gz
Going to read .cpan/sources/modules/03modlist.data.gz
Running make for G/GB/GBARR/MailTools-1.1401.tar.gz

Trying with "/usr/local/bin/lynx -source" to get
     ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/authors/id/G/GB/GBARR/MailTools-1.
1401.tar.gz
CPAN: MD5 loaded ok

Trying with "/usr/local/bin/lynx -source" to get
     ftp://sunsite.ualberta.ca/pub/Mirror/CPAN/authors/id/G/GB/GBARR/CHECKSUMS
.cpan/sources/authors/id/G/GB/GBARR/MailTools-1.1401.tar.gz: No such file 
or dir
ectory
Checksum mismatch for distribution file. Please investigate.

Distribution id = G/GB/GBARR/MailTools-1.1401.tar.gz
     CALLED_FOR   Mail::Internet
     CPAN_USERID  GBARR (Graham Barr <gbarr@pobox.com>)
     MD5_STATUS
     localfile    .cpan/sources/authors/id/G/GB/GBARR/MailTools-1.1401.tar.gz

I'd recommend removing
.cpan/sources/authors/id/G/GB/GBARR/MailTools-1.1401.tar.gz. It seems to
be a bogus file. Maybe you have configured your `urllist' with a
bad URL. Please check this array with `o conf urllist', and
retry.

sh: cannot open .cpan/sources/authors/id/G/GB/GBARR/MailTools-1.1401.tar.gz: no
such file
tar: End of archive volume 1 reached

ATTENTION! tar archive volume change required.
Ready for archive volume: 1
Input archive name or "." to quit tar.
Archive name >
Empty file name, try again
Input archive name or "." to quit tar.
Archive name > idunno
tar: Failed open to read on idunno <No such file or directory>
Cannot open idunno, try again
Input archive name or "." to quit tar.
Archive name > .
Quitting tar!
tar: Sorry, unable to determine archive format.
Could not open >.cpan/build/GBARR000/Makefile.PL at 
/usr/local/lib/perl5/5.00503
/CPAN.pm line 4006
niner: {5} %



Indexed By Date Previous: Fwd: Re: Fwd: Mj2 Installation
From: Craig Hartnett <subs@niner.net>
Next: Re: Fwd: Re: Fwd: Mj2 Installation
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Indexed By Thread Previous: Mj2 Installation Output
From: Craig Hartnett <subs@niner.net>
Next: demonstration: setuid wrappers are insecure?
From: SRE <eckert@climber.org>

Google
 
Search Internet Search www.greatcircle.com