Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
We're building a Linux-based appliance with perl, all the software (linux kernel, perl, applications) are build from source, into an staging area, then packaged together. We managed to get perl into the build process. My question is how to include extra packages (e.g., DBI, Crypt, etc.)
(1) When/where to include a specific package (XS extensions)? I can add the package source into the source "ext" directory, and build as a part of the base perl; or adding later when the base perl has been built (the usual Makefile.pl/make/ processes.
(2) The second question is how to resolve all dependencies, do I need to add one package at a time, i.e., download the source, put into the build, and figure out what it depends on. When I use cpan, some of these dependencies can create lots of other dependencies, I certainly don't want them all. Is there an easier way?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Building perl for appliances
by tsee (Curate) on Nov 20, 2009 at 13:55 UTC |