[Israel.pm] h2xs in Makefile.PL
margol at beamartyr.net
Fri May 7 07:23:31 PDT 2004
You're doing it the right way - edit the Makefile.PL it gives you to include
any special include directory you need, and link properly - read the manpage
for ExtUtils::MakeMaker for more specific info.
----- Original Message -----
From: "Yuval Kogman" <lists at woobling.org>
To: "Perl in Israel" <perl at perl.org.il>
Sent: Friday, May 07, 2004 4:02 PM
Subject: Re: [Israel.pm] h2xs in Makefile.PL
On Fri, May 07, 2004 at 11:26:27 +0300, Issac Goldstand wrote:
> Use CCFLAGS and LIBS inside WriteMakefile()? I'm not sure what exactly
> you're asking...
If you run h2xs /usr/include/sysexits.h it generates a module -
Sysexits.pm, which contains the #defines i want as perl subs.
I would like a sane way to build this on the host it might get installed
is there a right way to do this?
> ----- Original Message -----
> From: "Yuval Kogman" <lists at woobling.org>
> To: <perl at perl.org.il>
> Sent: Friday, May 07, 2004 2:51 AM
> Subject: [Israel.pm] h2xs in Makefile.PL
> I want to make the Sysexits module out of the sysexits.h header, because
> a module I'm writing uses it.
> This is all dandy when I do it - but how do i get my
> Makefile.PL/Build.PL to handle this cleanly and reliably, when it's
> installing on someone else's box?
> Perl mailing list
> Perl at perl.org.il
More information about the Perl