Subject: | Strawberry Perl 5.18: 3 test errors (XPM & XWD) |
Date: | Wed, 20 Nov 2013 09:01:47 -0800 |
To: | bug-PerlMagick [...] rt.cpan.org |
From: | Corey H <ch.1987.ad [...] gmail.com> |
A copy of the discussion is @
http://www.imagemagick.org/discourse-server/viewtopic.php?f=7&t=24283
post #3
I'm on Windows 8 64-bit
Using Strawberry Perl 5.18 64-bit
Installed ImageMagick 6.8.7-6-Q16 64-bit with dynamic DLLs & opted for the
C++ libraries and headers.
You may have to restart the system after installing Image Magick.
1) extract PerlMagick-6.86.tar.gz
2) `cd PerlMagick-6.86/`
3) `perl Makefile.PL`
This is where you get the messages: "Gonna create 'libMagickCore.a' from
'C:\Program Files\...\CORE_RL_magick_.dll'"
and "Warning (mostly harmless): No library found for -lMagickCore-6.Q16"
4) `cp libMagickCore.a libMagickCore-6.Q16.a` #THIS IS THE SOLUTION
5) `perl Makefile.PL` #this time the "No library found" warning will
disappear.
6) `dmake`
7) `dmake test`
t/write.t
t/x11/read.t
t/x11/write.t
Failed 3/25 test programs. 4/340 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
8) `prove -blv t/write.t`
X Windows system pixmap file (color) ...
ReadImage()
Image: XPM:input.xpm, signatures do not match.
not ok 28
9) `prove -blv t/x11/read.t`
ReadImage: Exception 420: delegate library support not built-in `The
quick...' (X11) @ error/xwindow.c/XRenderImage/9865
not ok 1
X Windows system window dump file (color) ...
Readimage (input.xwd): Exception 420: no decode delegate for this image
format `input.xwd' @ error/constitute.c/ReadImage/555 at
t/subroutines.plline 313
not ok 2
Failed 2/2 subtests
10) `prove -blv t/x11/write.t`
ok 1
X Windows system window dump file (color) ...
ReadImage XWD:input.xwd: Exception 420: no decode delegate for this image
format `input.xwd' @ error/constitute.c/ReadImage/555
not ok 2
Failed 1/2 subtests
11) should we just `dmake install` anyways??