Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Installation headaches Module::Runtime

by tqisjim (Beadle)
on Jun 27, 2013 at 22:12 UTC ( #1041112=perlquestion: print w/replies, xml ) Need Help??
tqisjim has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to install SQL::Translator, and getting 1323 lines of error output. /tmp/tqis.t contains only one line:


As I understand, the failure occurs in Module::Runtime independently of the package I'm trying to install. Can anyone help me figure out what's going on?

[tqis@server SQL-Translator-0.11016-xVqWjE]# PERL_DL_NONLAZY=1 /usr/lo +cal/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/li +b', 'blib/arch')" /tmp/tqis.t /tmp/tqis.t .. 1/1 # Failed test 'use SQL::Translator::Schema::Procedure;' # at /tmp/tqis.t line 10. # Tried to use 'SQL::Translator::Schema::Procedure'. # Error: Use of uninitialized value in numeric ne (!=) at /usr/lo +cal/lib/perl5/site_perl/5.8.9/Role/ line 324. # Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8. +9/Module/ line 313. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. /tmp/tqis.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- /tmp/tqis.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.05 cusr + 0.01 csys = 0.08 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed.

Thanks - Jim

Replies are listed 'Best First'.
Re: Installation headaches Module::Runtime
by tobyink (Abbot) on Jun 27, 2013 at 22:15 UTC

    Have you tried installing the latest versions of Role::Tiny and Module::Runtime first?

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1041112]
Approved by tobyink
and all is calm...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2017-03-26 09:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (313 votes). Check out past polls.