On Thu, 15 Oct 2009, Andreas Otto wrote:

 to build a perl extension it's best to use the perl build-system based on

        perl Makefile.PL

I have been dealing with this situation for many (11?) years (first in ImageMagick, and then in GraphicsMagick). It is really difficult to integrate Automake with Perl's Make::Maker because Perl's Make::Maker does not observe any normal conventions and has a mind of its own based on whatever options were used way back when perl itself was built with some other compiler. Nightmare is an understatement. Regardless, I suggest to take a look at ImageMagick or GraphicsMagick Automake makefiles to see how it may be done.

See the hunk of junk at

http://cvs.graphicsmagick.org/cgi-bin/cvsweb.cgi/GraphicsMagick/PerlMagick/Makefile.am

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


Reply via email to