Skip to content

Instantly share code, notes, and snippets.

@djanatyn
Created August 5, 2011 22:56
Show Gist options
  • Save djanatyn/1128725 to your computer and use it in GitHub Desktop.
Save djanatyn/1128725 to your computer and use it in GitHub Desktop.
[djanatyn@barda ~]$ cat ~/.cpanm/build.log
cpanm (App::cpanminus) 1.4008 on perl 5.012004 built for i386-linux-thread-multi
Work directory is /home/djanatyn/.cpanm/work/1312584901.1227
You have make /usr/bin/make
You have /usr/bin/wget
You have /bin/tar: tar (GNU tar) 1.25
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
Searching Dancer on cpanmetadb ...
!
! Can't write to /usr/local/share/perl5 and /usr/local/bin: Installing modules to /home/djanatyn/perl5
! To turn off this warning, you have to do one of the following:
! - run me as a root or with --sudo option (to install to /usr/local/share/perl5 and /usr/local/bin)
| - run me with --local-lib option e.g. cpanm --local-lib=~/perl5
! - Set PERL_CPANM_OPT="--local-lib=~/perl5" environment variable (in your shell rc file)
! - Configure local::lib in your shell to set PERL_MM_OPT etc.
!
Checking if you have ExtUtils::MakeMaker 6.31 ... No
Checking if you have ExtUtils::Install 1.46 ... No
==> Found dependencies: ExtUtils::MakeMaker, ExtUtils::Install
Searching ExtUtils::MakeMaker on cpanmetadb ...
--> Working on ExtUtils::MakeMaker
Fetching http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/ExtUtils-MakeMaker-6.59.tar.gz
-> OK
Unpacking ExtUtils-MakeMaker-6.59.tar.gz
Entering ExtUtils-MakeMaker-6.59
Checking configure dependencies from META.yml
Configuring ExtUtils-MakeMaker-6.59
Running Makefile.PL
Using included version of JSON::PP::Compat5006 (1.09) because it is not already installed.
Using included version of Parse::CPAN::Meta (1.4401) because it is not already installed.
Using included version of CPAN::Meta::YAML (0.003) because it is not already installed.
Using included version of File::Copy::Recursive (0.38) because it is not already installed.
Using included version of ExtUtils::Install (1.52) because it is not already installed.
Using included version of Version::Requirements (0.101020) because it is not already installed.
Using included version of CPAN::Meta (2.112150) because it is not already installed.
Using included version of JSON::PP (2.27104) because it is not already installed.
Using included version of ExtUtils::Manifest (1.58) because it is not already installed.
Using included version of version (0.88) because it is not already installed.
Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::MakeMaker
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Pod::Man 0 ... Yes (2.23)
Checking if you have File::Spec 0.8 ... Yes (3.33)
Checking if you have File::Basename 0 ... Yes (2.78)
Checking if you have DirHandle 0 ... Yes (1.03)
Checking if you have Data::Dumper 0 ... Yes (2.125)
Checking if you have Pod::Man 0 ... Yes (2.23)
Checking if you have File::Spec 0.8 ... Yes (3.33)
Checking if you have Data::Dumper 0 ... Yes (2.125)
Checking if you have File::Basename 0 ... Yes (2.78)
Checking if you have DirHandle 0 ... Yes (1.03)
Building ExtUtils-MakeMaker-6.59
make: *** No rule to make target `/usr/lib/perl5/CORE/config.h', needed by `Makefile'. Stop.
-> FAIL Installing ExtUtils::MakeMaker failed. See /home/djanatyn/.cpanm/build.log for details.
Searching ExtUtils::Install on cpanmetadb ...
--> Working on ExtUtils::Install
Fetching http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/ExtUtils-Install-1.54.tar.gz
-> OK
Unpacking ExtUtils-Install-1.54.tar.gz
Entering ExtUtils-Install-1.54
Checking configure dependencies from META.yml
Configuring ExtUtils-Install-1.54
Running Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: lib ~/perl5/lib/perl5/i386-linux-thread-multi ~/perl5/lib/perl5 /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makefile.PL line 24.
BEGIN failed--compilation aborted at Makefile.PL line 24.
Running Build.PL
Can't locate Module/Build.pm in @INC (@INC contains: ~/perl5/lib/perl5/i386-linux-thread-multi ~/perl5/lib/perl5 /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Build.PL line 2.
BEGIN failed--compilation aborted at Build.PL line 2.
-> N/A
-> FAIL Configure failed for ExtUtils-Install-1.54. See /home/djanatyn/.cpanm/build.log for details.
--> Working on Dancer
Fetching http://search.cpan.org/CPAN/authors/id/S/SU/SUKRIA/Dancer-1.3071.tar.gz
-> OK
Unpacking Dancer-1.3071.tar.gz
Entering Dancer-1.3071
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... No
==> Found dependencies: ExtUtils::MakeMaker
Already tried ExtUtils::MakeMaker. Skipping.
Configuring Dancer-1.3071
Running Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: ~/perl5/lib/perl5/i386-linux-thread-multi ~/perl5/lib/perl5 /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
-> N/A
-> FAIL Configure failed for Dancer-1.3071. See /home/djanatyn/.cpanm/build.log for details.
[djanatyn@barda ~]$ perl cpanm Dancer
!
! Can't write to /usr/local/share/perl5 and /usr/local/bin: Installing modules to /home/djanatyn/perl5
! To turn off this warning, you have to do one of the following:
! - run me as a root or with --sudo option (to install to /usr/local/share/perl5 and /usr/local/bin)
| - run me with --local-lib option e.g. cpanm --local-lib=~/perl5
! - Set PERL_CPANM_OPT="--local-lib=~/perl5" environment variable (in your shell rc file)
! - Configure local::lib in your shell to set PERL_MM_OPT etc.
!
==> Found dependencies: ExtUtils::MakeMaker, ExtUtils::Install
--> Working on ExtUtils::MakeMaker
Fetching http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/ExtUtils-MakeMaker-6.59.tar.gz ... OK
Configuring ExtUtils-MakeMaker-6.59 ... OK
Building ExtUtils-MakeMaker-6.59 ... FAIL
! Installing ExtUtils::MakeMaker failed. See /home/djanatyn/.cpanm/build.log for details.
--> Working on ExtUtils::Install
Fetching http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/ExtUtils-Install-1.54.tar.gz ... OK
Configuring ExtUtils-Install-1.54 ... N/A
! Configure failed for ExtUtils-Install-1.54. See /home/djanatyn/.cpanm/build.log for details.
--> Working on Dancer
Fetching http://search.cpan.org/CPAN/authors/id/S/SU/SUKRIA/Dancer-1.3071.tar.gz ... OK
==> Found dependencies: ExtUtils::MakeMaker
Configuring Dancer-1.3071 ... N/A
! Configure failed for Dancer-1.3071. See /home/djanatyn/.cpanm/build.log for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment