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.

WHM does not install perl modules to the right place

Discussion in 'General Discussion' started by cortecds, Aug 29, 2009.

  1. cortecds

    cortecds Member

    Joined:
    Jan 15, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I have been searching google and here and cannot find an answer.
    When I do a module installation it acts like it does it but then my perl script does not work.

    cPanel 11.24.5-R38506 - WHM 11.24.2 - X 3.9
    Perl5

    I believe it is installing the modules to:
    /usr/lib/perl5/site_perl/5.8.8
    but they don't seem to work there.

    This is not just one module that has this problem it has happened a bunch of times and on other servers I own.
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Is there any error message are you receiving?
     
  3. cortecds

    cortecds Member

    Joined:
    Jan 15, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    no, ir acts like it installed it ok.
    I have done this with a bunch of modules.
    They still don't work.
    With image::magick I had to install from ssh.
    I would like to be able to install a module through cpanel like I was suppose to.
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Which interface are you using to install the Perl module?
     
  5. cortecds

    cortecds Member

    Joined:
    Jan 15, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    WHM

    Software -> Install Perl Module.
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Here's what is happening on one of my test servers:

    The Perl Module installer interface ( WHM >> Software >> Install Perl Module ) reports that modules will be installed to /usr/lib/perl. However, the output from a module installation reports the module is actually installed to /usr/local/lib/perl.

    My guess, at this point, is the same thing is happening on your server. I filed a bug report regarding this issue. It's primarily a UI issue as /usr/lib/perl is hard coded in several locations in the UI layer.
     
  7. cortecds

    cortecds Member

    Joined:
    Jan 15, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for your help, and reporting it.

    So until cpanel fixes it there is no work around besides manually loading them through ssh, correct?
     
Loading...

Share This Page