Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Perl / Modules / January 2004



Tip: Looking for answers? Try searching our database.

cpan not updating my SpamAssassin

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
iksrazal - 29 Jan 2004 00:13 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.