Thanks! I tried what it says to do at

http://fink.sourceforge.net/faq/usage-general.php?phpLang=en#compile- myself

(since that seemed easiest) and it didn't make any difference. Didn't try any of your other suggestions, because I then noticed the lines


/usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" Makefile2.PL Makefile2

/usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" MakefileOld.PL MakefileOld

in what it said during "make", and I realized that for some reason it was doing something with old versions of my Makefile.PL, which I had renamed before editing the LIB and INC lines. I guess I just don't understand make. Anyhow I moved those old files into a different directory and now everything seems to build. The demo ran, and seems to have worked, except for eight instances of the message


/sw/bin/display: Unable to open X server ().

which is too bad but for now I don't think I need need any X11 stuff. Would be nice to get it working, though, if anyone has an easy fix. I'm using Apple's X11 and have the SDK installed.


Dan S.


On Mar 8, 2004, at 10:28 AM, Daniel Macks wrote:


In gmane.os.apple.fink.beginners, you said:
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,

Note that if you compiled from source, the tarball is probably still in /sw/src.

then edited Makefile.PL to add the /sw directories:

Note (probably harmless): No library found for -lMagick

That's not good. Suggests your -L aren't propagating correctly.


Note (probably harmless): No library found for -llcms

Install the three lcms* packages from fink.


Writing Makefile for Image::Magick
WS0010062749:~/downloads/ImageMagick-5.5.6/PerlMagick dschroeder$ sudo
make install
Password:
cc -c -I../ -I.. -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64
-D_REENTRANT -I/usr/X11R6/include -I/usr/include/libxml2 -pipe
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Os
-DVERSION=\"5.56\" -DXS_VERSION=\"5.56\"
"-I/usr/local/lib/perl5/5.8.3/darwin-2level/CORE" -DHAVE_CONFIG_H
Magick.c
In file included from Magick.xs:81:
../magick/api.h:15:36: magick/magick_config.h: No such file or
directory
../magick/api.h:27:19: types.h: No such file or directory
make: *** [Magick.o] Error 1

The -I/sw/include you set in INC in Makefile.PL didn't propagate.


See also:
http://fink.sourceforge.net/faq/usage-general.php?phpLang=en#compile- myself





------------------------------------------------------- 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

Reply via email to