Installing Perl 5.8 from rpm
Posted by John_Moylan (jfp), 28 January 2003Not used RPM's much but download the Perl 5.8 rpm.
Trying to install "rpm -Uvh perl5.8.rpm" threw up this dependancies error.
error: failed dependencies:
libdb-4.0.so is needed by perl-5.8.0-55
perl(Filter::Util::Call) is needed by perl-5.8.0-55
perl-Digest-MD5 is needed by perl-libwww-perl-5.63-9
Why would this happen? thought it would have been a stand alone install with no dependancies?
And its not like its calling for some rpm's its calling some modules. (which I've installed, though on my Perl 5.6 installation)
Confused and scared!
Posted by admin (Graham Ellis), 28 January 2003Pure guess, but is the libdb a database library that's an optional part of the Linux load, and it's an option you chose not to have when you installed the OS?
Posted by John_Moylan (jfp), 29 January 2003Seems that may be it then, but after finding the libdb rpm and following multiple dependancies it had I gave up, (no time) might just have to compile Perl 5.8 from source.
Posted by bdulfer (bdulfer), 3 February 2003You can tell rpm to ignore the dependencies:
rpm -Uvh --nodeps perl5.8.rpm
Posted by John_Moylan (jfp), 6 February 2003>>You can tell rpm to ignore the dependencies:
>>rpm -Uvh --nodeps perl5.8.rpm
Which installed perl5.8, but then broke most of my scripts as the installation path was different, I know I can point @INC to my old paths but I was hoping this would be a seamless upgrade, seems not!
It also refused to install modules via CPAN.pm using the CPAN shell.
Ah well, rolled it back to 5.6.1 only did this cos I can't install some XSLT stuff I wanted to try out.
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: firstname.lastname@example.org • WEB: http://www.wellho.net • SKYPE: wellho