Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ sudo yum groupinstall "Development Tools"
$ sudo yum install pkgconfig glib2-devel gettext libxml2-devel pango-devel cairo-devel
$ cd /usr/bin/
$ sudo curl -LOk http://xrl.us/cpanm
$ sudo chmod +x cpanm
$ sudo cpanm local::lib
-> FAIL Installing ExtUtils::MakeMaker failed. See /root/.cpanm/build.log for details.
-> FAIL Bailing out the installation for App-cpanminus-1.5018. Retry with --prompt or --force.
$ sudo yum install perl-devel
$ sudo cpanm local::lib
-> Can’t locate CPAN.pm in @INC
$ sudo yum install perl-CPAN
$ sudo cpanm local::lib
Successfully installed local-lib-1.008009
12 distributions installed
$ cat /etc/redhat-release
CentOS release 6.3 (Final)
$ cpanm -n GrowthForecast
$ cpanm -n GrowthForecast
Running Build.PL
Can't locate ExtUtils/BuildRC.pm in @INC (@INC contains: lib ~/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /us r/share/perl5 .) at lib/Module/Build/Tiny.pm line 11.
BEGIN failed--compilation aborted at lib/Module/Build/Tiny.pm line 11.
Compilation failed in require at Build.PL line 2.
BEGIN failed--compilation aborted at Build.PL line 2.
$ sudo cpanm -n GrowthForecast
Successfully installed GrowthForecast-0.50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment