Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Distro Pkg-Managed, broken Install.pm, sudo clears $PERL5LIB

by Intrepid (Deacon)
on Sep 27, 2010 at 18:02 UTC ( [id://862257]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    PERL5LIB="/opt/cpan-installed/perl/lib/perl5:/opt/cpan-installed/perl/
    +module-lib/5.10/arch/i486-linux-gnu-thread-multi:/opt/cpan-installed/
    +perl/module-lib/5.10/lib" perl -MExtUtils::Install -e 'printf "%-62s 
    + %s\n", $INC{q|ExtUtils/Install.pm|}, ExtUtils::Install->VERSION'
    
    /opt/cpan-installed/perl/lib/perl5/ExtUtils/Install.pm          1.52
    
  2. or download this
    PERL5LIB="" perl -MExtUtils::Install -e 'printf "%-62s  %s\n", $INC{q|
    +ExtUtils/Install.pm|},ExtUtils::Install->VERSION'
    /usr/share/perl/5.10/ExtUtils/Install.pm                        1.44
    
  3. or download this
     sudo PERL5LIB="/opt/cpan-installed/perl/lib/perl5:/opt/cpan-installed
    +/perl/module-lib/5.10/arch/i486-linux-gnu-thread-multi:/opt/cpan-inst
    +alled/perl/module-lib/5.10/lib" \
    make pure_site_install
    
  4. or download this
        'make_install_make_command' => q[sudo PERL5LIB="${PERL5LIB}" make]
  5. or download this
        $conf->set_program( sudo => '/usr/bin/sudo PERL5LIB="${PERL5LIB}" ' );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://862257]
Approved by Erez
Front-paged by Erez
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 11:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found