Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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 CPAN.pm 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
http://search.cpan.org/dist/CPAN/lib/CPAN.pm#mkmyconfig
http://search.cpan.org/dist/Module-Build/lib/Module/Build.pm#install_base

;}) dance ({:

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://926032]
help
Chatterbox?
[Corion]: Meh, I found another Amazon "used" scam reseller... If a product sells for "almost new" at half the price, it's a scam, most likely...
[ambrus]: Corion: that's not true. Actually for Christmas and Thanksgiving, a lot of people buy electronics such as cameras as present, then many of them figure out they don't need it,
[ambrus]: and the electronics gets reselled almost new, but it has to be sold at half price because otherwise everyone chooses to buy the new product which has fewer risk of selling damaged products labelled as almost new.
[ambrus]: You can actually get a lot of useful cheap really almost new products that way, with only a little risk of scams.
[ambrus]: That's what some of the "Black Friday" sales are about.
[Corion]: ambrus: Well, usually, these people don't have in their description "mail me at dodgy_reseller # g m a i l | co m" , replace the "#" by "@" :)
[Corion]: Oh, and the "o" in "com" is a zero
choroba orders a camera from Ole Scæmmer

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2017-11-21 15:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (304 votes). Check out past polls.

    Notices?