Home › Forums › OS X Server and Client Discussion › Questions and Answers › Building PerlMagick on Mac OS X
- This topic has 1 reply, 1 voice, and was last updated 23 years, 4 months ago by
prwood.
-
AuthorPosts
-
July 15, 2003 at 2:32 pm #356115
prwood
ParticipantGreetings,
I am trying to build and install ImageMagick on Mac OS X 10.2.6 (Client). I have the December ’02 dev tools installed, as well as the recent gcc 3.3 update, and I obtained the ImageMagick tarball directly from the http://ftp.imagemagick.org server.
The build seems to go fine for the most part, but when I get to the portion that tries to install the PerlMagick component (the Image::Magick perl module), it bails out:
( rm -f PerlMagick/PerlMagick ; cd PerlMagick && make CC='gcc' PerlMagick ) rm -rf blib/arch/auto/Image/Magick/Magick.a /usr/bin/ar cr blib/arch/auto/Image/Magick/Magick.a Magick.o && /usr/bin/ar ts blib/arch/auto/Image/Magick/Magick.a Magick.o chmod 755 blib/arch/auto/Image/Magick/Magick.a Writing "Makefile.aperl" for this PerlMagick Note (probably harmless): No library found for -ljpeg Note (probably harmless): No library found for -lpng Warning: /System/Library/Perl/darwin/CORE/libperl.a not found If you're going to build a static perl binary, make sure perl is installed otherwise ignore this warning Writing Makefile.aperl for Image::Magick make -f Makefile.aperl PerlMagick Writing perlmain.c cd . && gcc -c -I/System/Library/Perl/darwin/CORE -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -Os \ -DVERSION=\"5.5.8\" \ -DXS_VERSION=\"5.5.8\" -I/System/Library/Perl/darwin/CORE perlmain.c make[3]: *** No rule to make target `/System/Library/Perl/darwin/CORE/libperl.a', needed by `PerlMagick'. Stop. make[2]: *** [PerlMagick] Error 2 make[1]: *** [PerlMagick/PerlMagick] Error 2 make: *** [install-recursive] Error 1I have searched the macosx@perl.org mailing list and several people have discussed this and other related errors… some folks seem to have found ways around it, but there are no good step-by-step instructions for getting it to work. The discussions I found were dated in 2002, and I haven’t seen any discussion of the problem since then. However, even in the latest ImageMagick package, this problem still exists…
So I am wondering if anyone here has had success building the PerlMagick portion of ImageMagick on Mac OS X, and what steps you took to make it work?
July 15, 2003 at 2:37 pm #356116prwood
Participantp.s.
If I cd into the PerlMagick directly and try to build it on the spot, it fails all of the tests. I included one failure message below, as well as the summary of the tests, but this is representative of all of the test failures.
...snip... t/zlib/write......dyld: /usr/bin/perl Undefined symbols: _jpeg_CreateCompress _jpeg_CreateDecompress _jpeg_calc_output_dimensions _jpeg_destroy_compress _jpeg_destroy_decompress _jpeg_finish_compress _jpeg_finish_decompress _jpeg_read_header _jpeg_read_scanlines _jpeg_resync_to_restart _jpeg_set_defaults _jpeg_set_marker_processor _jpeg_set_quality _jpeg_simple_progression _jpeg_start_compress _jpeg_start_decompress _jpeg_std_error _jpeg_write_marker _jpeg_write_scanlines _png_create_info_struct _png_create_read_struct_2 _png_create_write_struct_2 _png_data_freer _png_destroy_read_struct _png_destroy_write_struct _png_error _png_free _png_get_PLTE _png_get_cHRM _png_get_error_ptr _png_get_gAMA _png_get_header_ver _png_get_iCCP _png_get_io_ptr _png_get_libpng_ver _png_get_pHYs _png_get_sRGB _png_get_text _png_get_x_offset_pixels _png_get_y_offset_pixels _png_malloc _png_permit_mng_features _png_read_end _png_read_info _png_read_row _png_read_update_info _png_set_PLTE _png_set_bKGD _png_set_cHRM t/zlib/write......dubious Test returned status 0 (wstat 5, 0x5) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/blob.t 0 5 1 2 200.00% 1 t/filter.t 0 5 44 88 200.00% 1-44 t/getattribute.t 0 5 25 50 200.00% 1-25 t/jng/read.t 0 5 11 22 200.00% 1-11 t/jng/write.t 0 5 11 22 200.00% 1-11 t/jpeg/read.t 0 5 2 4 200.00% 1-2 t/jpeg/write.t 0 5 2 4 200.00% 1-2 t/montage.t 0 5 19 38 200.00% 1-19 t/png/read-16.t 0 5 5 10 200.00% 1-5 t/png/read.t 0 5 6 12 200.00% 1-6 t/png/write-16.t 0 5 5 10 200.00% 1-5 t/png/write.t 0 5 6 12 200.00% 1-6 t/ps/read.t 0 5 3 6 200.00% 1-3 t/ps/write.t 0 5 2 4 200.00% 1-2 t/read.t 0 5 47 94 200.00% 1-47 t/setattribute.t 0 5 71 142 200.00% 1-71 t/write.t 0 5 34 68 200.00% 1-34 t/zlib/read.t 0 5 1 2 200.00% 1 t/zlib/write.t 0 5 1 2 200.00% 1 Failed 19/19 test scripts, 0.00% okay. 296/296 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 2 -
AuthorPosts
- You must be logged in to reply to this topic.