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 20, 2016 at 23:27 UTC ( #1163701=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 donīt know what to do with the comand that you post! How can I reinstall TryCatcher in other directory?

When I try install it again through cpan I have the test failed:

# 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

The Scope::Upper module is already installed too but in the directory ~/.cpan/build/Scope-Upper-0.28-DoTw6Z/lib

What should I do to make it in the right directory

Replies are listed 'Best First'.
Re^5: How to add path to @INC
by choroba (Bishop) on May 20, 2016 at 23:41 UTC
    Scope::Upper doesn't work in 5.24, see CPAN Testers.

    Again, ~/.cpan/build/Scope-Upper-0.28-DoTw6Z/lib isn't a place where Scope::Upper is installed, it's the place where your CPAN client tries to build the module and install it from there to its desired location (probably /usr/local/lib/perl5).

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2019-07-22 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (16 votes). Check out past polls.

    Notices?