On Mon, Aug 07, 2006, Sisyphus wrote:
> 
> ----- Original Message ----- 
> From: "Mahlon E. Smith" <[EMAIL PROTECTED]>
> .
> .
> >
> > I'm following the instructions in the Inline pod ('Writing Modules with
> > Inline') but have reached an impass.
> >
> 
> Math::Simple (mentioned in that section of the docs) actually exists in the
> modules/Math/Simple directory in the Inline-0.44 source.
> You can cd to that directory and check that you can build Math::Simple. If
> it builds for you (as it should do) you could then compare it to your
> module, and (hopefully) determine what it is about your module that's
> causing a problem. If you still can't get it to work, we'll probably need to
> see a demo from you (Makefile.PL and .pm file) that demonstrates the
> problem - something that we can run and see for ourselves.
> 
> If Math::Simple won't build for you, let us know what errors that attempt
> produced.


Thanks for the tip, it set me on the right track.

Two separate probs - the first was that h2xs placed my module under
the 'lib' directory - it appeared that the Makefile wanted in the root
of the build dir.  (Not sure if there is a flag to switch off that
behavior.)

The second was using $VERSION in the Inline call, instead of the
hardcoded string.  I guess Inline::MakeMaker doesn't parse that out,
which makes sense in retrospect.

Onward to CPAN!  Thanks Rob.

--
Mahlon E. Smith  
[EMAIL PROTECTED] | http://www.martini.nu/

Attachment: pgpT0MW9p4gAh.pgp
Description: PGP signature

Reply via email to