Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: CPAN + PREFIX + Module::Build

by dakkar (Hermit)
on Jul 15, 2005 at 18:08 UTC ( #475312=note: print w/ replies, xml ) Need Help??


in reply to CPAN + PREFIX + Module::Build

I use this setup:

export PERL5LIB=/home/dakkar/localperl:$PERL5LIB export PERL5_CPANPLUS_CONFIG=/home/dakkar/.cpanplus/config export PERL_MM_OPT='INSTALLDIRS=perl LIB=/home/dakkar/localperl/ INSTA +LLBIN=/home/dakkar/bin INSTALLSCRIPT=/home/dakkar/bin/ INSTALLMAN1DIR +=/home/dakkar/man/man1 INSTALLMAN3DIR=/home/dakkar/man/man3' function MyBuild { perl Build.PL \ --install_path lib=/home/dakkar/localperl/lib/ \ --install_path arch=/home/dakkar/localperl/lib/i686-linux-thre +ad-multi/ \ --install_path script=/home/dakkar/bin/ \ --install_path bin=/home/dakkar/bin/ \ --install_path bindoc=/home/dakkar/man/man1 \ --install_path libdoc=/home/dakkar/man/man3 \ "$@" } export MANPATH=/home/dakkar/man:$MANPATH

This way, I have my modules in ~/localperl and scripts and manpages go in usable places. It works both with MakeMaker and Module::Build, provided you use MyBuild instead of perl Build.PL. It also has a localized CPANPLUS config, with the same parameters set per both build systems.

-- 
        dakkar - Mobilis in mobile

Most of my code is tested...

Perl is strongly typed, it just has very few types (Dan)


Comment on Re: CPAN + PREFIX + Module::Build
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (16)
As of 2014-07-28 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (200 votes), past polls