e0a1 [Solved] Can't install SpamAssassin (3.3.0_2) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old February 17th, 2010, 21:17
taladas taladas is offline
Junior Member
 
Join Date: Feb 2010
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Default Can't install SpamAssassin (3.3.0_2)

Hi everyone,

I tried to upgrade to SpamAssassin 3.3.0_2 the other day via portupgrade, but got some errors (see below). Then I decided to uninstall 3.2.5 thinking that something was bugged up on the system and that's what was preventing the upgrade from taking place. Now when I try to install 3.3.0_2 I still get the same errors when I 'make install clean':

Code:
===>  Building for p5-Mail-SpamAssassin-3.3.0_2 
make: cannot open Makefile. 
*** Error code 1 

Stop in /usr/ports/mail/p5-Mail-SpamAssassin. 
*** Error code 1 

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
How can it not find Makefile--it's right there:

Code:
</usr/ports/mail/p5-Mail-SpamAssassin> # ls
Makefile        distinfo        files/          pkg-deinstall*  pkg-descr       pkg-install*    pkg-message     pkg-plist       work/

I'm using 6.2-Release-p1 which has been working absolutely flawlessly for about three years--which is why I never bothered with updates. (Just now I read about the 'freebsd-update' command in the manual, and wanted to update to Release 8.0. I ran the command with the 'fetch' and then the 'install' options, but even though it downloaded a bunch of stuff, now when I do uname -a, it still shows the same version. Anyway, this is not important and I don't care what version of the OS I'm running.. I just want SpamAssassin to work.

I posted on a couple of other forums but no one ever got back to me.. maybe someone here will find it in their heart to help me?


Thank you so much,

Dany

Last edited by DutchDaemon; February 18th, 2010 at 02:26. Reason: [code], not [file]
Reply With Quote
  #2  
Old February 18th, 2010, 00:05
MarcoB's Avatar
MarcoB MarcoB is offline
Junior Member
 
Join Date: Apr 2009
Location: The Hague, Netherlands
Posts: 92
Thanks: 0
Thanked 5 Times in 2 Posts
Default

My guess is that you are missing some dependencies that SA needs for building it. You should first update your portstree, and then do portupgrade -Rrf p5-Mail-SpamAssassin.
__________________
http://specs.tweak.to/4653
Reply With Quote
  #3  
Old February 18th, 2010, 00:11
taladas taladas is offline
Junior Member
 
Join Date: Feb 2010
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Default

hmm... ran pkgdb -F and it found that there's s "stale dependency" between spamass-milter and spamassassin 3.2.5_4. Chose to fix this, and it tried to install 3.3.0_2 (not sure why it wouldn't try to install 3.2.5_4 again, but whatever). It didn't work of course, but I got some more information about the error... I think:

Code:
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20100217-18549-1jf4v7f-0 env make

** Fix the problem and try again.

** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! mail/p5-Mail-SpamAssassin     (unknown build error)
Command failed [exit code 1]: /usr/local/sbin/portinstall mail/p5-Mail-SpamAssassin
I have no idea what the first line means..


--

I also downloaded the 3.2.5_4 package and tried to pkg_add it, but I got this:

Code:
pkg_add: can't stat package file 'p5-Mail-SpamAssassin-3.2.5_4.tbz'
... and of course I don't know what THIS means either.


Anyone? Please?

Thank you,

D.
Reply With Quote
  #4  
Old February 18th, 2010, 00:13
taladas taladas is offline
Junior Member
 
Join Date: Feb 2010
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by MarcoB View Post
My guess is that you are missing some dependencies that SA needs for building it. You should first update your portstree, and then do portupgrade -Rrf p5-Mail-SpamAssassin.
Oh my God! Thank you so much for replying! OK, I just ran portsnap fetch update about an hour ago, so I guess I'll just try what you said.


Thanks a lot again!

Dany
Reply With Quote
  #5  
Old February 18th, 2010, 00:15
taladas taladas is offline
Junior Member
 
Join Date: Feb 2010
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by taladas View Post
Oh my God! Thank you so much for replying! OK, I just ran portsnap fetch update about an hour ago, so I guess I'll just try what you said.


Thanks a lot again!

Dany

All I got was "[Exclude up-to-date packages done]"

Thanks for trying Marco... do you think there's anything else I could try?


Dany
Reply With Quote
  #6  
Old February 18th, 2010, 02:20
taladas taladas is offline
Junior Member
 
Join Date: Feb 2010
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Default

OK, I got it. After downloading p5-Mail-SpamAssassin-3.2.5_4.tbz from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/packages/, I ran 'pkg_add -f p5-Mail-SpamAssassin-3.2.5_4.tbz', rebooted and everything is working now.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to solve the spamassassin 2010 bug? MarcoB Installation and Maintenance of FreeBSD Ports or Packages 6 February 3rd, 2010 16:24
maia-mailguard, spamassassin in a jail? wonslung Web & Network Services 2 December 9th, 2009 14:47
PACKAGE: OpenOffice.org 3.1.0_2 graudeejs Installation and Maintenance of FreeBSD Ports or Packages 18 September 4th, 2009 23:45
Trying to install SpamAssassin anthony911 Installation and Maintenance of FreeBSD Ports or Packages 9 July 29th, 2009 21:17
Spamassassin and no mail headers k1piee Web & Network Services 2 May 27th, 2009 17:39


All times are GMT +1. The time now is 07:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0