I STFW alot, please help. I ran this command as non-root:
perldoc perllocal
<snip>
Tue Dec 30 22:19:00 2003: "Module" Mail::SpamAssassin
· "installed into: /usr/lib/perl5/site_perl/5.8.0"
· "LINKTYPE: dynamic"
· "VERSION: 2.61"
· "EXE_FILES: spamassassin sa-learn spamd/spamc
spamd/spamd"
However, I want the latest as listed here.
http://search.cpan.org/~felicity/Mail-SpamAssassin-2.63/
I live in brazil and got a lot of url errors, so I ran this:
cpan> install Mail::SpamAssassin
Mail::SpamAssassin is up to date.
cpan> o conf urlist push http://www.cpan.org
cpan> force install Mail::SpamAssassin
Running install for module Mail::SpamAssassin
Running make for J/JM/JMASON/Mail-SpamAssassin-2.61.tar.gz
<snip>
Its seemingly still wanting to install 2.6.1 . WTF?
iksrazal
Tim Heaney - 29 Jan 2004 02:24 GMT
> I live in brazil and got a lot of url errors, so I ran this:
>
[quoted text clipped - 7 lines]
>
> Its seemingly still wanting to install 2.6.1 . WTF?
I don't know if this is your problem, but there are two l's in
urllist. You can view the current configuration with
cpan> o conf
You might try setting the urllist to what you want, rather than
adding a new value to the list
cpan> o conf urllist set http://www.cpan.org
And you might try making it reread the index
cpan> o conf index_expire 0
You can see what it's doing with i, before doing the install
cpan> i Mail::SpamAssassin
Having said all that, if there's some sort of problem with your cpan
configuration, you could just download the module yourself
wget http://www.cpan.org/authors/id/F/FE/FELICITY/Mail-SpamAssassin-2.63.tar.gz
and install it the old-fashioned way
tar xzf Mail-SpamAssassin-2.63.tar.gz
cd Mail-SpamAssassin-2.63
perl Makefile.PL
make
make test
su -c 'make install'
I hope this helps,
Tim