Web Hosting Talk







View Full Version : problems installing an rpm


roly
06-08-2002, 08:44 PM
[root@ localhost]# rpm -i mod_perl-common-1.3.23_1.26-5mdk.rpm
error: failed dependencies:
perl = 5.601 is needed by mod_perl-common-1.3.23_1.26-5mdk
perl-base >= 5.601 is needed by perl = 5.601 is needed by mod_perl-common-1.3.23_1.26-5mdk
[root@localhost /root]#
I discovered that I have Perl 5.6.0 and it needs 5.6.1
Is there any way to force it to install under 5.6.0?

AcuNett
06-08-2002, 09:59 PM
How bout getting an RPM for 5.6.0 instead of 5.6.1?

roly
06-08-2002, 10:10 PM
The only 5.6.0 RPM is for Apache 1.3.19 (and its an mod_perl 1.25 rpm:P) and i use Apache 1.3.23

ckpeter
06-08-2002, 10:44 PM
How about the --nodeps switch?

Peter

priyadi
06-09-2002, 02:58 AM
Try rebuilding from src.rpm. Find the rpm that ends in src.rpm, not ix86.rpm, and do an rpm --rebuild on that src.rpm to build an ix86.rpm file.

But, you might find it would be much easier to compile mod_perl from source.

roly
06-09-2002, 05:08 AM
YAY! I tried --nodeps and it worked!

roly
06-09-2002, 05:14 AM
DAMN:(

Now when I start Apache I get:

[FAILED]
httpd-perl: error while loading shared libraries: libperl.so: cannot load shared object file: No such file or directory
:bawling:

EzCool
06-09-2002, 12:49 PM
Is it possible to upgrade perl from an RPM?

roly
06-09-2002, 07:44 PM
yes on mandrake linux you can update perl and mod_perl from RPM