[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invoking Build.PL/Makefile.PL from automake?
From: |
Bob Friesenhahn |
Subject: |
Re: Invoking Build.PL/Makefile.PL from automake? |
Date: |
Wed, 12 Apr 2006 21:21:01 -0500 (CDT) |
On Wed, 12 Apr 2006, Tyler MacDonald wrote:
What I'd really like (whether I have to write it myself or somebody
has already done it for me <g>) is to have automake invoke
Makefile.PL/Makefile (and possibly Build.PL/Build) in the correct way when I
tell it that a subdirectory is a perl module... to fit in with the automake
Sounds great.
And find some way for makemaker to treat those SUBDIRS as "black
box" perl modules. I'd also like some way to pass extra arguments into the
Makefile.PL/Build.PL to pull in libraries elsewhere in the project tree,
This is a problem since MakeMaker makes no provision for using
uninstalled libraries. The only way it works reliably is if the
libraries are installed. Regardless, I have found ways to use
uninstalled libraries if the Perl extension is built as static
(stand-alone executable). There is an annoying issue is that when
Makefile.PL is 'executed' to create Makefile, the libraries are
scanned for at that time.
I first implemented this interfacing in ImageMagick and it has been
carried on into GraphicsMagick.
Awesome, I'll check that out. :-)
Don't expect it to be pretty. Everything is implemented using
Automake hooks. For a shared build, the extension is not built until
'make install' time since the module extension will fail if the
libraries are not already install.
Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
- Invoking Build.PL/Makefile.PL from automake?, Tyler MacDonald, 2006/04/12
- Re: Invoking Build.PL/Makefile.PL from automake?, Bob Friesenhahn, 2006/04/12
- Re: Invoking Build.PL/Makefile.PL from automake?, Tyler MacDonald, 2006/04/12
- Re: Invoking Build.PL/Makefile.PL from automake?,
Bob Friesenhahn <=
- Re: Invoking Build.PL/Makefile.PL from automake?, Tyler MacDonald, 2006/04/12
- Re: Invoking Build.PL/Makefile.PL from automake?, Bob Friesenhahn, 2006/04/12
- Re: Invoking Build.PL/Makefile.PL from automake?, Russ Allbery, 2006/04/12
- Re: Invoking Build.PL/Makefile.PL from automake?, Ralf Wildenhues, 2006/04/13
- Re: Invoking Build.PL/Makefile.PL from automake?, Peter O'Gorman, 2006/04/13
- Re: Invoking Build.PL/Makefile.PL from automake?, Russ Allbery, 2006/04/12
- Re: Invoking Build.PL/Makefile.PL from automake?, Bob Friesenhahn, 2006/04/12
- Re: Invoking Build.PL/Makefile.PL from automake?, Russ Allbery, 2006/04/12
Re: Invoking Build.PL/Makefile.PL from automake?, Guillaume Rousse, 2006/04/18