[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: perl ExtUtils::MakeMaker + Autotools

From: Bob Friesenhahn
Subject: Re: perl ExtUtils::MakeMaker + Autotools
Date: Fri, 16 Jul 2004 09:15:58 -0500 (CDT)

On Thu, 15 Jul 2004, Stony Yakovac wrote:

I have a project which I have put under autotools which has several perl
packages associated with it.  One of them is swigged, two are pure
perl.  The dilemma is not building for development, I was able to do
that with the install-exec-hook, the dilemma is how to get the whole
project past distcheck.  I have been trying for weeks now.  I have gone
from putting all kinds of support in the files to trying to
duplicate the functionality of automake in ExtUtils::MakeMaker (which
required some fairly significant changes to ExtUtils::MakeMaker)

Has anyone done this?  I have searched the web, but have not been happy
with what I found.  Does anyone have suggestions?

When the wind is blowing right, I have achieved this in GraphicsMagick ( by using "hooks" in the top These are aware of MakeMaker subtargets. The Perl extension is built static by default, which avoids issues with shared libraries, and convincing Perl to find/load the module.

If your project does not absolutely require the Perl component you could have it disabled by default, or (as I learned yesterday), you can include the configure option to disable it while doing distcheck in DISTCHECK_CONFIGURE_FLAGS.

Bob Friesenhahn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]