+ Attaching log file.

On Tue, Oct 7, 2014 at 2:59 PM, Mike <ekimduna...@gmail.com> wrote:

>  Please provide us with any errors from the installation log you've
> received when using cpanm.
>
>
> On 10/06/2014 08:58 PM, Benjamin Fernandis wrote:
>
> Hi,
>
>  Today I face same previous problem to install package with cpanm.
>
>  This time i have already installed Development Tools as suggested by Sam.
>
>
>  For testing it more, i was trying to install dancer by cpanm. First
> trial, i got failed and then looked into build log and found some dependent
> modules are not there so then i tried to first install them and those also
> have some more dependencies and then i have to resolve first from those and
> then step by step do install manually and lastly dancer installation works
> for me.
>
>  Below is my manually package installation.
>
>  Please suggest me to resolve this installation problem. Also suggest me
> if I am missing anything at OS level.
>
>  OS : cenots 7
>
>  Regards
> Ben
>
>   cpanm Dancer
>   334
>   335  vim /root/.cpanm/work/1412646550.26687/build.log
>   336
>   337  cpanm HTTP::Server::Simple
>   338  vim /root/.cpanm/work/1412646612.26849/build.log
>   339  cpanm Test::Pod
>   340  cpanm HTTP::Server::Simple
>   341  vim /root/.cpanm/work/1412646658.27040/build.log
>   342  cpanm Test::Pod::Coverage
>   343  cpanm HTTP::Server::Simple
>   344  vim /root/.cpanm/work/1412646703.27571/build.log
>   345  cpanm HTTP::Server
>   346  cpanm Env
>   347  cpanm HTTP::Server::Simple
>   348  cpanm Dancer
>   349  instmodsh
>   350  history
>
> On Sun, Oct 5, 2014 at 6:17 PM, Benjamin Fernandis <benjo11...@gmail.com>
> wrote:
>
>> Hi, Sam,
>>
>>  Thanks, After installing development tools group, it works.
>>
>>  Regards
>> Ben
>>
>> On Sun, Oct 5, 2014 at 6:02 PM, Sam <p...@net153.net> wrote:
>>
>>> You probably need to give us more info as both cpan and cpanm will auto
>>> resolve and install needed dependencies.
>>>
>>> The dependency installs could be failing because a compiler or something
>>> similar is missing.
>>>
>>> If you are on a redhat based system, trying running:
>>> yum groupinstall "Development Tools"
>>>
>>> If you are on a debian based system try running:
>>> aptitude install build-essential
>>>
>>>
>>> --Sam
>>>
>>>
>>> On 10/04/2014 11:39 PM, Benjamin Fernandis wrote:
>>>
>>>> Hi Mike,
>>>>
>>>> Thanks for your kind response. I tried cpanm instead of cpan, but many
>>>> times, it does not install require dependencies for module.
>>>>
>>>> For example, when i was trying to install
>>>> cpanm XML::SAX  -> it failed and said no Fatal.pm module , then i
>>>> manually first installed that module and then i tried to install
>>>> XML::SAX and it works.
>>>>
>>>> It happens many times while installing different modules. I mean cpanm
>>>> does not automatically fetch require dependencies for module. like yum
>>>> in centos to install packages.
>>>>
>>>> Is there any tool or something like yum for perl module installations.
>>>> Or Is there , I am missing anything ?
>>>>
>>>> Regards
>>>> Ben
>>>>
>>>> On Sun, Oct 5, 2014 at 2:51 PM, Mike <ekimduna...@gmail.com
>>>>  <mailto:ekimduna...@gmail.com>> wrote:
>>>>
>>>>     Use cpanminus.
>>>>
>>>>     To install:
>>>>
>>>>     sudo curl -L http://cpanmin.us | perl - --sudo App::cpanminus
>>>>
>>>>     To use: sudo cpanm <module to install>
>>>>
>>>>     Here's the official documentation:
>>>>
>>>> http://search.cpan.org/~miyagawa/App-cpanminus-1.7012/lib/App/cpanminus.pm
>>>>
>>>>
>>>>     On 10/4/14, 8:32 PM, Benjamin Fernandis wrote:
>>>>
>>>>>     Hi,
>>>>>
>>>>>     Many times I face problem with module installation and then have
>>>>>     to go to google and apply trial and error to resolve this
>>>>>     permanently, could u please suggest me best and correct method to
>>>>>     get resolved it?
>>>>>
>>>>>     i mean if i installed centos 7 freshly then what are
>>>>>     pre-requisites from OS side to get perl module installation
>>>>>     successfully. What steps require to follow?
>>>>>
>>>>>     Previously i tried cpanm and cpan console but some times faced
>>>>>     installation faild error.
>>>>>
>>>>>     Is there any specific guideline to resolve this problem? I am
>>>>>     using centos based distro.
>>>>>
>>>>>     Regards
>>>>>     Ben
>>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>>> For additional commands, e-mail: beginners-h...@perl.org
>>> http://learn.perl.org/
>>>
>>>
>>>
>>
>
>
vim /root/.cpanm/work/1412646703.27571/build.log
cpanm (App::cpanminus) 1.7012 on perl 5.016003 built for 
x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1412646703.27571
You have make /usr/bin/make
You have LWP 6.08
You have /usr/bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 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.
You have /usr/bin/unzip
Searching HTTP::Server::Simple on cpanmetadb ...
--> Working on HTTP::Server::Simple
Fetching 
http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz
-> OK
Unpacking HTTP-Server-Simple-0.44.tar.gz
Entering HTTP-Server-Simple-0.44
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.68)
Configuring HTTP-Server-Simple-0.44
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for HTTP::Server::Simple
Writing MYMETA.yml and MYMETA.json
-> OK
  ecking dependencies from MYMETA.json ...
▽hecking if you have Test::More 0 ... Yes (1.001006)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.68)
Checking if you have CGI 0 ... Yes (4.04)
Checking if you have Socket 0 ... Yes (2.010)
Building and testing HTTP-Server-Simple-0.44
cp lib/HTTP/Server/Simple/CGI/Environment.pm 
blib/lib/HTTP/Server/Simple/CGI/Environment.pm
cp lib/HTTP/Server/Simple.pm blib/lib/HTTP/Server/Simple.pm
cp lib/HTTP/Server/Simple/CGI.pm blib/lib/HTTP/Server/Simple/CGI.pm
Manifying blib/man3/HTTP::Server::Simple::CGI::Environment.3pm
Manifying blib/man3/HTTP::Server::Simple.3pm
Manifying blib/man3/HTTP::Server::Simple::CGI.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00signature.t .... ok
t/00smoke.t ........ ok
t/01live.t ......... ok
t/02pod.t .......... ok
t/03podcoverage.t .. ok
Can't locate Env.pm in @INC (@INC contains: 
/root/.cpanm/work/1412646703.27571/HTTP-Server-Simple-0.44/inc 
/root/.cpanm/work/1412646703.27571/HTTP-Server-Simple-0.44/bli
b/lib /root/.cpanm/work/1412646703.27571/HTTP-Server-Simple-0.44/blib/arch 
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/ve
ndor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/04cgi.t line 140, <DATA> 
line 16.
BEGIN failed--compilation aborted at t/04cgi.t line 140, <DATA> line 16.
t/04cgi.t ..........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/04cgi.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=6, Tests=29,  2 wallclock secs ( 0.02 usr  0.00 sys +  0.14 cusr  0.01 
csys =  0.17 CPU)
Result: FAIL
Failed 1/6 test programs. 0/29 subtests failed.
make: *** [test_dynamic] Error 2
-> FAIL Installing HTTP::Server::Simple failed. See 
/root/.cpanm/work/1412646703.27571/build.log for details. Retry with --force to 
force install it.
[root@kvm ~]# vim /root/.cpanm/work/1412646658.27040/build.log
cpanm (App::cpanminus) 1.7012 on perl 5.016003 built for 
x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1412646658.27040
You have make /usr/bin/make
You have LWP 6.08
You have /usr/bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 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.
You have /usr/bin/unzip
Searching HTTP::Server::Simple on cpanmetadb ...
--> Working on HTTP::Server::Simple
Fetching 
http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz
-> OK
Unpacking HTTP-Server-Simple-0.44.tar.gz
Entering HTTP-Server-Simple-0.44
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.68)
Configuring HTTP-Server-Simple-0.44
Running Makefile.PL
  ecking if your kit is complete...
▽ooks good
Writing Makefile for HTTP::Server::Simple
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (1.001006)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.68)
Checking if you have CGI 0 ... Yes (4.04)
Checking if you have Socket 0 ... Yes (2.010)
Building and testing HTTP-Server-Simple-0.44
cp lib/HTTP/Server/Simple/CGI/Environment.pm 
blib/lib/HTTP/Server/Simple/CGI/Environment.pm
cp lib/HTTP/Server/Simple.pm blib/lib/HTTP/Server/Simple.pm
cp lib/HTTP/Server/Simple/CGI.pm blib/lib/HTTP/Server/Simple/CGI.pm
Manifying blib/man3/HTTP::Server::Simple::CGI::Environment.3pm
Manifying blib/man3/HTTP::Server::Simple.3pm
Manifying blib/man3/HTTP::Server::Simple::CGI.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00signature.t .... ok
t/00smoke.t ........ ok
t/01live.t ......... ok
t/02pod.t .......... ok
t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD 
coverage
Can't locate Env.pm in @INC (@INC contains: 
/root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/inc 
/root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/bli
b/lib /root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/blib/arch 
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/ve
ndor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/04cgi.t line 140, <DATA> 
line 16.
BEGIN failed--compilation aborted at t/04cgi.t line 140, <DATA> line 16.
t/04cgi.t ..........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/04cgi.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
[root@kvm ~]# vim /root/.cpanm/work/1412646658.27040/build.log
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for HTTP::Server::Simple
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (1.001006)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.68)
Checking if you have CGI 0 ... Yes (4.04)
Checking if you have Socket 0 ... Yes (2.010)
Building and testing HTTP-Server-Simple-0.44
cp lib/HTTP/Server/Simple/CGI/Environment.pm 
blib/lib/HTTP/Server/Simple/CGI/Environment.pm
cp lib/HTTP/Server/Simple.pm blib/lib/HTTP/Server/Simple.pm
cp lib/HTTP/Server/Simple/CGI.pm blib/lib/HTTP/Server/Simple/CGI.pm
Manifying blib/man3/HTTP::Server::Simple::CGI::Environment.3pm
Manifying blib/man3/HTTP::Server::Simple.3pm
Manifying blib/man3/HTTP::Server::Simple::CGI.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00signature.t .... ok
t/00smoke.t ........ ok
t/01live.t ......... ok
t/02pod.t .......... ok
t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD 
coverage
Can't locate Env.pm in @INC (@INC contains: 
/root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/inc 
/root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/bli
b/lib /root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/blib/arch 
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/ve
ndor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/04cgi.t line 140, <DATA> 
line 16.
BEGIN failed--compilation aborted at t/04cgi.t line 140, <DATA> line 16.
t/04cgi.t ..........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/04cgi.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
[root@kvm ~]# 
[root@kvm ~]# c
[root@kvm ~]# cat /root/.cpanm/work/1412646658.27040/build.log
cpanm (App::cpanminus) 1.7012 on perl 5.016003 built for 
x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1412646658.27040
You have make /usr/bin/make
You have LWP 6.08
You have /usr/bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 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
Searching HTTP::Server::Simple on cpanmetadb ...
--> Working on HTTP::Server::Simple
Fetching 
http://www.cpan.org/authors/id/J/JE/JESSE/HTTP-Server-Simple-0.44.tar.gz
-> OK
Unpacking HTTP-Server-Simple-0.44.tar.gz
Entering HTTP-Server-Simple-0.44
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.68)
Configuring HTTP-Server-Simple-0.44
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for HTTP::Server::Simple
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (1.001006)
Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.68)
Checking if you have CGI 0 ... Yes (4.04)
Checking if you have Socket 0 ... Yes (2.010)
Building and testing HTTP-Server-Simple-0.44
cp lib/HTTP/Server/Simple/CGI/Environment.pm 
blib/lib/HTTP/Server/Simple/CGI/Environment.pm
cp lib/HTTP/Server/Simple.pm blib/lib/HTTP/Server/Simple.pm
cp lib/HTTP/Server/Simple/CGI.pm blib/lib/HTTP/Server/Simple/CGI.pm
Manifying blib/man3/HTTP::Server::Simple::CGI::Environment.3pm
Manifying blib/man3/HTTP::Server::Simple.3pm
Manifying blib/man3/HTTP::Server::Simple::CGI.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00signature.t .... ok
t/00smoke.t ........ ok
t/01live.t ......... ok
t/02pod.t .......... ok
t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD 
coverage
Can't locate Env.pm in @INC (@INC contains: 
/root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/inc 
/root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/blib/lib 
/root/.cpanm/work/1412646658.27040/HTTP-Server-Simple-0.44/blib/arch 
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/04cgi.t 
line 140, <DATA> line 16.
BEGIN failed--compilation aborted at t/04cgi.t line 140, <DATA> line 16.
t/04cgi.t .......... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Test Summary Report
-------------------
t/04cgi.t        (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=6, Tests=26,  2 wallclock secs ( 0.02 usr  0.00 sys +  0.13 cusr  0.02 
csys =  0.17 CPU)
Result: FAIL
Failed 1/6 test programs. 0/26 subtests failed.
make: *** [test_dynamic] Error 2
-> FAIL Installing HTTP::Server::Simple failed. See 
/root/.cpanm/work/1412646658.27040/build.log for details. Retry with --force to 
force install it.
-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

Reply via email to