Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-10-28 09:22 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (379 votes). Check out past polls.