Blog/Bugfix-release-for-evolutionpluginspambayes

So the release was not really that tested yet, so a new release is available (0.1.4) containing a minor but crucial fix.

I'm of to work, see ya!

Comments (8)

Posted by Tom Arnold on 2007-08-17 22:54:51
Global Recognizable Avatar for Rasmus Toftdahl Olesen

Hello!

I think i might REALLY like your spam solution ( i am the original poster of the 3 year old ubuntu spamfiltering bug for evolution ). Problem is: I tried to install the newest version in Feisty but that didnt work coz your plugin depends on a newer Evolution version. Fair enough .. so i upgraded to Gutsy. Now the plugin installed but i cannot find it in plugins and/or preferences. How do i get it working?

Thanks!

Posted by Rasmus Toftdahl Olesen on 2007-08-19 23:41:44
Global Recognizable Avatar for Rasmus Toftdahl Olesen

Hi Tom

Glad that you are interested in the project, unfortunately i am on Debian (testing) and haven't made the Ubuntu jump (yet). But i'm sure that the only thing needed is a recompile for your system. You should be able to achive that by adding deb-src http://dev.infonet.dk/debian lenny ./ to your /etc/apt/sources.list and executing the following two commands:

[HTML_REMOVED]

And that should leave you with a .deb package for your system, if you get it to work please let me know so i can link to them (or post them) for other Ubuntu users to try out.

Posted by Tom Arnold on 2007-08-20 23:58:13
Global Recognizable Avatar for Rasmus Toftdahl Olesen

Thanks a lot!

I have done that but i get: checking for gconftool-2... /usr/bin/gconftool-2 Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas as install directory for schema files checking for SB_EPLUGIN... configure: error: Package requirements ( glib-2.0 evolution-plugin-2.10 camel-provider-1.2 gconf-2.0 ) were not met:

No package 'evolution-plugin-2.10' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables SB_EPLUGIN_CFLAGS and SB_EPLUGIN_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

make: * config.status Error 1 Build command 'cd evolution-plugin-spambayes-0.1.4 [HTML_REMOVED][HTML_REMOVED] dpkg-buildpackage -b -uc' failed. E: Child process failed

Any ideas?

Keep up the good work!

Cya,

  • Tom -
Posted by Rasmus Toftdahl Olesen on 2007-08-21 17:41:31
Global Recognizable Avatar for Rasmus Toftdahl Olesen

Hmm

Well, it looks like we are at least getting closer.

I just checked on http://packages.ubuntu.com and it looks gutsy has a very recent evolution plugin installed (version 2.11.90) i'm quite surprised it didn't work on feisty as they appear to be using version 2.10 (the same one i am using). But it should be able to work on 2.11.90 as far i can tell.

But there is a little tweaking needed, in the configure.ac file you need to change evolution-plugin-2.10 to just read evolution-plugin (replacement needed in two lines as far as i can tell) - then you should be able to run ./autogen.sh and the package should build by running debuild.

I know you have already upgraded to gutsy, but if you are able to downgrade back to the feisty version again (my guess is aptitude install evolution/feisty evolution-dev/feisty should do the trick) that ought to work so you can build the package for feisty.

However, if you wish to stay with gutsy (which appears to be an unstable ubuntu version) i think th above should work.

I can see that debian and ubuntu uses the same directory for evolution plugins, so apparently it isn't as simple as that, however a rebuild should do the trick (hopefully!).

Hope you get through all the trouble, i know how irritating dependency hell can be :-)

Posted by Tom Arnold on 2007-08-22 11:15:18
Global Recognizable Avatar for Rasmus Toftdahl Olesen

Hi! :)

Ok, i did the configure.ac thing.

At first i got:

~/evolution-plugin-spambayes-0.1.4# ./autogen.sh configure.ac:6: error: possibly undefined macro: AC_DISABLE_STATIC If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:7: error: possibly undefined macro: AC_PROG_LIBTOOL Makefile.am:2: Libtool library used but LIBTOOL' is undefined Makefile.am:2: The usual way to defineLIBTOOL' is to add AC_PROG_LIBTOOL' Makefile.am:2: toconfigure.ac' and run aclocal' andautoconf' again. Makefile.am:2: If AC_PROG_LIBTOOL' is inconfigure.ac', make sure Makefile.am:2: its definition is in aclocal's search path.

then i installed libtool and got no errors in autogen.sh but make would break with:

/bin/bash: dbus-binding-tool: command not found make: * net.halfdans.Spam-client.h Error 127

make install kinda worked tho and i have the plugin in evolution now, but i cannot configure it nor can i select it in preferences :-(

maybe i should downgrade ...

Posted by JIm Rorie on 2008-02-13 02:45:14
Global Recognizable Avatar for Rasmus Toftdahl Olesen

To install under gutsy....

install spambayes

sudo apt-get install spambayes

Get the source file for the evolution plugin

http://dev.infonet.dk/debian/dists/testing/source/evolution-plugin-spambayes_0.1.5.tar.gz

Pull up the file manager and extract all the files

click-click-click :) I dunno the command

tar -xvf evolution-plugin-spambayes_0.1.5.tar.gz perhaps??????

cd to that directory (or whereever you put it..)

cd ~/sb-eplugin

gedit configure.ac file and replace every instance of evolution-plugin-2.10 to evolution-plugin (two places)

Install the libraries

sudo apt-get install libtool sudo apt-get install libgtk2.0-dev sudo apt-get install evolution-dev

Generate magic stuff

sudo ./autogen.sh

Configure, build and install

./configure sudo make sudo make install

The plugin should appear. You will have to turn off bogofiler and spamassasin if installed.

Posted by Jim Rorie on 2008-02-14 16:23:00
Global Recognizable Avatar for Rasmus Toftdahl Olesen

Oops, I spoke too soon. The plugin appears in the list, but it DOES NOT appear under junk preferences. You can only select Spamassassin or bogofilter.

Posted by Rasmus Toftdahl Olesen on 2008-02-14 20:53:12
Global Recognizable Avatar for Rasmus Toftdahl Olesen

Hi Jim

First, thanks for all the work you are putting into this.

I've noticed the junk preferences combobox before, i will look in to how it is used when i get the time.

Post comment

If you wish, you can use markdown syntax in the comment field.