Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Problems with CPAN: installing Tk

by Anonymous Monk
on Sep 15, 2011 at 00:21 UTC ( #926032=note: print w/replies, xml ) Need Help??

in reply to Problems with CPAN: installing Tk

Install the module
to this directory
set PERL_MB_OPT=--install_base /home/user/devstuff set PERL_MM_OPT=INSTALL_BASE=/home/user/devstuff
using magic
cpanp i Mo::Dule
cpan  Mo::Dule
manually if Module::Build based
perl Build.PL --install_base /home/user/devstuff Build Build test Build install
manually if ExtUtils::MakeMaker based
perl Makefile.PL INSTALL_BASE=/home/user/devstuff perl -V:make prints the name of the make program you should use make , + nmake , dmake , gmake ... make make test make install
Then tell your perl where to find the modules
set PERL5LIB=/home/user/devstuff/lib/perl5
use lib '/home/user/devstuff/lib/perl5';
related cpan* toolchain config threads
How to install module with CPANPLUS without prompting?
Getting to accept Makefile.PL prompts
How to skip the prompt fot configuring CPAN.
How to stop Module::Build from generating html?
Specifying directories for cpan shell

;}) dance ({:

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://926032]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2017-03-25 10:54 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (311 votes). Check out past polls.