On Jul 6, 2009, at 2:52 PM, Warren Togami wrote:

On 07/06/2009 03:13 PM, Warren Togami wrote:
On 07/03/2009 10:37 PM, Matt Kettler wrote:
The public alpha release was announced yesterday on the users mailing
list:

http://mail-archives.apache.org/mod_mbox/spamassassin-users/200907.mbox/%[email protected]%3e


I'm having trouble getting it to run on Fedora 11.

[r...@newcaprica spamassassin]# sa-update
config: no configuration text or files found! do you need to run
'sa-update'?
check: no loaded plugin implements 'check_main': cannot scan!
Check the necessary '.pre' files are in the config directory.

*** spamassassin-3.2.5 ***

[r...@newcaprica ~]# cd /etc/mail/spamassassin/
[r...@newcaprica spamassassin]# ls
init.pre local.cf sa-update-keys spamassassin-default.rc
spamassassin-helper.sh spamassassin-spamc.rc v310.pre v312.pre v320.pre

*** spamassassin-3.3.0-alpha1 ***

[r...@newcaprica ~]# cd /etc/mail/spamassassin/
[r...@newcaprica spamassassin]# ls
local.cf sa-update-keys spamassassin-default.rc spamassassin- helper.sh
spamassassin-spamc.rc

All of the *.pre files are no longer being installed into our RPM. It
seems to pass the test suite though.


spamassassin-3.2.5 rules/ contains the *.pre files.
spamassassin-3.3.0-alpha1 rules/ is missing *.pre files.

Was this intentional?

Yes. 3.3 requires that you run sa-update after installation to pick up the latest rules release. I believe this is documented.

For packagers such as yourself, you'll probably want to have a separate rules package for that initial install.

Michael




Is 3.3.0-alpha1 working for anybody?

Possibly a separate issue this is the %build section from our spamassassin.spec file.

%build
CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
%{__perl} Makefile.PL PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} DESTDIR=$RPM_BUILD_ROOT < /dev/null
%{__make}

Checking if your kit is complete...
Looks good
'ENABLE_SSL' is not a known MakeMaker parameter name.
'SYSCONFDIR' is not a known MakeMaker parameter name.
Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.42
+ /usr/bin/make 'OPTIMIZE=-O2 -g' -j3

spamassassin-3.2.5 does not complain about ENABLE_SSL or SYSCONFDIR in MakeMaker. What changed? Do we need to adapt?

Warren Togami
[email protected]

Reply via email to