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
cpan> install GD::Chart
CPAN: Storable loaded ok
Going to read /Users/admin/.cpan/Metadata
Database was generated on Mon, 10 Oct 2005 00:19:06 GMT
Running install for module GD::Chart
Running make for R/RD/RDP/GD-Chart-0.05.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /Users/admin/.cpan/sources/authors/id/R/RD/RDP/GD-Chart-0.05.tar.gz ok
Scanning cache /Users/admin/.cpan/build for sizes
GD-Chart-0.05/
GD-Chart-0.05/gdchart0.11.4dev/
GD-Chart-0.05/gdchart0.11.4dev/gdc.c
GD-Chart-0.05/gdchart0.11.4dev/examples/
GD-Chart-0.05/gdchart0.11.4dev/examples/ft_samp.c
GD-Chart-0.05/gdchart0.11.4dev/examples/gdc_samp2.c
GD-Chart-0.05/gdchart0.11.4dev/examples/pie.c
GD-Chart-0.05/gdchart0.11.4dev/examples/gdc_pie_samp.c
GD-Chart-0.05/gdchart0.11.4dev/examples/gdc_samp1.c
GD-Chart-0.05/gdchart0.11.4dev/gdchart.h
GD-Chart-0.05/gdchart0.11.4dev/array_alloc.c
GD-Chart-0.05/gdchart0.11.4dev/makefile.gdc
GD-Chart-0.05/gdchart0.11.4dev/gifencode.h
GD-Chart-0.05/gdchart0.11.4dev/gdchart.c
GD-Chart-0.05/gdchart0.11.4dev/gifencode.c
GD-Chart-0.05/gdchart0.11.4dev/Makefile.PL
GD-Chart-0.05/gdchart0.11.4dev/gdc.h
GD-Chart-0.05/gdchart0.11.4dev/array_alloc.h
GD-Chart-0.05/gdchart0.11.4dev/price_conv.c
GD-Chart-0.05/gdchart0.11.4dev/README
GD-Chart-0.05/gdchart0.11.4dev/gdc_pie.c
GD-Chart-0.05/gdchart0.11.4dev/gdcpie.h
GD-Chart-0.05/gdchart0.11.4dev/Makefile.old
GD-Chart-0.05/Changes
GD-Chart-0.05/MANIFEST
GD-Chart-0.05/examples/
GD-Chart-0.05/examples/3d_bar_2.pl
GD-Chart-0.05/examples/pie1.pl
GD-Chart-0.05/examples/3d_pie_1.pl
GD-Chart-0.05/examples/3d_bar_ttf_1.pl
GD-Chart-0.05/examples/bar1.pl
GD-Chart-0.05/examples/note.pl
GD-Chart-0.05/examples/pie2.pl
GD-Chart-0.05/examples/3d_bar_1.pl
GD-Chart-0.05/examples/labels.pl
GD-Chart-0.05/Chart.pm
GD-Chart-0.05/GDChart_wrap.c
GD-Chart-0.05/gd_obj.h
GD-Chart-0.05/Makefile.PL
GD-Chart-0.05/README
Removing previously used /Users/admin/.cpan/build/GD-Chart-0.05
CPAN.pm: Going to build R/RD/RDP/GD-Chart-0.05.tar.gz
You need to build gdchart with the same settings as libgd was built
with. Please answer the following questions:
Build JPEG support? [y] y
Build Freetype support? [y] n
Build XPM support? [y] n
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgd
Note (probably harmless): No library found for -lpng
Note (probably harmless): No library found for -ljpeg
Note (probably harmless): No library found for -lgd
Note (probably harmless): No library found for -lpng
Note (probably harmless): No library found for -ljpeg
Writing Makefile for GD::Chart::gdchart
Writing Makefile for GD::Chart
cp Chart.pm blib/lib/GD/Chart.pm
cd gdchart0.11.4dev && /usr/bin/make
cc -c -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" array_alloc.c
cc -c -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"\" -DXS_VERSION=\"\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" gdc.c
In file included from gdc.c:7:
gdc.h:27:16: gd.h: No such file or directory
gdc.h:28:21: gdfonts.h: No such file or directory
gdc.h:29:21: gdfontt.h: No such file or directory
gdc.h:30:22: gdfontmb.h: No such file or directory
gdc.h:31:21: gdfontg.h: No such file or directory
gdc.h:32:21: gdfontl.h: No such file or directory
In file included from gdc.h:33,
from gdc.c:7:
gifencode.h:7: error: parse error before "im"
gifencode.h:8: error: parse error before "gdImageCreateFromGif"
gifencode.h:8: error: parse error before '*' token
gifencode.h:8: warning: data definition has no type or storage class
In file included from gdc.c:7:
gdc.h:109: error: parse error before "gdFontPtr"
gdc.h:109: warning: no semicolon at end of struct or union
gdc.h:112: error: parse error before '}' token
gdc.h:124: error: parse error before "struct"
gdc.h:154: error: parse error before "FILE"
gdc.c:9: error: elements of array `GDC_fontc' have incomplete type
gdc.c:9: error: `gdFontPtr' undeclared here (not in a function)
gdc.c:9: error: initializer element is not constant
gdc.c:9: error: (near initialization for `GDC_fontc[0]')
gdc.c:9: error: parse error before "NULL"
gdc.c:9: warning: excess elements in struct initializer
gdc.c:9: warning: (near initialization for `GDC_fontc[1]')
gdc.c:9: error: initializer element is not constant
gdc.c:9: error: (near initialization for `GDC_fontc[1]')
gdc.c:9: warning: excess elements in struct initializer
gdc.c:9: warning: (near initialization for `GDC_fontc[2]')
gdc.c:10: error: `gdFontPtr' undeclared here (not in a function)
gdc.c:10: error: initializer element is not constant
gdc.c:10: error: (near initialization for `GDC_fontc[2]')
gdc.c:10: error: initializer element is not constant
gdc.c:10: error: (near initialization for `GDC_fontc[3]')
gdc.c:10: error: parse error before "NULL"
gdc.c:10: warning: excess elements in struct initializer
gdc.c:10: warning: (near initialization for `GDC_fontc[4]')
gdc.c:10: error: initializer element is not constant
gdc.c:10: error: (near initialization for `GDC_fontc[4]')
gdc.c:10: warning: excess elements in struct initializer
gdc.c:10: warning: (near initialization for `GDC_fontc[5]')
gdc.c:11: error: `gdFontPtr' undeclared here (not in a function)
gdc.c:11: error: initializer element is not constant
gdc.c:11: error: (near initialization for `GDC_fontc[5]')
gdc.c:11: warning: excess elements in array initializer
gdc.c:11: warning: (near initialization for `GDC_fontc')
gdc.c:11: error: parse error before "NULL"
gdc.c:11: warning: excess elements in struct initializer
gdc.c:11: warning: (near initialization for `GDC_fontc[6]')
gdc.c:11: warning: excess elements in array initializer
gdc.c:11: warning: (near initialization for `GDC_fontc')
gdc.c:11: warning: excess elements in struct initializer
gdc.c:11: warning: (near initialization for `GDC_fontc[6]')
gdc.c:12: error: `gdFontPtr' undeclared here (not in a function)
gdc.c:12: warning: excess elements in array initializer
gdc.c:12: warning: (near initialization for `GDC_fontc')
gdc.c:12: warning: excess elements in array initializer
gdc.c:12: warning: (near initialization for `GDC_fontc')
gdc.c:12: error: parse error before "NULL"
gdc.c:12: warning: excess elements in struct initializer
gdc.c:12: warning: (near initialization for `GDC_fontc[6]')
gdc.c:12: warning: excess elements in array initializer
gdc.c:12: warning: (near initialization for `GDC_fontc')
gdc.c:12: warning: excess elements in struct initializer
gdc.c:12: warning: (near initialization for `GDC_fontc[6]')
gdc.c:13: error: `gdFontPtr' undeclared here (not in a function)
gdc.c:13: warning: excess elements in array initializer
gdc.c:13: warning: (near initialization for `GDC_fontc')
gdc.c:13: warning: excess elements in array initializer
gdc.c:13: warning: (near initialization for `GDC_fontc')
gdc.c:13: error: parse error before "NULL"
gdc.c:13: warning: excess elements in struct initializer
gdc.c:13: warning: (near initialization for `GDC_fontc[6]')
gdc.c:13: warning: excess elements in array initializer
gdc.c:13: warning: (near initialization for `GDC_fontc')
gdc.c:13: warning: excess elements in struct initializer
gdc.c:13: warning: (near initialization for `GDC_fontc[6]')
gdc.c:14: error: `gdFontPtr' undeclared here (not in a function)
gdc.c:14: warning: excess elements in array initializer
gdc.c:14: warning: (near initialization for `GDC_fontc')
gdc.c:14: warning: excess elements in array initializer
gdc.c:14: warning: (near initialization for `GDC_fontc')
gdc.c:14: error: parse error before "NULL"
gdc.c:14: warning: excess elements in struct initializer
gdc.c:14: warning: (near initialization for `GDC_fontc[6]')
gdc.c:14: warning: excess elements in array initializer
gdc.c:14: warning: (near initialization for `GDC_fontc')
gdc.c:14: warning: excess elements in struct initializer
gdc.c:14: warning: (near initialization for `GDC_fontc[6]')
gdc.c:14: warning: excess elements in array initializer
gdc.c:14: warning: (near initialization for `GDC_fontc')
gdc.c: In function `load_font_conversions':
gdc.c:25: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c:25: error: `gdFontTiny' undeclared (first use in this function)
gdc.c:25: error: (Each undeclared identifier is reported only once
gdc.c:25: error: for each function it appears in.)
gdc.c:26: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c:27: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c:27: error: `gdFontSmall' undeclared (first use in this function)
gdc.c:28: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c:28: error: `gdFontMediumBold' undeclared (first use in this function)
gdc.c:29: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c:29: error: `gdFontLarge' undeclared (first use in this function)
gdc.c:30: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c:30: error: `gdFontGiant' undeclared (first use in this function)
gdc.c: At top level:
gdc.c:75: error: parse error before "im"
gdc.c: In function `GDCImageStringNL':
gdc.c:88: error: `NULL' undeclared (first use in this function)
gdc.c:148: error: `str' undeclared (first use in this function)
gdc.c:166: error: `justify' undeclared (first use in this function)
gdc.c:169: error: `f' undeclared (first use in this function)
gdc.c:173: error: `rad' undeclared (first use in this function)
gdc.c:174: error: `im' undeclared (first use in this function)
gdc.c:176: error: `x' undeclared (first use in this function)
gdc.c:177: error: `y' undeclared (first use in this function)
gdc.c:179: error: `clr' undeclared (first use in this function)
gdc.c:193: error: `sts' undeclared (first use in this function)
gdc.c: At top level:
gdc.c:202: error: parse error before "im"
gdc.c: In function `GDCfnt_sz':
gdc.c:218: error: `NULL' undeclared (first use in this function)
gdc.c:244: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c:245: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c: In function `GDC_destroy_image':
gdc.c:255: error: `gdImagePtr' undeclared (first use in this function)
gdc.c:255: error: parse error before "im"
gdc.c: At top level:
gdc.c:262: error: parse error before "FILE"
gdc.c: In function `out_err':
gdc.c:268: error: `gdImagePtr' undeclared (first use in this function)
gdc.c:268: error: parse error before "im"
gdc.c:274: error: `NULL' undeclared (first use in this function)
gdc.c:275: error: `im' undeclared (first use in this function)
gdc.c:277: error: `IMGWIDTH' undeclared (first use in this function)
gdc.c:277: error: `IMGHEIGHT' undeclared (first use in this function)
gdc.c:279: error: `BGColor' undeclared (first use in this function)
gdc.c:280: error: `LineColor' undeclared (first use in this function)
gdc.c:283: error: `gdFontMediumBold' undeclared (first use in this function)
gdc.c:284: error: invalid use of undefined type `struct GDC_FONT_T'
gdc.c:284: error: `err_str' undeclared (first use in this function)
gdc.c:292: error: `fptr' undeclared (first use in this function)
gdc.c: At top level:
gdc.c:9: error: storage size of `GDC_fontc' isn't known
make[1]: *** [gdc.o] Error 1
make: *** [gdchart0.11.4dev/libgdc.a] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
nutze Debian-Sarge und habe bereits libgd-graph-perl installiert!
warum also diese Fehler????