rpm doesn't recognize things that are installed via CPAN, because
they're not reflected in rpm's database.
Use yum and the rpmforge repo to install them, and you'll be good to go.
Be sure to use a fresh sandbox after you've installed anything.
P.S. I'm a little surprised that qtp-newmodel didn't install those
modules for you. I've added them to the dependencies, so the next
release of QTP will take care of those automatically.
Wim Godden wrote:
I installed perl-5.8.8-15.el5_2.1 again (happened to be the same version
you have) and now I get :
<START>
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.66524
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf Mail-SpamAssassin-3.2.5
+ exit 0
Installing spamassassin-toaster-3.2.5-1.3.15 in the sandbox ...
error: Failed dependencies:
perl(HTTP::Date) is needed by
spamassassin-toaster-3.2.5-1.3.15.x86_64
perl(LWP::UserAgent) is needed by
spamassassin-toaster-3.2.5-1.3.15.x86_64
<END>
When I try to install HTTP::Date or LWP::UserAgent via CPAN, I get :
HTTP::Date is up to date.
LWP::UserAgent is up to date.
Eric Shubert wrote:
No, you'll need the whole perl package. There are other interdependent
modules in the perl package, you can't necessarily just pick the one
file. That, and I'm not sure that 6.43 is quite old enough. 6.44 was
just the first version we noticed the problem with. It might have been
introduced anywhere between 6.30 and 6.44.
I'd bet money that this is your problem. Same symptoms (error
messages), exactly.
Wim Godden wrote:
Odd thing : I just download and installed MakeMaker 6.43, but I still
get the same error :
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.43
But still end up with :
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.6482 (%install)
Maybe this problem isn't related to MakeMaker in my case ?
Eric Shubert wrote:
Download and reinstall the perl binary rpm that corresponds to your
present version (mine is perl-5.8.8-15.el5_2.1), using the
--replacefiles option:
# rpm --replacefiles -Uvh perl-5.8.8.*.i386.rpm
Wim Godden wrote:
Eric,
Is there some way to go back to pre-6.44 ?
Or is there a patch that I can use to upgrade my system on 6.48 ?
Kind regards,
Wim
Eric Shubert wrote:
The problem is *caused* by updating the CPAN bundle. You need a
pre-6.44 version of MakeMaker for it to work.
Wim Godden wrote:
Thanks for the quick reply, but the problem wasn't resolved by
updating the CPAN bundle.
I'm running CentOS 5.2 (i386). Previous runs of qtp-newmodel ran
without a glitch.
I have :
ExtUtils::MakeMaker 6.48
and :
cpan[2]> install Bundle::CPAN
Test::Harness is up to date (3.16).
ExtUtils::CBuilder is up to date (0.24).
ExtUtils::MakeMaker is up to date (6.48).
Module::Build is up to date (0.32).
File::Spec is up to date (3.29).
File::Temp is up to date (0.21).
Scalar::Util is up to date (1.19).
Test::More is up to date (0.86).
Data::Dumper is up to date (2.121_08).
Digest::SHA is up to date (5.47).
File::HomeDir is up to date (0.84).
Compress::Raw::Zlib is up to date (2.015).
IO::Compress::Base is up to date (2.015).
IO::Uncompress::Gunzip is up to date (2.015).
Compress::Zlib is up to date (2.015).
IO::Zlib is up to date (1.09).
Archive::Tar is up to date (1.46).
Archive::Zip is up to date (1.26).
Net::Cmd is up to date (2.29).
Net::FTP is up to date (2.77).
Term::ReadKey is up to date (2.30).
Term::ReadLine::Perl is up to date (1.0302).
YAML is up to date (0.68).
Text::Glob is up to date (0.08).
CPAN is up to date (1.9304).
File::Which is up to date (0.05).
Still the same error occurring.
Eric Shubert wrote:
Wim Godden wrote:
An upgrade of spamassassin using qtp-newmodel fails (using
small union) :
Building squirrelmail-toaster-1.4.17-1.3.12 ...
Installing squirrelmail-toaster-1.4.17-1.3.12 in the sandbox ...
Building spamassassin-toaster-3.2.5-1.3.15 ...
qtp-build-rpms - rpmbuild failed for
spamassassin-toaster-3.2.5-1.3.15
qtp-build-rpms - see
/mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
Build failed, Exiting.
The logfile shows :
...
+ find
/var/tmp/spamassassin-toaster-root/usr/lib/perl5/vendor_perl/5.8.8/Mail
/var/tmp/spamassassin-toaster-root/usr/lib/perl5/vendor_perl/5.8.8/spamassassin-run.pod
-type d -print
+ sed 's...@^/var/tmp/spamassassin-toaster-r...@%dir @g'
+ rm -f
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf
+ rm -f
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/init.pre
+ install -d /var/tmp/spamassassin-toaster-root/etc
+ install -d /var/tmp/spamassassin-toaster-root/etc/cron.hourly
+ install -d
/var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd
+ install -d
/var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd/log
+ install -d
/var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd/supervise
+ install -d /var/tmp/spamassassin-toaster-root/var/log/qmail
+ install -d
/var/tmp/spamassassin-toaster-root/var/log/qmail/spamd
+ 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.25006 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.25006 (%install)
Any ideas what might be causing this ?
Yep.
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg18819.html
Follow the thread.
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com