Audiopro

Active Member
Feb 15, 2014
37
0
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?
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
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.
 

Audiopro

Active Member
Feb 15, 2014
37
0
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

Installing /usr/local/share/man/man3/PDF::API2::Basic::PDF::Null.3pm
Installing /usr/local/share/man/man3/PDF::API2::Basic::PDF::Objind.3pm
Installing /usr/local/share/man/man3/PDF::API2::Resource::CIDFont::CJKFont.3pm
Appending installation info to /usr/lib/perl5/perllocal.pod
OK
Successfully installed PDF-API2-2.021
Installing /usr/local/share/perl5/i386-linux-thread-multi/.meta/PDF-API2-2.021/install.json
Installing /usr/local/share/perl5/i386-linux-thread-multi/.meta/PDF-API2-2.021/MYMETA.json
! Installing the dependencies failed: Module 'HTML::Tidy' is not installed
! Bailing out the installation for PDF-FromHTML-0.31. Retry with --prompt or --force.
6 distributions installed
Perl Expect failed with non-zero exit status: 256

All available perl module install methods have 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.