Page 1 of 1

Problem installing Image::Magick in Snow Leopard 10.6.6

Posted: 2011-02-26T11:54:33-07:00
by MarkHunnibell
Folks

I have been trying to install Image::Magick on my Snow Leopard Mac OS X for a few days and had number of issues getting all the dependencies installed, but it seems like I finally got them all satisfied but have arrived at a failure apparently with the module itself that I cannot find anything about on the web.

I am using the latest CPAN to install and the problem is shown below which I have replicated a number of times.

The symptom is that it gets to the t/write test and it (visibly) immediately says "t/write...........NOK 27/32" and then XWindows opens a small image (output.xbm) of some dots and it stops. When I close that image, the installation basically fails. I have pasted below a text capture of the end of this process... a critical crash.

Anyone knowwhat I might be missing and how I can fix it? Bear in mind that although I am more experienced than your average bear, I am definitely not an expert by any means, so specific commands or file names would help.

Code: Select all

Running make test
PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bzlib/*.t t/jpeg/*.t t/jng/*.t t/png/*.t t/tiff/*.t t/x11/*.t t/zlib/*.t
t/blob............ok                                                        
t/bzlib/read......ok                                                        
t/bzlib/write.....ok                                                        
t/composite.......ok                                                        
t/filter..........ok                                                        
t/getattribute....ok                                                        
t/jng/read........ok                                                        
t/jng/write.......ok                                                        
t/jpeg/read.......ok                                                        
t/jpeg/write......ok                                                        
t/montage.........ok                                                        
t/ping............ok                                                        
t/png/read-16.....ok                                                        
t/png/read........ok                                                        
t/png/write-16....ok                                                        
t/png/write.......ok                                                        
t/read............ok                                                        
t/setattribute....ok                                                        
t/tiff/read.......ok                                                        
t/tiff/write......ok                                                        
t/write...........FAILED test 27                                            
    Failed 1/32 tests, 96.88% okay
t/x11/read........ok                                                        
t/x11/write.......ok                                                        
t/zlib/read.......ok                                                        
t/zlib/write......ok                                                        
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/write.t                 32    1  27
Failed 1/25 test scripts. 1/355 subtests failed.
Files=25, Tests=355,  8 wallclock secs ( 2.51 cusr +  0.65 csys =  3.16 CPU)
Failed 1/25 test programs. 1/355 subtests failed.
make: *** [test_dynamic] Error 255
  JCRISTY/PerlMagick-6.66-1.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports JCRISTY/PerlMagick-6.66-1.tar.gz
Running make install
  make test had returned bad status, won't install without force

Re: Problem installing Image::Magick in Snow Leopard 10.6.6

Posted: 2011-02-26T13:04:22-07:00
by magick
We updated PerlMagick in CPAN to 6.67 to fix the problem you reported. It may take a day or two before its available for download. Thanks.