Leser: 22
1
2
3
4
5
6
7
8
9
10
11
12
#!/Perl/bin/perl
use strict;
use Tk;
use Tk::DirSelect;
my $mw = Tk::MainWindow->new();
my $ds = $mw->DirSelect();
my $dir = $ds->Show();
Tk::MainLoop;
QuoteCan't locate Tk.pm in @INC (@INC contains: C:/Programme/Perl/perl/site/lib C:/Programme/Perl/perl/vendor/lib C:/Programme/Perl/perl/lib .) at test.pl line 4. BEGIN failed--compilation aborted at test.pl line 4.
1
2
3
4
5
6
7
8
Running install for module 'Image::Magick'
Running make for J/JC/JCRISTY/PerlMagick-6.59.tar.gz
Has already been unwrapped into directory C:\Programme\Perl\cpan\build\PerlMagick-6.59-NEzz4g
Could not make: Unknown error
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Quote"Has already been unwrapped" heisst immer, dass die eigentliche fehlermeldung beim vorherigen lauf schon kam.
musst also das verzeichnis löschen und nochmal versuchen
1
2
3
4
5
6
7
8
Running install for module 'Image::Magick'
Running make for J/JC/JCRISTY/PerlMagick-6.59.tar.gz
Checksum was ok
Could not make: Unknown error
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
d 'double')
Magick.xs:13176: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13176: error: array subscript is not an integer
Magick.xs:13176: error: request for member 'standard_deviation' in something not
a structure or union
Magick.xs:13176: error: invalid operands to binary / (have 'struct Methods *' an
d 'double')
Magick.xs:13176: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13176: error: array subscript is not an integer
Magick.xs:13176: error: request for member 'kurtosis' in something not a structu
re or union
Magick.xs:13176: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13176: error: array subscript is not an integer
Magick.xs:13176: error: request for member 'skewness' in something not a structu
re or union
Magick.xs:13176: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13177: error: 'struct Methods' has no member named 'matte'
Magick.xs:13177: error: 'MagickFalse' undeclared (first use in this function)
Magick.xs:13178: error: 'OpacityChannel' undeclared (first use in this function)
Magick.xs:13178: error: array subscript is not an integer
Magick.xs:13178: error: request for member 'depth' in something not a structure
or union
Magick.xs:13178: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13178: error: array subscript is not an integer
Magick.xs:13178: error: request for member 'minima' in something not a structure
or union
Magick.xs:13178: error: invalid operands to binary / (have 'struct Methods *' an
d 'double')
Magick.xs:13178: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13178: error: array subscript is not an integer
Magick.xs:13178: error: request for member 'maxima' in something not a structure
or union
Magick.xs:13178: error: invalid operands to binary / (have 'struct Methods *' an
d 'double')
Magick.xs:13178: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13178: error: array subscript is not an integer
Magick.xs:13178: error: request for member 'mean' in something not a structure o
r union
Magick.xs:13178: error: invalid operands to binary / (have 'struct Methods *' an
d 'double')
Magick.xs:13178: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13178: error: array subscript is not an integer
Magick.xs:13178: error: request for member 'standard_deviation' in something not
a structure or union
Magick.xs:13178: error: invalid operands to binary / (have 'struct Methods *' an
d 'double')
Magick.xs:13178: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13178: error: array subscript is not an integer
Magick.xs:13178: error: request for member 'kurtosis' in something not a structu
re or union
Magick.xs:13178: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13178: error: array subscript is not an integer
Magick.xs:13178: error: request for member 'skewness' in something not a structu
re or union
Magick.xs:13178: warning: passing argument 2 of 'Perl_newSVpv' from incompatible
pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:2313: note: expected 'const char * const
' but argument is of type 'struct Methods *'
Magick.xs:13179: error: expected expression before ')' token
Magick.xs:13179: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13184: error: 'struct Methods' has no member named 'severity'
Magick.xs:13184: error: 'UndefinedException' undeclared (first use in this funct
ion)
Magick.xs:13184: error: 'struct Methods' has no member named 'severity'
Magick.xs:13184: error: 'struct Methods' has no member named 'reason'
Magick.xs:13184: error: 'struct Methods' has no member named 'severity'
Magick.xs:13184: error: 'struct Methods' has no member named 'reason'
Magick.xs:13184: warning: pointer/integer type mismatch in conditional expressio
n
Magick.xs:13184: error: 'struct Methods' has no member named 'description'
Magick.xs:13184: error: 'struct Methods' has no member named 'description'
Magick.xs:13184: error: 'struct Methods' has no member named 'severity'
Magick.xs:13184: error: 'struct Methods' has no member named 'description'
Magick.xs:13184: warning: pointer/integer type mismatch in conditional expressio
n
Magick.xs:13184: error: 'struct Methods' has no member named 'description'
Magick.xs:13184: warning: passing argument 3 of 'Perl_sv_catpv' from incompatibl
e pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:3249: note: expected 'const char *' but
argument is of type 'struct Methods *'
Magick.xs: In function 'XS_Image__Magick_SyncAuthenticPixels':
Magick.xs:13210: error: 'ExceptionInfo' undeclared (first use in this function)
Magick.xs:13211: error: 'exception' undeclared (first use in this function)
Magick.xs:13211: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13213: error: 'Image' undeclared (first use in this function)
Magick.xs:13214: error: 'image' undeclared (first use in this function)
Magick.xs:13214: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13216: error: 'MagickBooleanType' undeclared (first use in this functi
on)
Magick.xs:13217: error: expected ';' before 'status'
Magick.xs:13231: error: 'OptionError' undeclared (first use in this function)
Magick.xs:13238: error: expected expression before ')' token
Magick.xs:13238: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13238: error: called object '<erroneous-expression>' is not a function
Magick.xs:13245: error: 'status' undeclared (first use in this function)
Magick.xs:13246: error: 'MagickFalse' undeclared (first use in this function)
Magick.xs:13248: error: 'struct Methods' has no member named 'exception'
Magick.xs:13251: error: 'MaxTextExtent' undeclared (first use in this function)
Magick.xs:13251: error: 'struct Methods' has no member named 'severity'
Magick.xs:13251: error: 'UndefinedException' undeclared (first use in this funct
ion)
Magick.xs:13251: error: 'struct Methods' has no member named 'severity'
Magick.xs:13251: error: 'struct Methods' has no member named 'reason'
Magick.xs:13251: error: 'struct Methods' has no member named 'severity'
Magick.xs:13251: error: 'struct Methods' has no member named 'reason'
Magick.xs:13251: warning: pointer/integer type mismatch in conditional expressio
n
Magick.xs:13251: error: 'struct Methods' has no member named 'description'
Magick.xs:13251: error: 'struct Methods' has no member named 'description'
Magick.xs:13251: error: 'struct Methods' has no member named 'severity'
Magick.xs:13251: error: 'struct Methods' has no member named 'description'
Magick.xs:13251: warning: pointer/integer type mismatch in conditional expressio
n
Magick.xs:13251: error: 'struct Methods' has no member named 'description'
Magick.xs:13251: warning: passing argument 3 of 'Perl_sv_catpv' from incompatibl
e pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:3249: note: expected 'const char *' but
argument is of type 'struct Methods *'
Magick.xs: In function 'XS_Image__Magick_Transform':
Magick.xs:13285: error: 'ExceptionInfo' undeclared (first use in this function)
Magick.xs:13286: error: 'exception' undeclared (first use in this function)
Magick.xs:13286: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13291: error: 'Image' undeclared (first use in this function)
Magick.xs:13292: error: 'clone' undeclared (first use in this function)
Magick.xs:13292: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13293: error: 'image' undeclared (first use in this function)
Magick.xs:13314: error: 'OptionError' undeclared (first use in this function)
Magick.xs:13324: error: expected expression before ')' token
Magick.xs:13324: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13324: error: called object '<erroneous-expression>' is not a function
Magick.xs:13330: error: too many arguments to function 'GetPackageInfo'
Magick.xs:13364: error: 'next' undeclared (first use in this function)
Magick.xs:13364: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13370: error: 'MagickFalse' undeclared (first use in this function)
Magick.xs:13377: error: 'struct Methods' has no member named 'next'
Magick.xs:13378: error: 'struct Methods' has no member named 'gravity'
Magick.xs:13378: error: 'GravityType' undeclared (first use in this function)
Magick.xs:13378: error: expected ';' before 'in'
Magick.xs:13393: error: 'struct Methods' has no member named 'next'
Magick.xs:13395: error: 'MagickTrue' undeclared (first use in this function)
Magick.xs:13396: error: expected expression before ')' token
Magick.xs:13396: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13396: error: called object '<erroneous-expression>' is not a function
Magick.xs:13399: error: 'struct Methods' has no member named 'next'
Magick.xs:13401: error: 'magick_registry' undeclared (first use in this function
)
Magick.xs:13401: error: 'SplayTreeInfo' undeclared (first use in this function)
Magick.xs:13401: error: expected expression before ')' token
Magick.xs:13401: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13401: error: called object '<erroneous-expression>' is not a function
Magick.xs:13413: error: 'MaxTextExtent' undeclared (first use in this function)
Magick.xs:13413: error: 'struct Methods' has no member named 'severity'
Magick.xs:13413: error: 'UndefinedException' undeclared (first use in this funct
ion)
Magick.xs:13413: error: 'struct Methods' has no member named 'severity'
Magick.xs:13413: error: 'struct Methods' has no member named 'reason'
Magick.xs:13413: error: 'struct Methods' has no member named 'severity'
Magick.xs:13413: error: 'struct Methods' has no member named 'reason'
Magick.xs:13413: warning: pointer/integer type mismatch in conditional expressio
n
Magick.xs:13413: error: 'struct Methods' has no member named 'description'
Magick.xs:13413: error: 'struct Methods' has no member named 'description'
Magick.xs:13413: error: 'struct Methods' has no member named 'severity'
Magick.xs:13413: error: 'struct Methods' has no member named 'description'
Magick.xs:13413: warning: pointer/integer type mismatch in conditional expressio
n
Magick.xs:13413: error: 'struct Methods' has no member named 'description'
Magick.xs:13413: warning: passing argument 3 of 'Perl_sv_catpv' from incompatibl
e pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:3249: note: expected 'const char *' but
argument is of type 'struct Methods *'
Magick.xs: In function 'XS_Image__Magick_Write':
Magick.xs:13443: error: 'MaxTextExtent' undeclared (first use in this function)
Magick.xs:13445: error: 'ExceptionInfo' undeclared (first use in this function)
Magick.xs:13446: error: 'exception' undeclared (first use in this function)
Magick.xs:13446: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13448: error: 'Image' undeclared (first use in this function)
Magick.xs:13449: error: 'image' undeclared (first use in this function)
Magick.xs:13449: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
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: expected expression before ')' token
Magick.xs:13479: error: invalid operands to binary * (have 'struct Methods *' an
d 'struct Methods *')
Magick.xs:13479: error: called object '<erroneous-expression>' is not a function
Magick.xs:13485: error: too many arguments to function 'ClonePackageInfo'
Magick.xs:13487: warning: passing argument 4 of 'SetAttribute' from incompatible
pointer type
Magick.xs:1053: note: expected 'struct SV *' but argument is of type 'char *'
Magick.xs:13487: error: too many arguments to function 'SetAttribute'
Magick.xs:13492: warning: passing argument 3 of 'SetAttribute' from incompatible
pointer type
Magick.xs:1053: note: expected 'const char *' but argument is of type 'struct Me
thods *'
Magick.xs:13492: warning: passing argument 4 of 'SetAttribute' from incompatible
pointer type
Magick.xs:1053: note: expected 'struct SV *' but argument is of type 'char *'
Magick.xs:13492: error: too many arguments to function 'SetAttribute'
Magick.xs:13493: error: 'struct PackageInfo' has no member named 'image_info'
Magick.xs:13493: error: 'struct Methods' has no member named 'filename'
Magick.xs:13496: error: 'struct Methods' has no member named 'next'
Magick.xs:13498: error: 'struct Methods' has no member named 'filename'
Magick.xs:13499: error: 'struct Methods' has no member named 'scene'
Magick.xs:13501: error: 'struct PackageInfo' has no member named 'image_info'
Magick.xs:13501: error: 'MagickTrue' undeclared (first use in this function)
Magick.xs:13501: error: 'struct Methods' has no member named 'exception'
Magick.xs:13502: error: 'struct Methods' has no member named 'next'
Magick.xs:13504: error: 'struct PackageInfo' has no member named 'image_info'
Magick.xs:13505: error: 'struct Methods' has no member named 'exception'
Magick.xs:13505: error: request for member 'severity' in something not a structu
re or union
Magick.xs:13505: error: 'ErrorException' undeclared (first use in this function)
Magick.xs:13506: error: 'struct Methods' has no member named 'exception'
Magick.xs:13509: error: 'struct PackageInfo' has no member named 'image_info'
Magick.xs:13509: error: 'struct Methods' has no member named 'adjoin'
Magick.xs:13516: error: 'struct Methods' has no member named 'severity'
Magick.xs:13516: error: 'UndefinedException' undeclared (first use in this funct
ion)
Magick.xs:13516: error: 'struct Methods' has no member named 'severity'
Magick.xs:13516: error: 'struct Methods' has no member named 'reason'
Magick.xs:13516: error: 'struct Methods' has no member named 'severity'
Magick.xs:13516: error: 'struct Methods' has no member named 'reason'
Magick.xs:13516: warning: pointer/integer type mismatch in conditional expressio
n
Magick.xs:13516: error: 'struct Methods' has no member named 'description'
Magick.xs:13516: error: 'struct Methods' has no member named 'description'
Magick.xs:13516: error: 'struct Methods' has no member named 'severity'
Magick.xs:13516: error: 'struct Methods' has no member named 'description'
Magick.xs:13516: warning: pointer/integer type mismatch in conditional expressio
n
Magick.xs:13516: error: 'struct Methods' has no member named 'description'
Magick.xs:13516: warning: passing argument 3 of 'Perl_sv_catpv' from incompatibl
e pointer type
C:\Programme\Perl\perl\lib\CORE/proto.h:3249: note: expected 'const char *' but
argument is of type 'struct Methods *'
Magick.xs: In function 'boot_Image__Magick':
Magick.xs:2344: error: 'MagickFalse' undeclared (first use in this function)
Magick.xs:2347: error: 'magick_registry' undeclared (first use in this function)
dmake.EXE: Error code 129, while making 'Magick.o'
JCRISTY/PerlMagick-6.59.tar.gz
C:\Programme\Perl\c\bin\dmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
JCRISTY/PerlMagick-6.59.tar.gz : make NO
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
my $no_filter= Gtk2::FileFilter->new(); $no_filter->set_name("All"); $no_filter->add_pattern("*"); # erzeuge einen neuen DateiAuswahlDialog my $filesel = Gtk2::FileChooserDialog->new("Select...", undef, 'select-folder', # aletrnativ 'open' zum selektieren von Dateien 'gtk-cancel', 'cancel', 'gtk-ok', 'ok'); # Mehrfache Auswahl erlaubt $filesel->set_select_multiple(1); # Setze Bilder-Filter als ersten Filter $filesel->add_filter($image_filter); # Setze "no_filter" als zweiten $filesel->add_filter($no_filter); # Zeige die Dateiauswahl my $resp = $filesel->run; # Wenn "ok" ausgewählt wurde # dann übernehme die ausgewählte Dateiliste my @filelist = $filesel->get_filenames if($resp eq 'ok'); # Auswahldialog löschen $filesel->destroy; # Augewählte Dateien listen print join("\n",@filelist)."\n";