no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | tech:others:cpan [2014/11/15 15:13] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Installed CPAN on Ubuntu ====== | ||
| + | |||
| + | Command: perl -MCPAN -e shell | ||
| + | |||
| + | Reply: | ||
| + | < | ||
| + | / | ||
| + | |||
| + | 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 ' | ||
| + | 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? | ||
| + | CPAN build and cache directory? [/ | ||
| + | Cache size for build directory (in MB)? [10] | ||
| + | Perform cache scanning (atstart or never)? [atstart] | ||
| + | Cache metadata (yes/no)? [yes] | ||
| + | Your terminal expects ISO-8859-1 (yes/no)? [yes] | ||
| + | File to save your history? [/ | ||
| + | Number of lines to save? [100] | ||
| + | Policy on building prerequisites (follow, ask or ignore)? [ask] follow | ||
| + | Where is your gzip program? [/bin/gzip] | ||
| + | Where is your tar program? [/bin/tar] | ||
| + | Where is your unzip program? [/ | ||
| + | Where is your make program? [/ | ||
| + | Warning: lynx not found in PATH | ||
| + | (used another console to install lynx and entered location) | ||
| + | Where is your lynx program? [] / | ||
| + | Where is your wget program? [/ | ||
| + | Warning: ncftpget not found in PATH | ||
| + | (used another console to install ncftp and entered location) | ||
| + | Where is your ncftpget program? [] / | ||
| + | Where is your ftp program? [/ | ||
| + | Where is your gpg program? [/ | ||
| + | What is your favorite pager program? [/ | ||
| + | What is your favorite shell? [/bin/bash] | ||
| + | Parameters for the 'perl Makefile.PL' | ||
| + | Your choice: | ||
| + | Parameters for the ' | ||
| + | Your choice: | ||
| + | Parameters for the 'make install' | ||
| + | Your choice: | ||
| + | Timeout for inactivity during Makefile.PL? | ||
| + | Your ftp_proxy? | ||
| + | Your http_proxy? | ||
| + | Your no_proxy? | ||
| + | Select your continent (or several nearby continents) [] 6 | ||
| + | Select your country (or several nearby countries) [] 4 | ||
| + | |||
| + | commit: wrote / | ||
| + | edited file with: | ||
| + | ' | ||
| + | ' | ||
| + | </ | ||
| + | |||
| + | |||
| + | Then went back to cpan using: "perl -MCPAN -e" and did " | ||
| + | |||
| + | Reponse was long and painful! | ||
| + | |||
| + | < | ||
| + | The following questions all require a list of host names, separated | ||
| + | with spaces. If you do not have a host available for any of the | ||
| + | services, then enter a single space, followed by <CR>. To accept the | ||
| + | default, hit <CR> | ||
| + | |||
| + | Enter a list of available NNTP hosts : [] | ||
| + | Enter a list of available SMTP hosts : [] | ||
| + | Enter a list of available POP3 hosts : [] | ||
| + | Enter a list of available SNPP hosts : [] | ||
| + | Enter a list of available PH Hosts : [] | ||
| + | Enter a list of available TIME Hosts : [] | ||
| + | Enter a list of available DAYTIME Hosts : [] | ||
| + | |||
| + | Do you have a firewall/ | ||
| + | |||
| + | If you use a SOCKS firewall answer no | ||
| + | |||
| + | (y|n) ? [no] | ||
| + | |||
| + | Should all FTP connections be passive (y|n) ? [no] y | ||
| + | |||
| + | What is your local internet domain name : [] chennai.cc | ||
| + | |||
| + | If you specified some default hosts above, it is possible for me to | ||
| + | do some basic tests when you run `make test' | ||
| + | |||
| + | This will cause `make test' to be quite a bit slower and, if your | ||
| + | internet connection is via dialup, will require you to be on-line | ||
| + | unless the hosts are local. | ||
| + | |||
| + | Do you want me to run these tests (y|n) ? [yes] n | ||
| + | </ | ||
| + | |||
| + | Next did "perl -MCPAN -e shell" again and got | ||
| + | |||
| + | < | ||
| + | Sorry, we have to rerun the configuration dialog for CPAN.pm due to | ||
| + | some missing parameters... | ||
| + | |||
| + | Normally CPAN.pm keeps config variables in memory and changes need to | ||
| + | be saved in a separate 'o conf commit' | ||
| + | between sessions. If you set the ' | ||
| + | to a config variable are always automatically committed to disk. | ||
| + | |||
| + | < | ||
| + | Always commit changes to config variables to disk? [no] yes | ||
| + | |||
| + | A Build.PL is run by perl in a separate process. Likewise we run | ||
| + | ' | ||
| + | parameters you want to pass to the calls, please specify them here. | ||
| + | |||
| + | Typical frequently used settings: | ||
| + | |||
| + | --install_base / | ||
| + | |||
| + | < | ||
| + | Parameters for the 'perl Build.PL' | ||
| + | |||
| + | Parameters for the ' | ||
| + | |||
| + | --extra_linker_flags -L/ | ||
| + | |||
| + | < | ||
| + | Your choice: [] | ||
| + | |||
| + | Do you want to use a different command for ' | ||
| + | users will probably prefer: | ||
| + | |||
| + | su root -c ./Build | ||
| + | or | ||
| + | sudo ./Build | ||
| + | or | ||
| + | / | ||
| + | |||
| + | < | ||
| + | or some such. Your choice: [./Build] | ||
| + | |||
| + | Parameters for the ' | ||
| + | setting: | ||
| + | |||
| + | --uninst 1 # uninstall conflicting files | ||
| + | |||
| + | < | ||
| + | Your choice: [] | ||
| + | |||
| + | |||
| + | |||
| + | Unknown config variable ' | ||
| + | commit: wrote '/ | ||
| + | |||
| + | cpan shell -- CPAN exploration and modules installation (v1.9402) | ||
| + | Enter ' | ||
| + | </ | ||
| + | |||
| + | Then finally did " | ||
| + | |||