Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-02-2005, 03:05 AM   #1
benjk
Prospect
 
Join Date: Jan 2002
Posts: 7
Has anybody got bogofilter working on OSX?

Hi

I have tried to build bogofilter on 10.2.8 and 10.3.8 and no matter what I do, it always fails somewhere else in the config script.

I can't believe nobody else is using bogofilter on OSX. Isn't there any precompiled binary for download somewhere?

thanks a lot
benjk is offline   Reply With Quote
Old 04-02-2005, 03:11 AM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,941
There seems to be a version of bogofilter available via Fink (in the "unstable" section).
hayne is offline   Reply With Quote
Old 04-02-2005, 03:21 AM   #3
benjk
Prospect
 
Join Date: Jan 2002
Posts: 7
thanks, but I'd really like to know if there is a binary or an installation package for bogofilter (stable) somewhere.
benjk is offline   Reply With Quote
Old 04-02-2005, 06:47 PM   #4
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,941
Probably not - or else it would likely be available from Fink.
A lot of stuff is only in the 'unstable' section. That doesn't mean that it is unstable in the usual sense - it only means that not enough people have tried it as of yet for them to declare it stable.
hayne is offline   Reply With Quote
Old 04-02-2005, 08:29 PM   #5
benjk
Prospect
 
Join Date: Jan 2002
Posts: 7
I actually don't use fink. Instead I use darwinports and there is a portfile for bogofilter. Trouble is that it is broken. Somebody else told me he got the very same error with fink.

the bogofilter makefile doesn't recognise db4 even though it's there, installed and activated as part of the dependency resolution:

checking whether db_create is declared... yes
checking for library providing db_create... no
configure: error: Can not locate a suitable Berkeley DB library. Use --with-db=PATH to specify the path to a v3+ install directory

oh, well
benjk is offline   Reply With Quote
Old 04-03-2005, 10:47 AM   #6
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
benjk wrote:
Somebody else told me he got the very same error with fink.
.......
the bogofilter makefile doesn't recognise db4 even though it's there

I had no problems installing bogofilter with Fink from unstable. But, it will remove db42 in favour of db3.

Code:
fink install bogofilter
Information about 4439 packages read in 2 seconds.
The package 'bogofilter' will be built and installed.
The package 'db3' will be installed.
........
........
Selecting previously deselected package db3.
dpkg: considering removing db42 in favour of db3 ...
dpkg: yes, will remove db42 in favour of db3.
(Reading database ... 179842 files and directories currently installed.)
Unpacking db3 (from .../db3_3.3.11-26_darwin-powerpc.deb) ...
Setting up db3 (3.3.11-26) ...
........
........
dpkg -i /sw/fink/dists/unstable/main/binary-darwin-powerpc/net/bogofilter_0.13.7.2-1_darwin-powerpc.deb
Selecting previously deselected package bogofilter.
(Reading database ... 179842 files and directories currently installed.)
Unpacking bogofilter (from .../bogofilter_0.13.7.2-1_darwin-powerpc.deb) ...
Setting up bogofilter (0.13.7.2-1) ...
Code:
[pm @ Sao: ~] % fink list -i bogofilter
Information about 4439 packages read in 2 seconds.
 i   bogofilter               0.13.7.2-1         Bayesian spam filter designed and tuned for speed
.
sao is offline   Reply With Quote
Old 04-03-2005, 08:10 PM   #7
benjk
Prospect
 
Join Date: Jan 2002
Posts: 7
thanks for your reply.

I have at least two packages (built manually) which rely on db4 though. Will fink break those?
benjk is offline   Reply With Quote
Old 04-05-2005, 08:09 PM   #8
Agent69
Prospect
 
Join Date: Feb 2005
Posts: 5
Bogofilter will install from source just fine, but first you must compile and install Berkley DB first, which Bogofilter depends upon. You can get from Sleepy Cat.
Agent69 is offline   Reply With Quote
Old 04-05-2005, 08:10 PM   #9
Agent69
Prospect
 
Join Date: Feb 2005
Posts: 5
Quote:
Originally Posted by benjk
Hi

I have tried to build bogofilter on 10.2.8 and 10.3.8 and no matter what I do, it always fails somewhere else in the config script.

I can't believe nobody else is using bogofilter on OSX. Isn't there any precompiled binary for download somewhere?

thanks a lot

Where is it failing? Bogofilter compiles without problem for me.
Agent69 is offline   Reply With Quote
Old 04-05-2005, 08:28 PM   #10
Agent69
Prospect
 
Join Date: Feb 2005
Posts: 5
Where in the configure are you having problems?
Agent69 is offline   Reply With Quote
Old 04-05-2005, 10:43 PM   #11
benjk
Prospect
 
Join Date: Jan 2002
Posts: 7
scroll a few posts up in this thread and you will see the error message when trying to build bogofilter.

the problem is not that db4 is missing, it is installed. instead, the problem is that bogofilter does not recognise db4.
benjk is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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



All times are GMT -5. The time now is 10:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.