So I wanted uninstall 2.60 which is installed in a version specific directory on my setup.

bash$ ls
SpamAssassin  SpamAssassin.pm
bash$ pwd
/home/robert/lib/perl5/site_perl/5.8.0/Mail

However when I do this with the Makefile used to build it I get

bash$ make uninstall
no packlist file found: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Mail/ SpamAssassin/.packlist at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 211.
make: *** [uninstall_from_sitedirs] Error 2


....

On this machine all perl modules I install are installed locally so my cpan looks like this

bash$ cat MyConfig.pm

$CPAN::Config = {
'build_cache' => q[10],
'build_dir' => q[/home/robert/.cpan/build],
'cache_metadata' => q[1],
'cpan_home' => q[/home/robert/.cpan],
'dontload_hash' => { },
'ftp' => q[/usr/bin/ftp],
'ftp_proxy' => q[],
'getcwd' => q[cwd],
'gzip' => q[/bin/gzip],
'http_proxy' => q[],
'inactivity_timeout' => q[0],
'index_expire' => q[1],
'inhibit_startup_message' => q[0],
'keep_source_where' => q[/home/robert/.cpan/sources],
'links' => q[],
'make' => q[/usr/bin/make],
'make_arg' => q[],
'make_install_arg' => q[],
'makepl_arg' => q[PREFIX=~/lib/perl5/site_perl LIB=~/lib/perl5/site_perl INSTALLMAN1DIR=~/man/man1 INSTALLMAN3DIR=~/man/man3],
'ncftp' => q[],
'ncftpget' => q[],
'no_proxy' => q[],
'pager' => q[/usr/bin/less],
'prerequisites_policy' => q[ask],
'scan_cache' => q[atstart],
'shell' => q[/bin/bash],
'tar' => q[/bin/tar],
'term_is_latin' => q[1],
'unzip' => q[/usr/bin/unzip],
'urllist' => [q[ftp://archive.progeny.com/CPAN/]],
'wait_list' => [q[wait://ls6-www.informatik.uni-dortmund.de:1404]],
'wget' => q[/usr/bin/wget],
};
1;
__END__


Why does the uninstall_from_sitedirs target try to uninstall from SITEARCHEXP?

INST_LIB = blib/lib
INSTALLDIRS = site
PREFIX = /home/robert
PERLPREFIX = $(PREFIX)
SITEPREFIX = /home/robert
VENDORPREFIX = /home/robert
INSTALLPRIVLIB = /home/robert/lib/perl5/5.8.0
INSTALLSITELIB = /home/robert/lib/perl5/site_perl/5.8.0
INSTALLVENDORLIB = /home/robert/lib/perl5/vendor_perl/5.8.0
INSTALLARCHLIB = /home/robert/lib/perl5/5.8.0/i386-linux-thread-multi
INSTALLSITEARCH = /home/robert/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
INSTALLVENDORARCH = /home/robert/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
INSTALLBIN = /home/robert/bin
INSTALLSITEBIN = /home/robert/bin
INSTALLVENDORBIN = /home/robert/bin
INSTALLSCRIPT = /home/robert/bin
PERL_LIB = /usr/lib/perl5/5.8.0
PERL_ARCHLIB = /usr/lib/perl5/5.8.0/i386-linux-thread-multi
SITELIBEXP = /usr/lib/perl5/site_perl/5.8.0
SITEARCHEXP = /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to