Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: How to add path to @INC

by TSN (Acolyte)
on May 21, 2016 at 00:12 UTC ( #1163704=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to add path to @INC
in thread How to add path to @INC

I see! Well, can you tell me how shall I proceed to install it in the directory e.g. /usr/lib/perl? How can I make this test right?:
Running make test "/usr/local/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' + -- TryCatch.bs blib/arch/auto/TryCatch/TryCatch.bs 644 PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MT +est::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, ' +inc', 'blib/lib', 'blib/arch')" t/catch_01.t t/context.t t/destroy.t +t/handwritten.t t/invalid.t t/method.t t/mx_types_structured.t t/nest +ed.t t/simple.t t/types.t t/xml_sax_expat.t t/catch_01.t ............. 1/? Bailout called. Further testing stoppe +d: Cannot load TryCatch # Failed test 'use TryCatch;' # at t/catch_01.t line 6. # Tried to use 'TryCatch'. # Error: Can't locate Scope/Upper.pm in @INC (you may need to ins +tall the Scope::Upper module) (@INC contains: /home/uce/.cpan/build/T +ryCatch-1.003002-hybwUs/inc /home/uce/.cpan/build/TryCatch-1.003002-h +ybwUs/blib/lib /home/uce/.cpan/build/TryCatch-1.003002-hybwUs/blib/ar +ch /usr/local/lib/perl5/site_perl/5.24.0/x86_64-linux /usr/local/lib/ +perl5/site_perl/5.24.0 /usr/local/lib/perl5/5.24.0/x86_64-linux /usr/ +local/lib/perl5/5.24.0 .) at /home/uce/.cpan/build/TryCatch-1.003002- +hybwUs/blib/lib/TryCatch.pm line 13. # BEGIN failed--compilation aborted at /home/uce/.cpan/build/TryCatch- +1.003002-hybwUs/blib/lib/TryCatch.pm line 13. # Compilation failed in require at t/catch_01.t line 6. # BEGIN failed--compilation aborted at t/catch_01.t line 6. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 255 just after 1. FAILED--Further testing stopped: Cannot load TryCatch make: ** [test_dynamic] Erro 255 ASH/TryCatch-1.003002.tar.gz one dependency not OK (Scope::Upper); additionally test harness failed /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports ASH/TryCatch-1.003002.tar.gz Failed during this command: VPIT/Scope-Upper-0.28.tar.gz : make NO ASH/TryCatch-1.003002.tar.gz : make_test NO one depen +dency not OK (Scope::Upper); additionally test harness failed
Sorry about my ignorance!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2019-07-17 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?