Eric Shubert wrote:
Lucian Cristian wrote:
Eric Shubert wrote:
Catalin Leanca wrote:
Hello everybody,

I tried to fresh install one box with CentOS and QMT but failed building
spamassasin and simscan.
The story:

- Fresh install CentOS 5.1 then upgraded to 5.2 using 'yum upgrade'
command
- Updated CPAN module using: perl -e 'use CPAN; install Bundle::CPAN;'
- Downloaded and run all preinstall scripts for CentOS 5 (cnt50-deps.sh
cnt50-perl.sh cnt50-svcs.sh & firewall.sh )
All perl required modules were installed successfuly.
- Download and run current-download-script.sh
- Download and run cnt50-install-script.sh

Everything was fine until spamassasin package build:
The error:
+ rm -f
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf
+ rm -f
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/v310.pre
+ install -m 0644 /usr/src/redhat/SOURCES/qmailtoaster.local.cf.bz2
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2
install: cannot create regular file
`/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2':
No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.67860 (%install)

RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.67860 (%install)
error: File not found by glob:
/usr/src/redhat/RPMS/i386/spamassassin-toaster*.rpm

Same thing for simscan....

What i did wrong ? How can i fix that ?



Thanks,
Catalin L

There is a problem with MakeMaker.pm v6.44 which you obtained when you
updated CPAN. The spec file for spamassassin doesn't work with this newer
version of MakeMaker. You can either:
.) start over from scratch and don't update CPAN
.) remove perl (with -nodeps option) and reinstall it (I think this
should work)
.) wait for Erik Espinoza to publish the fix for the spamassassin spec
file
which I sent him
.) contact me offline, and I can send you the 'fixed' spamassassin source
rpm. This is not an official toaster version however.

You can search the list archives for MakeMaker for more info about
this problem.

I think that tomorrow i'll reach to build spamassassin on debian,

Several people in the past have asked about debian packages. Of course you'd
have to port all of the toaster packages, not just spamassassin. That's a
fairly big job, even with the automation tools that are available. I don't
know of anyone running qmail-toaster on debian, but I know that some folks
have asked about it in the past.

could you tell me if this is a generic error, on every distribution ?

Every distro. The problem is with perl's MakeMaker.pm module, and the way in
which the spamassassin-toaster.spec file builds the rpm. A fix (for the spec
file) is available, and I expect will be published fairly soon.

..and does somebody want to test the port to deb, in a few days it will
be ready for alpha testing

Regards, Lucian


Again, why? Would this not be a major undertaking, given the differences
between deb and rpm packaging? Maybe you have a few tricks up your sleeve. ;)

I know is a big thing, because I've been working for a week, am at qmail-mrtg..
I'm doing it manually, after the spec without autogen

Regards,
Lucian

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to