I would like to propose the following patch to Makefile.PL:
Code: Select all
--- Makefile.PL.orig 2009-09-06 04:35:00.000000000 +0200
+++ Makefile.PL 2009-09-24 09:24:35.671284600 +0200
@@ -58,7 +58,8 @@
# Preprocessor defines
'DEFINE' => ' -D_LARGE_FILES=1 -DHAVE_CONFIG_H', # e.g., '-DHAVE_SOMETHING'
# Header search specfication and preprocessor flags
- 'INC' => '-I/usr/local/include/ImageMagick -I/usr/local/include -I/usr/include/ImageMagick',
+ 'INC' => '-I/usr/local/include/ImageMagick -I/usr/local/include -I/usr/include/ImageMagick '.
+ '-I"'.$Config{'usrinc'}.'/ImageMagick"',
# Linker flags for building an executable
'LDFLAGS' => "-L/usr/local/lib -lMagickCore -lMagickWand $Config{'ldflags'}",
Thanks for any feedback.
--
kmx