hello,

after quite a lot of squinting and stumbling, I've got imagemagick and perlmagick installed from source on 10.3 and working nicely. I've sent a message to macosx-perl explaining howto, if anyone is interested.

thank you very much, by the way, to the people who made that possible.

along the way I found that Apple's X11 doesn't include the XDPS libraries that the current imagemagick package expects to find there. Which is logical, i suppose. This doesn't matter when using the normal imagemagick tools, unless you don't have ghostscript and want to rasterise a postscript file, but it does prevent the installation of perlmagick.

There are two workarounds: either use imagemagick-nox, which makes perlmagick fail much more gracefully when dps is missing, or edit imagemagick-info to change the configuration parameter from --with-dps to --without-dps.

thought someone might like to know.

best

will


ps. There are also some small changes that have to be made to ./PerlMagick/Makefile.PL to install the perl modules. here's a patch. It assumes that fink is using /sw:



--- Makefile.PL.old Tue Oct 15 02:42:49 2002 +++ Makefile.PL Mon Nov 17 11:33:48 2003 @@ -60,13 +60,13 @@ 'DEFINE' => '-DHAVE_CONFIG_H', # e.g., '-DHAVE_SOMETHING'

# Header search specfication and preprocessor flags
- 'INC' => '-I../ -I.. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/freetype2 -I/usr/include/libxml2',
+ 'INC' => '-I../ -I.. -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/sw/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/freetype2 -I/usr/include/libxml2',


    # Install PerlMagick binary into ImageMagick bin directory
    'INSTALLBIN'        => '/usr/local/bin',

# Library specification
- 'LIBS' => ['-L/usr/X11R6/lib -L/usr/lib -L/usr/lib -L/usr/local/lib -lMagick -llcms -lfreetype -lXext -lXt -lSM -lICE -lX11 -lz -lpthread -lm'],
+ 'LIBS' => ['-L/sw/lib -L/usr/X11R6/lib -L/usr/lib -L/usr/lib -L/usr/local/lib -lMagick -ljpeg -lpng -lTIFF -lBZ2 -lxml2 -llcms -lfreetype -lXext -lXt -lSM -lICE -lX11 -lz -lpthread -lm'],


    # Perl binary name (if a Perl binary is built)
    'MAP_TARGET'        => 'PerlMagick',







-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to