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 Thread support..

Discussion in 'General Discussion' started by joemorg, Dec 17, 2003.

  1. joemorg

    joemorg Registered

    Joined:
    Dec 17, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    In cPanel, how do i remove my current perl and install perl with thread support? this is the error I get when I try to run my script:

    This Perl hasn't been configured and built properly for the threads
    module to work. (The 'useithreads' configuration option hasn't been used.)

    Having threads support requires all of Perl and all of the XS modules in
    the Perl installation to be rebuilt, it is not just a question of adding
    the threads module. (In other words, threaded and non-threaded Perls
    are binary incompatible.)

    If you want to the use the threads module, please contact the people
    who built your Perl.

    Cannot continue, aborting.
    BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.1/i686-linux/threads.pm line 28.


    thanks in advance guys..
     
  2. joemorg

    joemorg Registered

    Joined:
    Dec 17, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    i wanted to bump this.. this is urgent as i use threads for most of my perl scripts..
     
  3. Cheater

    Cheater Registered

    Joined:
    Feb 13, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I also require theading support. Is there a quick and easy way to get it (RPM?) or do I need to manually compile perl? :confused:
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Grab whichever perl installer archive from http://layer1.cpanel.net and install that. Make sure to run "/scripts/upcp --force" after the install to ensure cPanel has all the perl modules it needs as well as dependancies.
     
  5. henker

    henker Well-Known Member

    Joined:
    May 1, 2003
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    The cPanel installers build a non-threaded perl iirc.
     
  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
    Indeed, so you'll have to download them as haze said and modify the installer scripts.
     
  7. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Ahh yes.. I was meaning to psychicly put that accross, thanks for picking up on it :P
     
  8. dsschile

    dsschile Registered

    Joined:
    Apr 18, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chile
    Can you did it?

    If you could install module threads for perl, please can you tell me? thx
     
  9. ManXP

    ManXP Well-Known Member

    Joined:
    Feb 3, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    If someone could provide any guide how to enable useithreads for cpanel, it would be just great.
     
  10. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I know there's been much demand for Threaded Perl support. I would recommended someone who can articulate the desire for this support better than I can (I'm not a Perl guy :/) submit a feature request to http://bugzilla.cpanel.net then post a link to it here.
     
  11. HostSentry.net

    Joined:
    Jul 1, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I am trying to get this set up right now. I will post how I did it if I don't break something ;)
     
  12. HostSentry.net

    Joined:
    Jul 1, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    So basically. Updating the cPanel installer and force updating the CP will not do it.

    Installing ActivePerl then updating the CP will cause problems.

    Hard to say. I would love a solution to this ;(
     
Loading...

Share This Page