[ale] Build perl modules during perl build

JD jdp at algoloma.com
Mon Feb 17 19:48:49 EST 2014


Perl devs use CPAN in a protected, non-system managed area with perlbrew. I love
PerlBrew.  Just tell SVN to ignore .cpan/

Or

Perl has many environment variables that can help you.
http://www.perlhowto.com/extending_the_library_path

Or I'm completely missing the question.

On 02/17/2014 05:39 PM, Chris Fowler wrote:
> I've got a question in regards to building extra perl modules.  When I build for
> a target I typically do this.
> 
> 1.  build perl src and install into a temp directory called /tmp/perl.<UUID>.
> 2.  Symlink /opt/perl to /tmp/perl.<UUID>/opt/perl
> 3.  Cd into each extra module src and execute this:
> 
> /opt/perl/bin/perl Makefile.pl install
> 
> 
> What this means is that I have to have a symlink on the development machine in
> /opt before I can begin building modules.
> Is there a way I can add each module src to the perl src tree and have it built
> in step #1?
> 
> For one of these trees I have 131 modules.
> 
> I do not want to use cpan each time because all this src will be in SVN and have
> to be the same version.
> 
> Chris
> 


More information about the Ale mailing list