phoenix:jv [~] % perl -v This is perl, v5.8.1 built for i386-linux-thread-multi Copyright 1987-2003, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. phoenix:jv [~] % setenv PERL5_CPANPLUS_CONFIG ~/.cpanplus/config phoenix:jv [~] % perl -MCPANPLUS -e shell CPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.03) *** Please report bugs to . *** Using CPANPLUS::Backend v0.045. ReadLine support enabled. CPAN Terminal> i Getopt::Long Checking if source files are up to date Retrieving /home/jv/.cpanplus/mailrc.2.08.stored Retrieving /home/jv/.cpanplus/dslip.2.08.stored Retrieving /home/jv/.cpanplus/packages.2.08.stored Installing: Getopt::Long Module Getopt::Long already up to date; won't install without force! Problem installed one or more modules >>>> You can take my word it isn't in the private lib. It is, however, in the system installed Perl hierarchy. CPAN Terminal> i --force Getopt::Long Installing: Getopt::Long Already downloaded /home/jv/.cpanplus/authors/id/J/JV/JV/Getopt-Long-2.34.tar.gz, won't download again without force Already downloaded /home/jv/.cpanplus/authors/id/J/JV/JV/CHECKSUMS, won't download again without force Checksum for /home/jv/.cpanplus/authors/id/J/JV/JV/Getopt-Long-2.34.tar.gz OK Untarring /home/jv/.cpanplus/authors/id/J/JV/JV/Getopt-Long-2.34.tar.gz Running [/bin/gzip -cd /home/jv/.cpanplus/authors/id/J/JV/JV/Getopt-Long-2.34.tar.gz | /bin/tar -tf -]... Extracting Getopt-Long-2.34/ Extracting Getopt-Long-2.34/examples/ Extracting Getopt-Long-2.34/examples/skel.pl Extracting Getopt-Long-2.34/lib/ Extracting Getopt-Long-2.34/lib/newgetopt.pl Extracting Getopt-Long-2.34/lib/Getopt/ Extracting Getopt-Long-2.34/lib/Getopt/Long.pm Extracting Getopt-Long-2.34/perl-Getopt-Long.spec Extracting Getopt-Long-2.34/README Extracting Getopt-Long-2.34/CHANGES Extracting Getopt-Long-2.34/MANIFEST Extracting Getopt-Long-2.34/t/ Extracting Getopt-Long-2.34/t/gol-basic.t Extracting Getopt-Long-2.34/t/gol-linkage.t Extracting Getopt-Long-2.34/t/gol-compat.t Extracting Getopt-Long-2.34/t/gol-oo.t Extracting Getopt-Long-2.34/META.yml Extracting Getopt-Long-2.34/INSTALL Extracting Getopt-Long-2.34/Makefile.PL Extracting Getopt-Long-2.34/Announce Running [/bin/gzip -cd /home/jv/.cpanplus/authors/id/J/JV/JV/Getopt-Long-2.34.tar.gz | /bin/tar -xf -]... Running [/opt/perl-5.8.1/bin/perl Makefile.PL LIB=/home/jv/lib/perl/lib PREFIX=/home/jv/lib/perl]... Checking if your kit is complete... Looks good Writing Makefile for Getopt::Long Running [/usr/bin/make]... cp lib/Getopt/Long.pm blib/lib/Getopt/Long.pm cp lib/newgetopt.pl blib/lib/newgetopt.pl Manifying blib/man3/Getopt::Long.3 Running [/usr/bin/make test]... PERL_DL_NONLAZY=1 /opt/perl-5.8.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/gol-basic......ok t/gol-compat.....ok t/gol-linkage....ok t/gol-oo.........ok All tests successful. Files=4, Tests=45, 0 wallclock secs ( 0.17 cusr + 0.01 csys = 0.18 CPU) Running [/usr/bin/make install]... Manifying blib/man3/Getopt::Long.3 Installing /home/jv/lib/perl/lib/newgetopt.pl Installing /home/jv/lib/perl/lib/Getopt/Long.pm Writing /home/jv/lib/perl/lib/i386-linux-thread-multi/auto/Getopt/Long/.packlist Appending installation info to /home/jv/lib/perl/lib/i386-linux-thread-multi/perllocal.pod Successfully installed Getopt::Long All modules installed successfully >>>> As requested, the modules get installed under /home/jv/lib/perl/lib (see the attached config). CPAN Terminal> u Getopt::Long Uninstalling: Getopt::Long Could no get files for Getopt::Long: Getopt::Long is not installed at /opt/perl-5.8.1/lib/site_perl/5.8.1/CPANPLUS/Internals/Search.pm line 233 in CPANPLUS::Internals::Search::_extutils_installed at Mon Oct 13 21:52:23 2003 at /opt/perl-5.8.1/lib/site_perl/5.8.1/CPANPLUS/Internals/Search.pm line 237 No files found for Getopt::Long! in CPANPLUS::Internals::Install::_uninstall at Mon Oct 13 21:52:23 2003 at /opt/perl-5.8.1/lib/site_perl/5.8.1/CPANPLUS/Internals/Install.pm line 421 Could not uninstall Getopt::Long in CPANPLUS::Backend::uninstall at Mon Oct 13 21:52:23 2003 at /opt/perl-5.8.1/lib/site_perl/5.8.1/CPANPLUS/Backend.pm line 601 Uninstalling Getopt::Long failed Problem uninstalling one or more modules CPAN Terminal> quit Exiting CPANPLUS shell Writing state information back to disk. This may take a little while. >>>> ~/.cpanplus/config ############################################ ### CPANPLUS::Config.pm ### ### Configuration structure for CPAN++ ### ############################################ #last changed: Sun Sep 21 14:01:49 2003 GMT package CPANPLUS::Config; $VERSION = 0.044; use strict; sub new { my $class = shift; my $conf = { 'conf' => { 'lib' => [], 'shell' => 'CPANPLUS::Shell::Default', 'signature' => 0, 'makeflags' => {}, 'format' => 'MakeMaker', 'cpantest' => 0, 'verbose' => 1, 'storable' => 1, 'prereqs' => 2, 'force' => 0, 'md5' => 1, 'skiptest' => 0, 'makemakerflags' => { PREFIX => $ENV{HOME}."/lib/perl", LIB => $ENV{HOME}."/lib/perl/lib", }, 'debug' => 0 }, '_build' => { 'rsync' => '/usr/bin/rsync', 'shell' => '/bin/tcsh', 'base' => '/home/jv/.cpanplus', 'unzip' => '/usr/bin/unzip', 'autdir' => 'authors/', 'autobundle_prefix' => 'Snapshot', 'autobundle' => 'autobundle/', 'curl' => '/usr/bin/curl', 'distdir' => 'dist/', 'moddir' => 'build/', 'perl' => '', 'ncftp' => '/usr/bin/ncftp', 'sudo' => '', 'ftp' => '/usr/bin/ftp', 'pager' => '/usr/bin/less', 'gzip' => '/bin/gzip', 'ncftpget' => '/usr/bin/ncftpget', 'tar' => '/bin/tar', 'targetdir' => '', 'wget' => '/usr/bin/wget', 'lynx' => '/usr/bin/lynx', 'make' => '/usr/bin/make', 'startdir' => '/home/jv/tmp/CPANPLUS-0.044' }, '_source' => { 'auth' => '01mailrc.txt.gz', 'smod' => 'packages', 'update' => '86400', 'mod' => '02packages.details.txt.gz', 'sauth' => 'mailrc', 'dslip' => '03modlist.data.gz', 'hosts' => 'MIRRORED.BY', 'sdslip' => 'dslip' }, '_ftp' => { 'auth' => 'authors/01mailrc.txt.gz', 'urilist' => [ { 'path' => '/var/ftp/pub/CPAN/', 'scheme' => 'file', 'host' => '' }, { 'path' => '/pub/CPAN/', 'scheme' => 'ftp', 'host' => 'phoenix.squirrel.nl' }, { 'path' => '/pub/mirror/CPAN/', 'scheme' => 'ftp', 'host' => 'download.xs4all.nl' } ], 'base' => 'authors/id/', 'mod' => 'modules/02packages.details.txt.gz', 'passive' => 1, 'dslip' => 'modules/03modlist.data.gz', 'email' => 'cpanplus@example.com' } }; bless($conf, $class); return $conf; } #new 1; __END__