Hi Chasecreek,

Tks for your advice.

- snip - 
> Try this
> 
> perl -MCPAN -e shell
> 
> Then, at the CPAN prompt ( cpan> )
> 
> type:
> 
> o conf init
> 
> Answer all the qeustions;
> 
> After you are done, again at t.CPAN prompt type
> 
> install Bundle::CPAN

Ran above commands.  I don't known whether I have made
wrong selection on answering the questions.  

The printout on the termainal is as follow;

# perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules
installation (v1.7601)
ReadLine support available (try 'install
Bundle::CPAN')

cpan> o conf init

/usr/lib/perl5/5.8.3/CPAN/Config.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] 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] yes
The path 'yes' is not an absolute path. Please specify
an absolute path
CPAN build and cache directory? [/home/satimis/yes]
/root/,cpan/yes
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.

Cache size for build directory (in MB)? [10]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]
atstart

To considerably speed up the initial CPAN shell
startup, it is
possible to use Storable to create a cache of
metadata. If Storable
is not available, the normal index mechanism will be
used.

Cache metadata (yes/no)? [yes] yes

The next option deals with the charset your terminal
supports. In
general CPAN is English speaking territory, thus the
charset does not
matter much, but some of the aliens out there who
upload their
software to CPAN bear names that are outside the ASCII
range. If your
terminal supports UTF-8, you say no to the next
question, if it
supports ISO-8859-1 (also known as LATIN1) then you
say yes, and if it
supports neither nor, your answer does not matter, you
will not be
able to read the names of some authors anyway. If you
answer no, names
will be output in UTF-8.

Your terminal expects ISO-8859-1 (yes/no)? [yes] no

If you have one of the readline packages
(Term::ReadLine::Perl,
Term::ReadLine::Gnu, possibly others) installed, the
interactive CPAN
shell will have history support. The next two
questions deal with the
filename of the history file and with its size. If you
do not want to
set this variable, please hit SPACE RETURN to the
following question.

File to save your history? [/root/.cpan/histfile]
<space>

File to save your history? [/root/.cpan/histfile]
Number of lines to save? [100] <Enter>

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)? [ask] <ENTER>

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. To
disable the use of a download program, you can type a
space followed
by ENTER.

Where is your gzip program? [/usr/bin/gzip]<Enter>
Where is your tar program? [/bin/tar]<Enter>
Where is your unzip program? [/usr/bin/unzip]<Enter>
Where is your make program? [/usr/bin/make]<Enter>
Where is your links program? [/usr/bin/links]<Enter>
Where is your wget program? [/usr/bin/wget]<Enter>
Where is your ncftpget program?
[/usr/bin/ncftpget]<Enter>
Where is your ftp program? [/usr/bin/ftp]<Enter>
Where is your gpg program? [/usr/bin/gpg]<Enter>
What is your favorite pager program?
[/usr/bin/less]<Enter>
What is your favorite shell? [/bin/bash]<Enter>

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, LIB, 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?
Typical frequently used settings:

    PREFIX=~/perl       non-root users (please see
manual for more hints)

Your choice:  []<Enter>

Parameters for the 'make' command?
Typical frequently used setting:

    -j3              dual processor system

Your choice:  [] -j3

Parameters for the 'make install' command?
Typical frequently used setting:

    UNINST=1         to always uninstall potentially
conflicting files

Your choice:  [-j3]<Enter>

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]<Enter>

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?  no
Your http_proxy? no
Your no_proxy?  no

If your proxy is an authenticating proxy, you can
store your username
permanently. If you do not want that, just press
RETURN. You will then
be asked for your username in every future session.

Your proxy user id? <Enter>

(1) ftp://ftp.shellhung.org/pub/CPAN
(2) ftp://mirrors.hknet.com/CPAN
(3) http://cpan.linuxforum.net/
Select as many URLs as you like (by number),
put them on one line, separated by blanks, e.g. '1 4
5' [] 1 2 3

Enter another URL or RETURN to quit: []<Enter>

commit: wrote /usr/lib/perl5/5.8.3/CPAN/Config.pm

cpan> 



Running 'install Bundle::CPAN'
.......
.......
Running make install
Appending installation info to
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod
Installing
/usr/lib/perl5/site_perl/5.8.3/Archive/Tar.pm
Installing
/usr/lib/perl5/site_perl/5.8.3/Archive/Tar/Constant.pm
Installing
/usr/lib/perl5/site_perl/5.8.3/Archive/Tar/File.pm
Installing /usr/share/man/man3/Archive::Tar.3pm
Installing /usr/share/man/man3/Archive::Tar::File.3pm
Installing /usr/bin/ptar
Writing
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Archive/Tar/.packlist
  /usr/bin/make install -j3 -- OK


Please advise if I answered wrongly to any questions
and how to rectify the wrong answer.  TIA

B.R.
Stephen





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to