Re: Installing PerlMagic on Mac OS Leopard
Alan Fry <[email protected]>
| Newsgroups | gmane.comp.video.image-magick.bugs |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your reply. On 7 Feb 2008, at 18:59, [email protected] wrote: >> Error on 'make test': > > Download the ImageMagick source distribution which includes > PerlMagick and > the required magick.sh configuration script to run the PerlMagick > tests. Right -- I see magick.sh. Running 'make' results in two warnings right at the end of the run: ----- ld: warning in ../magick/.libs/libMagickCore.dylib, file is not of required architecture ld: warning in ../wand/.libs/libMagickWand.dylib, file is not of required architecture ----- Worse, running 'make check' results in a crash. The transcript below is at the end of 'make check' for ImageMagick and the start of 'make check' for PerlMagic -- 'libMagicCore.dylib' seems implicated. Why is it looking for 'libMagicCore.dylib' in /usr/local/lib/ instead of ../magick/.libs/ I wonder? ======================================================== All 696 tests behaved as expected (77 expected failures) ======================================================== cd PerlMagick && make CC='gcc' test /bin/sh ../magick.sh PERL_DL_NONLAZY=1 /usr/bin/perl "- MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/ arch')" t/*.t t/bzlib/*.t t/png/*.t t/x11/*.t t/zlib/*.t t/blob..............Can't load '/Users/alanfry/Desktop/ ImageMagick-6.3.8/PerlMagick/blib/arch/auto/Image/Magick/ Magick.bundle' for module Image::Magick: dlopen(/Users/alanfry/Desktop/ ImageMagick-6.3.8/PerlMagick/blib/arch/auto/Image/Magick/ Magick.bundle, 2): Library not loaded: /usr/local/lib/libMagickCore. 1.dylib Referenced from: /Users/alanfry/Desktop/ImageMagick-6.3.8/ PerlMagick/blib/arch/auto/Image/Magick/Magick.bundle Reason: image not found at /System/Library/Perl/5.8.8/darwin-thread- multi-2level/DynaLoader.pm line 230. at t/blob.t line 20 Compilation failed in require at t/blob.t line 20. BEGIN failed--compilation aborted at t/blob.t line 20. Deep recursion on subroutine "Image::Magick::AUTOLOAD" at /Users/ alanfry/Desktop/ImageMagick-6.3.8/PerlMagick/blib/lib/Image/Magick.pm line 42. ^C^Cmake[3]: *** [test_dynamic] Interrupt ----- I don't know where to go from here. I really want to avoid MacPorts, DarwinPorts or Fink if at all possible. Regards, Alan Fry