[Spambayes] Spambayes installation in SuSE Linux / No module named
zlib ?
Olli J. Marttila
olli.marttila at kolumbus.fi
Thu Nov 6 16:19:10 EST 2003
Dear list,
I overcome the first hurdles in installing Spambayes0.7 in
SuSE Linux 8.2 by compiling python 2.3.2 instead of the
default rpm-file. As my e-mail protocol is IMAP, I run
sb_imapfilter.py -b with the following result:
------------------
marttila at linux:~> sb_imapfilter.py -b
SpamBayes IMAP Filter Beta1, version 0.1 (September 2003),
using SpamBayes IMAP Filter Web Interface Alpha2, version
0.02
and engine SpamBayes Beta2, version 0.2 (July 2003).
User interface url is http://localhost:8880/
Traceback (most recent call last):
File "/usr/local/bin/sb_imapfilter.py", line 825, in ?
run()
File "/usr/local/bin/sb_imapfilter.py", line 801, in run
IMAPSession))
File
"/usr/local/lib/python2.3/site-packages/spambayes/ImapUI.py",
line 116, in __init__
UserInterface.UserInterface.__init__(self, cls,
parm_map, adv_map)
File
"/usr/local/lib/python2.3/site-packages/spambayes/UserInterface.py",
line 246, in __init__
BaseUserInterface.__init__(self)
File
"/usr/local/lib/python2.3/site-packages/spambayes/UserInterface.py",
line 116, in __init__
htmlSource, self._images = self.readUIResources()
File
"/usr/local/lib/python2.3/site-packages/spambayes/UserInterface.py",
line 232, in readUIResources
from spambayes.resources import ui_html
File
"/usr/local/lib/python2.3/site-packages/spambayes/resources/ui_html.py",
line 7, in ?
import zlib
ImportError: No module named zlib
--------------
Yet I have both zlib-1.1.4-105 and zlib-devel-1.1.4-105
installed from SuSE home site.
In addition, writing URL http://localhost:8880 leads to an
advertisment site www.netbreakthrough.com - apparently
because the installation did not get through.
So Iam still at a loss what to do. Can anyone help me?
Olli J. Marttila
More information about the Spambayes
mailing list