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.

Installing Perl Modules

Discussion in 'General Discussion' started by Audiopro, Mar 24, 2014.

  1. Audiopro

    Audiopro Active Member

    Joined:
    Feb 15, 2014
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I am encountering problems installing some Perl modules via cPanel.

    I have installed a number of modules but some try to install and just fail.

    This is a report of the latest failure from 'cpanm/build.log'

    Code:
    cpanm (App::cpanminus) 1.6916 on perl 5.010001 built for i386-linux-thread-multi
    Work directory is /home/steam/.cpanm/work/1395678283.29803
    
    You have make /usr/bin/make
    
    Falling back to HTTP::Tiny 0.029
    You have /bin/tar: tar (GNU tar) 1.23
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later 
    <http://gnu.org/licenses/gpl.html>.
    
    This is free software: you are free to change and redistribute it.
    
    There is NO WARRANTY, to the extent permitted by law.
    
    
    Written by John Gilmore and Jay Fenlason.
    
    You have /usr/bin/unzip
    
    You have Cpanel::HttpRequest 2.1
    
    Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.86)
    
    Checking if you have ExtUtils::Install 1.46 ... Yes (1.54)
    
    Searching on cpanmetadb ...
    Searching HTML::HTMLDoc on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/HTML::HTMLDoc]) ...
    Source: fastest CPAN mirror ... --> Working on HTML::HTMLDoc
    
    Fetching http://cpan.mirror.anlx.net///authors/id/M/MF/MFRANKL/HTML-HTMLDoc-0.10.tar.gz
    -> OK
    
    Unpacking HTML-HTMLDoc-0.10.tar.gz
    
    Entering HTML-HTMLDoc-0.10
    
    Checking configure dependencies from META.yml
    
    Configuring HTML-HTMLDoc-0.10
    
    Running Makefile.PL
    -> OK
    
    Checking dependencies from MYMETA.json ...
    Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.86)
    
    Checking if you have IPC::Open3 0 ... Yes (1.04)
    
    Building HTML-HTMLDoc-0.10
    -> 
    FAIL Installing HTML::HTMLDoc failed. 
    See /home/studioso/.cpanm/build.log for details.
    Is this a cPanel problem or could it be that the module installer files are sometimes not as well prepared as others?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cPanel simply uses CPAN to install Perl modules, so this is not likely to be a problem with cPanel itself. While installing modules from CPAN is usually reliable, sometimes there is a problem with a particular module as published to CPAN.

    Did you try looking at the log file it mentions? It may contain more specific information about why it failed:

    Code:
    FAIL Installing HTML::HTMLDoc failed.
    See /home/studioso/.cpanm/build.log for details.
     
  3. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Also, it appears that you are trying to install the module in cPanel. Have you tried installing the same module as root in the WebHost Manager?
     
  4. Audiopro

    Audiopro Active Member

    Joined:
    Feb 15, 2014
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I take it the replies are being moderated, very confusing when you are used to messages appearing instantly.
    I won't repeat what was in the last reply, just that I have tried what you suggested and all was going well until the very end when it just failed

    It is a pity that it bails out and clears all of the modules, I could manage to manually add a few but in this module, PDF::FromHTML, there are far to many dependencies for a manual installation.
     
  5. Audiopro

    Audiopro Active Member

    Joined:
    Feb 15, 2014
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    There are quite a few errors with module tidy.xs and the log suggests

    Could someone explain what that means please.
     
Loading...

Share This Page