Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Installing Perl 5.8.0 on redhat 7.1

by hotshot (Prior)
on Jan 16, 2003 at 12:10 UTC ( [id://227388]=perlquestion: print w/replies, xml ) Need Help??

hotshot has asked for the wisdom of the Perl Monks concerning the following question:

Hello guys!

Has anyone here tried (and succeeded) in installing perl 5.8.0 on Linux RedHat7.1. I trying to do that now, I downloaded the sorce rpm and I'm trying now to rebuild it in redhat 7.1 environment and i'm having little problems here. I doesn't agree to compile it (dependencies and stuff).
Can someone refer me to a document of info about the process?

Thanks

Hotshot

Replies are listed 'Best First'.
Re: Installing Perl 5.8.0 on redhat 7.1
by glwtta (Hermit) on Jan 16, 2003 at 17:33 UTC
    Out of curiosity, is there a reason you have to be on 7.1? Since you are doing a major upgrade to perl, I am guessing this isn't an exteremely sensitive production environment.

    As I remember 7.1 wasn't exactly stable. Not to say that I've tried this on 7.3 and it work, but I think you would have a better chance with that.

      I've upgraded to 5.8.0 on Red Hat 7.3 and it went flawlessly - but I built it from the tarball I downloaded from perl.com. I don't use RPMs for stuff like Perl because of previous bad experiences with files ending up in what I consider to be non-standard locations. Is a source RPM the same as the tarball?

      BTW, my Red hat 7.1 box is still running Perl 5.6.1 because I was worried that the upgrade wouldn't go smoothly and I don't have time right now to fix it if things go horribly wrong. At this point I figure I'll probably just upgrade to the latest Red Hat 8.x which comes with Perl 5.8.0.

Re: Installing Perl 5.8.0 on redhat 7.1
by slugmax (Hermit) on Jan 17, 2003 at 01:31 UTC
    Let's analyze the dependencies:
    Red Hat 7.1 (Perl 5.6.0)
    Requires:
        * ld-linux.so.2
        * libc.so.6
        * libcrypt.so.1
        * libdl.so.2
        * libm.so.6
        * libnsl.so.1
        * libdb-3.1.so
        * libdb.so.3
        * libgdbm.so.2
        * /usr/bin/perl 
    
    Red Hat 8.0 (Perl 5.8.0)
    Also Requires (in addition to most of the above list):
        * libdb-4.0.so (Only in RH 8)
        * libpthread.so.0 (Is already in glibc-2.2.4 found in RH 7.1)
        * libutil.so.1 (Is also in glibc-2.2.4 found in RH 7.1) 
    


    libdb-4 can be found here for RH 8.0 (source RPM). It should rebuild cleanly on RH 7.1, but you should install it, rather than upgrade it (-ivh as opposed to -Uvh). This is the only spot that may cause you problems, since your current system probably has packages that depend on the old libdb-3, meaning it has to hang around, but the new libdb-4 might conflict with it.

    If the libdb-4 source RPM doesn't work, you should download the latest Berkeley DB source from here. It uses GNU autotools, so should install in /usr/local... by default. Just add /usr/local...(whatever the library install path is) to your /etc/ld.so.conf and run /sbin/ldconfig as root to make the system aware of the new libraries before trying to recompile Perl 5.8.0.

    Good luck,
    Doug

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://227388]
Approved by valdez
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found