LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Paul Miller Date: Thu Jul 24 07:36:23 2008 Subject: hi, I'm new here (dependencies)
Hi, I'm new here. I'm just getting acclimated to M::B, having used
EU::MM for many years.
I ran into a chicken-and-egg problem with version.pm and EU::MM, that
is, EU::MM allows you to require version.pm, but writes undef for the
version number in the Makefile, making XS builds fail for machines
that didn't previously have version.pm installed. E::B solves this by
(as I understand it), including the infamous ::vpp...
Anywho, I feel like I have two left feet with E::B so far. One thing
that irks me is that top-level .xs files are moved into the lib/
hierarchy before being built. This frustrates my include process, but
I've gotten around it by modifying my .xs to have a smattering of
../../ in them.
But that leads me to my actual question, sorry it took so long to get
there: How do you add dependencies?
My Blarg.xs file depends on include1.xs, include2.xs and include3.xs.
If I edit include1.xs an ./Build the Build script fails to notice that
Blarg.so is not up to date. In EU::MM it's a simple depends => {
Blarg.xs => " include1.xs include2.xs include3.xs " }, but I'm having
no luck finding it in E::B so far. I did a little source diving, but
E::B is still esoteric to me (for now).
-Paul
--
If riding in an airplane is flying, then riding in a boat is swimming.
93 jumps, 38.4 minutes of freefall, 75.1 freefall miles.
| Navigate in group perl.module.build at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |