On Mar 8, 2004, at 12:08 PM, Dan Schroeder wrote:
Can someone help me sort out a problem installing PerlMagick? I'm not using fink for PerlMagick, though I did use it for ImageMagick and the problem seems to have to do with directory paths. Here are the details:
Running OSX 10.3.2.
Perl 5.8.3 is installed in /usr/local, overriding Apple's default Perl.
ImageMagick 5.5.6 is installed (from source) via fink in /sw, and works from the command line.
Downloaded ImageMagick 5.5.6 manually from ImageMagick web site, just to get PerlMagick, then edited Makefile.PL to add the /sw directories:
'INC' => '-I../ -I.. -I/sw/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/sw/include/libxml2 -I/sw/include',
'LIBS' => ['-L/usr/X11R6/lib -L/sw/lib -lMagick -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -ldpstk'],
Then tried to build PerlMagick as follows:
<snip>
In file included from Magick.xs:81:
../magick/api.h:15:36: magick/magick_config.h: No such file or directory
That should be provided by your Fink-installed ImageMagick package. Try explicitly adding /sw/include/magick to your INC line.
../magick/api.h:27:19: types.h: No such file or directory
Is this /usr/include/sys/types.h? That would mean that you are missing the DevSDK package from XCode.
make: *** [Magick.o] Error 1
Note the error messages at the end. So: What am I doing wrong? (Yeah, I'm new to Unix software installation so I'm sure it's something obvious.)
Thanks a lot,
Dan
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
-- Alexander K. Hansen Associate Research Scientist, Columbia University visiting MIT Plasma Science and Fusion Center Levitated Dipole Experiment 175 Albany Street, NW17-219 Cambridge, MA 02139-4213
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
