The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Perl 5.8.7 Released

Discussion in 'General Discussion' started by brentp, Jun 7, 2005.

Thread Status:
Not open for further replies.
  1. brentp

    brentp Well-Known Member

    Joined:
    Mar 11, 2004
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ayr, North Queensland, Australia
    Ok, since perl 5.8.7 was released, some of you might want to upgrade to it. Heres how.

    Just get the perl586installer.tar.gz file from layer1.

    nano install, change '586' to '587'. then comment out these parts down later on:

    system("./fetchfile","perl${ver}.tar.gz");
    system("tar","xfzv","perl${ver}.tar.gz");

    so theyre like this:

    #system("./fetchfile","perl${ver}.tar.gz");
    #system("tar","xfzv","perl${ver}.tar.gz");

    then you save it and run ./install.

    Regards,
    Brent
     
  2. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    have anyone tried this out ? I just tried on a new box we have but the upgrade does not appear to be a success :

    Sync Source: http://httpupdate.cpanel.net/RELEASE/scripts
    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/.cpanelsync.lock....Trying httpupdate.cpanel.net @ 69.72.164.151
    100%......Done
    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/.cpanelsync.bz2....Trying httpupdate.cpanel.net @ 69.72.164.151
    35%...71%...100%......Done
    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/installzendopt.bz2....100%......Done
    Got file ./installzendopt ok (md5 matches)
    sh: line 1: cd: perl-5.8.7: No such file or directory
    sh: line 1: ./configure.gnu: No such file or directory
    make: *** No targets specified and no makefile found. Stop.
     
  3. astridas

    astridas Member

    Joined:
    Jun 20, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    You need to download Perl 5.8.7 from http://www.cpan.org/src/stable.tar.gz and extract it into that same directory.

    It should look like:

    lrod# ls
    fetchfile install installscripts perl-5.8.7 stable.tar
    rod#
     
    #3 astridas, Jun 22, 2005
    Last edited: Jun 22, 2005
  4. cPanelBilly

    cPanelBilly Guest

    Perl 5.8.7 has not yet been tested to fully work with cPanel. While this may work it also may break some of the underlying functionality that may not be immediatly available to see. We currently do not recommend upgrading to 5.8.7
     
  5. astridas

    astridas Member

    Joined:
    Jun 20, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Currently running 5.8.7 on a test server where I host my free sites :) . If I run across something that is broken, I'll help by posting it here.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    ...and I'd also suggest that you should only upgrade if you have a specific need. The way perl is designed is that there's no need at all for the latest bleeding edge version unless you have that need. As Billy says, you're more likely to break things than fix anything due to the very nature of perls modular design.
     
  7. HendrikM

    HendrikM Active Member

    Joined:
    Jun 26, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    How true... I wish I read this before proceeding... :(

    How do I go back to the previous version of Perl? Any help will be GREATLY appreciated...
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Did you use the perlinstaller on layer1?
     
  9. HendrikM

    HendrikM Active Member

    Joined:
    Jun 26, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Yes, I indeed did!

    Is there any salvation for me?
     
  10. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Dont run this installer. See my other post about how it trashed 2 installations on two separate servers. If you want to cut your own throat by all means go ahead and do the upgrade.
     
  11. HendrikM

    HendrikM Active Member

    Joined:
    Jun 26, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Thank you for the warning, but alas it is too late - I already did it and broke my server's SpamAsssassin... :(

    Any help getting back to normal will however be appreciated...
     
  12. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    There's no history of the cPanel perl installer having problems - what did cPanel support say when you contacted them? You did contact them didn't you?

    There should, in fact, be no problems whatsoever with the perlinstaller since it's used everytime anyone installs cPanel usually without any issues at all.

    If you're not confident using it, or how to deal with perl issues as the above poster, then I'd suggest hiring a server admin to do it for you, or asking your datacenter if they offer that kind of support.
     
  13. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Please don't make generalisations with such a narrow field of experience on with the script. If you had problems you should have sought help either from cPanel or a server admin familiar with installing perl.
     
  14. HendrikM

    HendrikM Active Member

    Joined:
    Jun 26, 2004
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    The perl installer did install without a hitch and the only problem I encountered was the problem with SpamAssassin after the upgrade. It seems evident that the new Perl was using a newer version of the Berkley Database (BDB) and since I am using RedHat ES3 there is no easy way of upgrading BDB as ES3 was too old (according to my hosting provider).

    To solve the SpamAssassin problem I have to upgrade BDB and then upgrade the SpamAssassin databases in every user's home directory and unfortunately I have no clue how to go about doing this.
     
  15. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0

    I am not generalizing. I had Cpanel log into two servers to fix this this problem because of the installer. And i dont need a server admin. What i need is a perl installer that doesnt screw up my existing installation, especially when the installer is made available by cPanel. I assume its going to work as it should.
     
  16. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, you were generalising, by making alarmist comments based on a very narrorw experience and making recommendations to others based on that helps no-one. Please stop it. I've asked once already, I will not ask again.

    As I said, if you don't understand how perl installations work, as you clearly did not, you should indeed get a server admin who understand it to help you, as you clearly did by asking cPanel for help, and IIRC, you had to for php and apache builds. There's no harm in admitting your own ignorance and seeking help.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page