> On Mon, May 06, 2002 at 08:47:48AM -0700, Rob McMillin wrote:
> > Essentially it means you're running an old version of Perl. The RPMs are
> > built against 5.6.1 IIRC. You should either build the Perl modules
> > directly yourself or upgrade to Perl 5.6.1.
>
> FYI: I always rebuild from the SRPM for this exact reason.
> It's really easy: "rpmbuild --rebuild <src.rpm>"
>
> It'll generate a new binary RPM, then you can install it.

Sorry for the long post but see below.

Thanks

Matt


[root local]# rpm - e spamassassin
error: package spamassassin is not installed
[root local]# rpmbuild --rebuild spamassassin-2.20-1.src.rpm
sh: rpmbuild: command not found
[root local]# rpm --rebuild spamassassin-2.20-1.src.rpm
Installing spamassassin-2.20-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.12408
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf Mail-SpamAssassin-2.20
+ /bin/gzip -dc /usr/src/redhat/SOURCES/Mail-SpamAssassin-2.20.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd Mail-SpamAssassin-2.20
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo Patch #0 (spamassassin-migrate.patch):
Patch #0 (spamassassin-migrate.patch):
+ patch -p1 -s
+ echo Patch #1 (findbin.patch):
Patch #1 (findbin.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.32088
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Mail-SpamAssassin-2.20
+ /usr/bin/perl Makefile.PL PREFIX=/usr
Checking if your kit is complete...
Looks good
Writing Makefile for Mail::SpamAssassin
+ /usr/bin/make OPTIMIZE=-O2 -m486 -fno-strength-reduce PREFIX=/usr
mkdir blib
mkdir blib/lib
mkdir blib/lib/Mail
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Mail
mkdir blib/arch/auto/Mail/SpamAssassin
mkdir blib/lib/auto
mkdir blib/lib/auto/Mail
mkdir blib/lib/auto/Mail/SpamAssassin
mkdir blib/man1
mkdir blib/man3
/usr/bin/perl fixpath.pl spamassassin.raw spamassassin
chmod 755 spamassassin
mkdir -p doc
/usr/bin/perl fixpath.pl spamd/spamd.raw spamd/spamd
chmod 755 spamd/spamd
/usr/bin/perl fixpath.pl spamproxy/spamproxyd.raw spamproxy/spamproxyd
chmod 755 spamproxy/spamproxyd
for f in spamassassin spamd/spamc.pod spamd/spamd spamproxy/spamproxyd
lib/Mail/
SpamAssassin.pm lib/Mail/SpamAssassin/Conf.pm
lib/Mail/SpamAssassin/PerMsgStatus
.pm lib/Mail/SpamAssassin/PersistentAddrList.pm
lib/Mail/SpamAssassin/SMTP/Smart
Host.pm  ; do \
      pod2html $f > doc/`echo $f | perl -pe \
        's/(lib|spamd)\///; s/\//_/g; s/\.(pod|pm)//;'`.html ; \
      pod2text $f > doc/`echo $f | perl -pe \
        's/(lib|spamd)\///; s/\//_/g; s/\.(pod|pm)//;'`.txt ; \
done
/bin/sh: pod2text: command not found
/bin/sh: pod2text: command not found
/bin/sh: pod2text: command not found
/bin/sh: pod2text: command not found
/bin/sh: pod2text: command not found
/bin/sh: pod2text: command not found
/bin/sh: pod2text: command not found
/bin/sh: pod2text: command not found
/bin/sh: pod2text: command not found
make: *** [doc/.made] Error 127
Bad exit status from /var/tmp/rpm-tmp.32088 (%build)
[root local]#



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to