The Network People Support Forums

Mail::Toaster => Upgrading a Mail::Toaster => Topic started by: ljimber on February 16, 2004, 08:54:05 PM

Title: bogofilter fails on upgrade on -s filter
Post by: ljimber on February 16, 2004, 08:54:05 PM
Hi All,

Doing a upgrade from 3.32 to 3.33 on 5.1

When issuing the ./toaster_setup.pl -s filter I get,

CheckPortsAge: Ports file is current (enough).
InstallPort: installing bogofilter...running: make  install clean===>   bogofilter-0.16.4 depends on shared library: db4.0 - found
===>   bogofilter-0.16.4 depends on shared library: gsl.5 - not found
===>    Verifying install for gsl.5 in /usr/ports/math/gsl
===>   Returning to build of bogofilter-0.16.4
Error: shared library "gsl.5" does not exist
*** Error code 1

Stop in /usr/ports/mail/bogofilter.
SysCmd: make  install clean
SysCmd: result: 256
done.
InstallPort: bogofilter           FAILED
CheckPortsAge: Ports file is current (enough).


I tried to make deinstall gsl and also make install on it own with same results.

Any ideas?

TNX,

L.
Title: Another failure on the next step for -s qss
Post by: ljimber on February 16, 2004, 08:57:02 PM
I decided to continue the install from above and got this error running:

./toaster_setup.pl -s qss

===>   Compressing manual pages for unix2dos-1.3
===>   Registering installation for unix2dos-1.3
===>  Cleaning for unix2dos-1.3
done.
InstallPort: unix2dos             installed as (unix2dos-1.3).
*.php: No such file or directory
SysCmd: /usr/local/bin/dos2unix *.php
SysCmd: result: 256
ReadFile: config.php does not exist!
at lib/Mail/Toaster/Setup.pm line 1473

./toaster_setup.pl script execution complete.


L.
Title: bogofilter fails on upgrade on -s filter
Post by: matt on February 17, 2004, 08:51:50 PM
bogofilter or one of it's dependencies is currently broken in ports. You'll have to finesse the port to get it installed.

The *.php problem is nothing to worry about. The QSS source files are all DOS line encoded so that command would have fixed that for you (aesthentic problem only) but I forgot the shell would need the * escaped.[/quote]
Title: Fixed bogofilter and gsl port
Post by: ljimber on February 18, 2004, 12:43:00 PM
OK, manually hacked /usr/ports/mail/bogofilter to install version bogofilter-0.17.1.tar.bz2

and /usr/ports/math/gsl from 1.3 to 1.4,

this fixes bogofilters gsl.5 library dependency.

You need to tweak the MD5 distinfo as well.

Now -s filter builds flawlessly.

Lee