develooper Front page | perl.inline | Postings from March 2012

Question about writing a CPAN module based on Inline::C

Thread Previous | Thread Next
From:
Michael Roberts
Date:
March 10, 2012 20:46
Subject:
Question about writing a CPAN module based on Inline::C
Message ID:
4F5C2E00.9050309@vivtek.com
I'm toying with the idea of writing a new Image::Magick wrapper that,
you know, actually compiles on systems like mine.  Here's my question,
and this is really more a module configuration question than strictly an
Inline question, but: given that the LIB and INCLUDE directories could
be essentially anywhere and have to be found at install time, how do I
tell Inline *at install time* what values to use for LIB and INCLUDE?

I know how to find these directories at install time - the existing
PerlMagick does that already - although it does it wrong for the latest
version of ImageMagick, ugh - and I know how to tell Inline where
directories are for its compilation step, but I don't actually see how
to combine these two, so that the invocation of Inline::C in the module
would reflect the paths found at install time.

Any ideas would be welcome, even just pointers to something on CPAN that
does this already.  Thanks!

Michael


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About