Thread Problem mit Image::Magick unter Windows (22 answers)
Opened by bianca at 2009-12-02 18:17

bianca
 2010-02-16 11:24
#133086 #133086
User since
2009-09-13
6979 Artikel
BenutzerIn

user image
Falls Du erwägst, es einmal mit Strawberry Perl zu versuchen, hier mein erster Versuch:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
C:\Arbeit>perl -v

This is perl, v5.10.1 (*) built for MSWin32-x86-multi-thread

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


C:\Arbeit>perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.9454)
Enter 'h' for help.

cpan> install Image::Magick
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Database was generated on Fri, 12 Feb 2010 14:36:22 GMT
Updating database file ...

Gathering information from index files ...
Obtaining current state of database ...
Populating database tables ...
Done!
Running install for module 'Image::Magick'
Running make for J/JC/JCRISTY/PerlMagick-6.59.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/J/JC/JCRISTY/PerlMagick-6.59.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/J/JC/JCRISTY/CHECKSUMS
Checksum for C:\strawberry\cpan\sources\authors\id\J\JC\JCRISTY\PerlMagick-6.59.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
............................................................................DONE

CPAN.pm: Going to build J/JC/JCRISTY/PerlMagick-6.59.tar.gz

################################### WARNING! ###################################
# It seems that you are trying to install Perl::Magick on a MS Windows box with
# perl + gcc compiler (e.g. strawberry perl), however we cannot find ImageMagick
# binaries installed on your system.
#
# Please check the following prerequisites:
#
# 1) You need to have installed ImageMagick Windows binaries from
# http://www.imagemagick.org/script/binary-releases.php#windows
#
# 2) We only support dynamic (DLL) ImageMagick binaries
# note: it is not possible to mix 32/64-bit binaries of perl and ImageMagick
#
# 3) During installation select that you want to install ImageMagick's
# development files (libraries+headers)
#
# 4) You also need to have ImageMagick's directory in your PATH
# note: we are checking the presence of convert.exe and/or identify.exe tools
#
# 5) You might need Visual C++ Redistributable Package installed on your system
# see instructions on ImageMagick's Binary Release webpage
#
# We are gonna continue, but chances for successful build are very low!
################################################################################
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lMagickCore
Writing Makefile for Image::Magick


Ob diese Dinge mit Strawberry leichter in den Griff zu bekommen sind als bei ActivePerl weiß ich nicht.
Vielleicht ein Versuch wert?
Ich bin zumindest von ActivePerl jetzt ganz ab. Gerade wegen dieser häufigen Module-Probleme.

Edit: Nach Writing Makefile kommen nur noch errors. Hier ein Auszug:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Magick.xs:13378: error: `GravityType' undeclared (first use in this function)
Magick.xs:13378: error: syntax error before "in"
Magick.xs:13395: error: `MagickTrue' undeclared (first use in this function)
Magick.xs:13396: error: syntax error before ')' token
Magick.xs:13396: error: `ErrorException' undeclared (first use in this function)
Magick.xs:13401: error: syntax error before ')' token
Magick.xs:13413: error: `MaxTextExtent' undeclared (first use in this function)
Magick.xs:13413: error: `UndefinedException' undeclared (first use in this function)
Magick.xs: In function `XS_Image__Magick_Write':
Magick.xs:13443: error: `MaxTextExtent' undeclared (first use in this function)
Magick.xs:13446: error: `ExceptionInfo' undeclared (first use in this function)
Magick.xs:13446: error: `exception' undeclared (first use in this function)
Magick.xs:13449: error: `Image' undeclared (first use in this function)
Magick.xs:13449: error: `image' undeclared (first use in this function)
Magick.xs:13450: error: `next' undeclared (first use in this function)
Magick.xs:13473: error: `OptionError' undeclared (first use in this function)
Magick.xs:13479: error: syntax error before ')' token
Magick.xs:13493: error: dereferencing pointer to incomplete type
Magick.xs:13501: error: dereferencing pointer to incomplete type
Magick.xs:13501: error: `MagickTrue' undeclared (first use in this function)
Magick.xs:13504: error: dereferencing pointer to incomplete type
Magick.xs:13505: error: `ErrorException' undeclared (first use in this function)
Magick.xs:13509: error: dereferencing pointer to incomplete type
Magick.xs:13516: error: `UndefinedException' undeclared (first use in this function)
10 print "Hallo"
20 goto 10

View full thread Problem mit Image::Magick unter Windows