Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: install fails for Inline::C

by Khen1950fx (Canon)
on Mar 13, 2013 at 23:47 UTC ( #1023322=note: print w/ replies, xml ) Need Help??


in reply to install fails for Inline::C

I don't think that the problem is with Inline::C. I ran it through automated testing and it passed all tests; however, I noticed that when you try to install Test::Harness, it will fail in the cpan shell but install with a cpan shell script. Here's the cpan shell script that I ran tests on. Give it a test drive:

#!/usr/bin/perl BEGIN { $| = 1; $^W = 1; $ENV{'PERL_MM_USE_DEFAULT'} = 1; $ENV{'MB_TEST_EXPERIMENTAL'} = 1; } use strict; use warnings; use CPAN; CPAN::Shell->install(qw( Exporter Carp XSLoader AutoLoader constant Data::Dumper Scalar::Util Test File::Spec Time::HiRes Pod::Simple Encode Pod::Man ExtUtils::MakeMaker MIME::Base64 Test::Harness Test::More Digest::base Digest::MD5 IO::Handle Text::Balanced SelfLoader File::Temp CPAN CPAN::Meta::YAML version lib ExtUtils::ParseXS Pod::Usage Getopt::Long Text::Abbrev JSON::PP Parse::CPAN::Meta Perl::OSType Locale::Maketext::Simple Module::Load::Conditional Module::Load Params::Check IPC::Cmd File::Path IO::Select Module::Metadata ExtUtils::CBuilder ExtUtils::Manifest CPAN::Meta::Requirements CPAN::Meta ExtUtils::Install PAR::Dist Module::Build Tree::DAG_Node Sub::Uplevel Test::Warn Parse::RecDescent Filter::Util::Call YAML YAML::Syck Inline::Files Inline::C));


Comment on Re: install fails for Inline::C
Download Code
Re^2: install fails for Inline::C
by Special_K (Beadle) on Mar 14, 2013 at 04:15 UTC

    Khen1950fx: thanks, that seemed to work. What was the problem with the way I was trying to install it? What is your approach doing differently? Also normally when I try to install module I use:

    perl -MCPAN -Mlocal::lib -e 'CPAN::install(<module_name)'

    yet when running your script I apparently didn't need to specify -Mlocal::lib for perl/CPAN to know to install all those modules to my local lib rather than the default location. How did it know about my local lib?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023322]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (14)
As of 2014-10-30 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls