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, could you tell me if this is a generic error, on every distribution ?

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

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