Gentoo Archives: gentoo-amd64

From: Pete Pardoe <pete.pardoe@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] xpdf & SplashFTFont
Date: Tue, 23 Aug 2005 16:59:42
Message-Id: 6c6bf172050823095740760c0d@mail.gmail.com
1 I get the following errors when I try to emerge xpdf - any insight
2 would be greatly appreciated.
3 ------------------------------------------------------------------
4
5 x86_64-pc-linux-gnu-g++ -O2 -march=k8 -pipe -DHAVE_CONFIG_H -I..
6 -I./../goo -I./../fofi -I. -c SplashFTFont.cc
7 SplashFTFont.cc:15:30: freetype/ftoutln.h: No such file or directory
8 SplashFTFont.cc:16:69: freetype/internal/ftobjs.h: No such file or directory
9 In file included from SplashFTFont.cc:21:
10 SplashFTFontEngine.h:48: error: `FT_Library' has not been declared
11 SplashFTFontEngine.h:48: error: ISO C++ forbids declaration of `libA'
12 with no type
13 SplashFTFontEngine.h:51: error: `FT_Library' does not name a type
14 In file included from SplashFTFont.cc:22:
15 SplashFTFontFile.h:56: error: `FT_Face' has not been declared
16 SplashFTFontFile.h:57: error: ISO C++ forbids declaration of `faceA'
17 with no type
18 SplashFTFontFile.h:60: error: `FT_Face' does not name a type
19 In file included from SplashFTFont.cc:23:
20 SplashFTFont.h:48: error: `FT_Size' does not name a type
21 SplashFTFont.h:49: error: `FT_Matrix' does not name a type
22 SplashFTFont.cc:27: error: `FT_Vector' was not declared in this scope
23 SplashFTFont.cc:27: error: `pt' was not declared in this scope
24 SplashFTFont.cc:27: error: expected primary-expression before "void"
25 SplashFTFont.cc:27: error: initializer expression list treated as
26 compound expression
27 SplashFTFont.cc:28: error: `FT_Vector' was not declared in this scope
28 SplashFTFont.cc:28: error: `pt' was not declared in this scope
29 SplashFTFont.cc:28: error: expected primary-expression before "void"
30 SplashFTFont.cc:28: error: initializer expression list treated as
31 compound expression
32 SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
33 SplashFTFont.cc:29: error: `ctrl' was not declared in this scope
34 SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
35 SplashFTFont.cc:29: error: `pt' was not declared in this scope
36 SplashFTFont.cc:29: error: expected primary-expression before "void"
37 SplashFTFont.cc:29: error: initializer expression list treated as
38 compound expression
39 SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
40 SplashFTFont.cc:30: error: `ctrl1' was not declared in this scope
41 SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
42 SplashFTFont.cc:30: error: `ctrl2' was not declared in this scope
43 SplashFTFont.cc:31: error: `FT_Vector' was not declared in this scope
44 SplashFTFont.cc:31: error: `pt' was not declared in this scope
45 SplashFTFont.cc:31: error: expected primary-expression before "void"
46 SplashFTFont.cc:31: error: initializer expression list treated as
47 compound expression
48 SplashFTFont.cc: In constructor
49 `SplashFTFont::SplashFTFont(SplashFTFontFile*, SplashCoord*)':
50 SplashFTFont.cc:40: error: `FT_Face' undeclared (first use this function)
51 SplashFTFont.cc:40: error: (Each undeclared identifier is reported
52 only once for each function it appears in.)
53 SplashFTFont.cc:40: error: expected `;' before "face"
54 SplashFTFont.cc:44: error: `face' undeclared (first use this function)
55 SplashFTFont.cc:44: error: 'class SplashFTFontFile' has no member named 'face'
56 SplashFTFont.cc:45: error: `sizeObj' undeclared (first use this function)
57 SplashFTFont.cc:45: error: `FT_New_Size' undeclared (first use this function)
58 SplashFTFont.cc:50: error: `FT_Set_Pixel_Sizes' undeclared (first use
59 this function)
60 SplashFTFont.cc:118: error: `matrix' undeclared (first use this function)
61 SplashFTFont.cc:118: error: `FT_Fixed' undeclared (first use this function)
62 SplashFTFont.cc: In member function `virtual GBool
63 SplashFTFont::makeGlyph(int, int, int, SplashGlyphBitmap*)':
64 SplashFTFont.cc:135: error: `FT_Vector' undeclared (first use this function)
65 SplashFTFont.cc:135: error: expected `;' before "offset"
66 SplashFTFont.cc:136: error: `FT_GlyphSlot' undeclared (first use this function)
67 SplashFTFont.cc:136: error: expected `;' before "slot"
68 SplashFTFont.cc:137: error: `FT_UInt' undeclared (first use this function)
69 SplashFTFont.cc:137: error: expected `;' before "gid"
70 SplashFTFont.cc:144: error: 'class SplashFTFontFile' has no member named 'face'
71 SplashFTFont.cc:144: error: `sizeObj' undeclared (first use this function)
72 SplashFTFont.cc:145: error: `offset' undeclared (first use this function)
73 SplashFTFont.cc:145: error: `FT_Pos' undeclared (first use this function)
74 SplashFTFont.cc:147: error: 'class SplashFTFontFile' has no member named 'face'
75 SplashFTFont.cc:147: error: `matrix' undeclared (first use this function)
76 SplashFTFont.cc:147: error: `FT_Set_Transform' undeclared (first use
77 this function)
78 SplashFTFont.cc:148: error: `slot' undeclared (first use this function)
79 SplashFTFont.cc:148: error: 'class SplashFTFontFile' has no member named 'face'
80 SplashFTFont.cc:151: error: `gid' undeclared (first use this function)
81 SplashFTFont.cc:151: error: expected `;' before "ff"
82 SplashFTFont.cc:153: error: expected `;' before "c"
83 SplashFTFont.cc:167: error: 'class SplashFTFontFile' has no member named 'face'
84 SplashFTFont.cc:168: error: `FT_LOAD_NO_HINTING' undeclared (first use
85 this function)
86 SplashFTFont.cc:169: error: `FT_LOAD_NO_BITMAP' undeclared (first use
87 this function)
88 SplashFTFont.cc:169: error: `FT_LOAD_DEFAULT' undeclared (first use
89 this function)
90 SplashFTFont.cc:169: error: `FT_Load_Glyph' undeclared (first use this function)
91 SplashFTFont.cc:174: error: `ft_render_mode_normal' undeclared (first
92 use this function)
93 SplashFTFont.cc:174: error: `ft_render_mode_mono' undeclared (first
94 use this function)
95 SplashFTFont.cc:174: error: `FT_Render_Glyph' undeclared (first use
96 this function)
97 SplashFTFont.cc:193: error: `memcpy' undeclared (first use this function)
98 SplashFTFont.cc: In member function `virtual SplashPath*
99 SplashFTFont::getGlyphPath(int)':
100 SplashFTFont.cc:200: error: `FT_Outline_Funcs' does not name a type
101 SplashFTFont.cc:209: error: `FT_GlyphSlot' undeclared (first use this function)
102 SplashFTFont.cc:209: error: expected `;' before "slot"
103 SplashFTFont.cc:210: error: `FT_UInt' undeclared (first use this function)
104 SplashFTFont.cc:210: error: expected `;' before "gid"
105 SplashFTFont.cc:211: error: `FT_Glyph' undeclared (first use this function)
106 SplashFTFont.cc:211: error: expected `;' before "glyph"
107 SplashFTFont.cc:214: error: 'class SplashFTFontFile' has no member named 'face'
108 SplashFTFont.cc:214: error: `sizeObj' undeclared (first use this function)
109 SplashFTFont.cc:215: error: 'class SplashFTFontFile' has no member named 'face'
110 SplashFTFont.cc:215: error: `matrix' undeclared (first use this function)
111 SplashFTFont.cc:215: error: `FT_Set_Transform' undeclared (first use
112 this function)
113 SplashFTFont.cc:216: error: `slot' undeclared (first use this function)
114 SplashFTFont.cc:216: error: 'class SplashFTFontFile' has no member named 'face'
115 SplashFTFont.cc:218: error: `gid' undeclared (first use this function)
116 SplashFTFont.cc:220: error: expected `;' before "c"
117 SplashFTFont.cc:222: error: 'class SplashFTFontFile' has no member named 'face'
118 SplashFTFont.cc:222: error: `FT_LOAD_DEFAULT' undeclared (first use
119 this function)
120 SplashFTFont.cc:222: error: `FT_Load_Glyph' undeclared (first use this function)
121 SplashFTFont.cc:225: error: `glyph' undeclared (first use this function)
122 SplashFTFont.cc:225: error: `FT_Get_Glyph' undeclared (first use this function)
123 SplashFTFont.cc:228: error: `FT_GLYPH_FORMAT_OUTLINE' undeclared
124 (first use this function)
125 SplashFTFont.cc:232: error: `FT_OutlineGlyph' undeclared (first use
126 this function)
127 SplashFTFont.cc:232: error: expected `)' before "glyph"
128 SplashFTFont.cc: At global scope:
129 SplashFTFont.cc:237: error: redefinition of `int glyphPathMoveTo'
130 SplashFTFont.cc:27: error: `int glyphPathMoveTo' previously defined here
131 SplashFTFont.cc:237: error: `FT_Vector' was not declared in this scope
132 SplashFTFont.cc:237: error: `pt' was not declared in this scope
133 SplashFTFont.cc:237: error: expected primary-expression before "void"
134 SplashFTFont.cc:237: error: expected `,' or `;' before '{' token
135 SplashFTFont.cc:242: error: redefinition of `int glyphPathLineTo'
136 SplashFTFont.cc:28: error: `int glyphPathLineTo' previously defined here
137 SplashFTFont.cc:242: error: `FT_Vector' was not declared in this scope
138 SplashFTFont.cc:242: error: `pt' was not declared in this scope
139 SplashFTFont.cc:242: error: expected primary-expression before "void"
140 SplashFTFont.cc:242: error: expected `,' or `;' before '{' token
141 SplashFTFont.cc:247: error: redefinition of `int glyphPathConicTo'
142 SplashFTFont.cc:29: error: `int glyphPathConicTo' previously defined here
143 SplashFTFont.cc:247: error: `FT_Vector' was not declared in this scope
144 SplashFTFont.cc:247: error: `ctrl' was not declared in this scope
145 SplashFTFont.cc:247: error: `FT_Vector' was not declared in this scope
146 SplashFTFont.cc:247: error: `pt' was not declared in this scope
147 SplashFTFonx86_64-pc-linux-gnu-g++ -O2 -march=k8 -pipe -DHAVE_CONFIG_H
148 -I.. -I./../goo -I./../fofi -I. -c SplashFTFont.cc
149 SplashFTFont.cc:15:30: freetype/ftoutln.h: No such file or directory
150 SplashFTFont.cc:16:69: freetype/internal/ftobjs.h: No such file or directory
151 In file included from SplashFTFont.cc:21:
152 SplashFTFontEngine.h:48: error: `FT_Library' has not been declared
153 SplashFTFontEngine.h:48: error: ISO C++ forbids declaration of `libA'
154 with no type
155 SplashFTFontEngine.h:51: error: `FT_Library' does not name a type
156 In file included from SplashFTFont.cc:22:
157 SplashFTFontFile.h:56: error: `FT_Face' has not been declared
158 SplashFTFontFile.h:57: error: ISO C++ forbids declaration of `faceA'
159 with no type
160 SplashFTFontFile.h:60: error: `FT_Face' does not name a type
161 In file included from SplashFTFont.cc:23:
162 SplashFTFont.h:48: error: `FT_Size' does not name a type
163 SplashFTFont.h:49: error: `FT_Matrix' does not name a type
164 SplashFTFont.cc:27: error: `FT_Vector' was not declared in this scope
165 SplashFTFont.cc:27: error: `pt' was not declared in this scope
166 SplashFTFont.cc:27: error: expected primary-expression before "void"
167 SplashFTFont.cc:27: error: initializer expression list treated as
168 compound expression
169 SplashFTFont.cc:28: error: `FT_Vector' was not declared in this scope
170 SplashFTFont.cc:28: error: `pt' was not declared in this scope
171 SplashFTFont.cc:28: error: expected primary-expression before "void"
172 SplashFTFont.cc:28: error: initializer expression list treated as
173 compound expression
174 SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
175 SplashFTFont.cc:29: error: `ctrl' was not declared in this scope
176 SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
177 SplashFTFont.cc:29: error: `pt' was not declared in this scope
178 SplashFTFont.cc:29: error: expected primary-expression before "void"
179 SplashFTFont.cc:29: error: initializer expression list treated as
180 compound expression
181 SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
182 SplashFTFont.cc:30: error: `ctrl1' was not declared in this scope
183 SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
184 SplashFTFont.cc:30: error: `ctrl2' was not declared in this scope
185 SplashFTFont.cc:31: error: `FT_Vector' was not declared in this scope
186 SplashFTFont.cc:31: error: `pt' was not declared in this scope
187 SplashFTFont.cc:31: error: expected primary-expression before "void"
188 SplashFTFont.cc:31: error: initializer expression list treated as
189 compound expression
190 SplashFTFont.cc: In constructor
191 `SplashFTFont::SplashFTFont(SplashFTFontFile*, SplashCoord*)':
192 SplashFTFont.cc:40: error: `FT_Face' undeclared (first use this function)
193 SplashFTFont.cc:40: error: (Each undeclared identifier is reported
194 only once for each function it appears in.)
195 SplashFTFont.cc:40: error: expected `;' before "face"
196 SplashFTFont.cc:44: error: `face' undeclared (first use this function)
197 SplashFTFont.cc:44: error: 'class SplashFTFontFile' has no member named 'face'
198 SplashFTFont.cc:45: error: `sizeObj' undeclared (first use this function)
199 SplashFTFont.cc:45: error: `FT_New_Size' undeclared (first use this function)
200 SplashFTFont.cc:50: error: `FT_Set_Pixel_Sizes' undeclared (first use
201 this function)
202 SplashFTFont.cc:118: error: `matrix' undeclared (first use this function)
203 SplashFTFont.cc:118: error: `FT_Fixed' undeclared (first use this function)
204 SplashFTFont.cc: In member function `virtual GBool
205 SplashFTFont::makeGlyph(int, int, int, SplashGlyphBitmap*)':
206 SplashFTFont.cc:135: error: `FT_Vector' undeclared (first use this function)
207 SplashFTFont.cc:135: error: expected `;' before "offset"
208 SplashFTFont.cc:136: error: `FT_GlyphSlot' undeclared (first use this function)
209 SplashFTFont.cc:136: error: expected `;' before "slot"
210 SplashFTFont.cc:137: error: `FT_UInt' undeclared (first use this function)
211 SplashFTFont.cc:137: error: expected `;' before "gid"
212 SplashFTFont.cc:144: error: 'class SplashFTFontFile' has no member named 'face'
213 SplashFTFont.cc:144: error: `sizeObj' undeclared (first use this function)
214 SplashFTFont.cc:145: error: `offset' undeclared (first use this function)
215 SplashFTFont.cc:145: error: `FT_Pos' undeclared (first use this function)
216 SplashFTFont.cc:147: error: 'class SplashFTFontFile' has no member named 'face'
217 SplashFTFont.cc:147: error: `matrix' undeclared (first use this function)
218 SplashFTFont.cc:147: error: `FT_Set_Transform' undeclared (first use
219 this function)
220 SplashFTFont.cc:148: error: `slot' undeclared (first use this function)
221 SplashFTFont.cc:148: error: 'class SplashFTFontFile' has no member named 'face'
222 SplashFTFont.cc:151: error: `gid' undeclared (first use this function)
223 SplashFTFont.cc:151: error: expected `;' before "ff"
224 SplashFTFont.cc:153: error: expected `;' before "c"
225 SplashFTFont.cc:167: error: 'class SplashFTFontFile' has no member named 'face'
226 SplashFTFont.cc:168: error: `FT_LOAD_NO_HINTING' undeclared (first use
227 this function)
228 SplashFTFont.cc:169: error: `FT_LOAD_NO_BITMAP' undeclared (first use
229 this function)
230 SplashFTFont.cc:169: error: `FT_LOAD_DEFAULT' undeclared (first use
231 this function)
232 SplashFTFont.cc:169: error: `FT_Load_Glyph' undeclared (first use this function)
233 SplashFTFont.cc:174: error: `ft_render_mode_normal' undeclared (first
234 use this function)
235 SplashFTFont.cc:174: error: `ft_render_mode_mono' undeclared (first
236 use this function)
237 SplashFTFont.cc:174: error: `FT_Render_Glyph' undeclared (first use
238 this function)
239 SplashFTFont.cc:193: error: `memcpy' undeclared (first use this function)
240 SplashFTFont.cc: In member function `virtual SplashPath*
241 SplashFTFont::getGlyphPath(int)':
242 SplashFTFont.cc:200: error: `FT_Outline_Funcs' does not name a type
243 SplashFTFont.cc:209: error: `FT_GlyphSlot' undeclared (first use this function)
244 SplashFTFont.cc:209: error: expected `;' before "slot"
245 SplashFTFont.cc:210: error: `FT_UInt' undeclared (first use this function)
246 SplashFTFont.cc:210: error: expected `;' before "gid"
247 SplashFTFont.cc:211: error: `FT_Glyph' undeclared (first use this function)
248 SplashFTFont.cc:211: error: expected `;' before "glyph"
249 SplashFTFont.cc:214: error: 'class SplashFTFontFile' has no member named 'face'
250 SplashFTFont.cc:214: error: `sizeObj' undeclared (first use this function)
251 SplashFTFont.cc:215: error: 'class SplashFTFontFile' has no member named 'face'
252 SplashFTFont.cc:215: error: `matrix' undeclared (first use this function)
253 SplashFTFont.cc:215: error: `FT_Set_Transform' undeclared (first use
254 this function)
255 SplashFTFont.cc:216: error: `slot' undeclared (first use this function)
256 SplashFTFont.cc:216: error: 'class SplashFTFontFile' has no member named 'face'
257 SplashFTFont.cc:218: error: `gid' undeclared (first use this function)
258 SplashFTFont.cc:220: error: expected `;' before "c"
259 SplashFTFont.cc:222: error: 'class SplashFTFontFile' has no member named 'face'
260 SplashFTFont.cc:222: error: `FT_LOAD_DEFAULT' undeclared (first use
261 this function)
262 SplashFTFont.cc:222: error: `FT_Load_Glyph' undeclared (first use this function)
263 SplashFTFont.cc:225: error: `glyph' undeclared (first use this function)
264 SplashFTFont.cc:225: error: `FT_Get_Glyph' undeclared (first use this function)
265 SplashFTFont.cc:228: error: `FT_GLYPH_FORMAT_OUTLINE' undeclared
266 (first use this function)
267 SplashFTFont.cc:232: error: `FT_OutlineGlyph' undeclared (first use
268 this function)
269 SplashFTFont.cc:232: error: expected `)' before "glyph"
270 SplashFTFont.cc: At global scope:
271 SplashFTFont.cc:237: error: redefinition of `int glyphPathMoveTo'
272 SplashFTFont.cc:27: error: `int glyphPathMoveTo' previously defined here
273 SplashFTFont.cc:237: error: `FT_Vector' was not declared in this scope
274 SplashFTFont.cc:237: error: `pt' was not declared in this scope
275 SplashFTFont.cc:237: error: expected primary-expression before "void"
276 SplashFTFont.cc:237: error: expected `,' or `;' before '{' token
277 SplashFTFont.cc:242: error: redefinition of `int glyphPathLineTo'
278 SplashFTFont.cc:28: error: `int glyphPathLineTo' previously defined here
279 SplashFTFont.cc:242: error: `FT_Vector' was not declared in this scope
280 SplashFTFont.cc:242: error: `pt' was not declared in this scope
281 SplashFTFont.cc:242: error: expected primary-expression before "void"
282 SplashFTFont.cc:242: error: expected `,' or `;' before '{' token
283 SplashFTFont.cc:247: error: redefinition of `int glyphPathConicTo'
284 SplashFTFont.cc:29: error: `int glyphPathConicTo' previously defined here
285 SplashFTFont.cc:247: error: `FT_Vector' was not declared in this scope
286 SplashFTFont.cc:247: error: `ctrl' was not declared in this scope
287 SplashFTFont.cc:247: error: `FT_Vector' was not declared in this scope
288 SplashFTFont.cc:247: error: `pt' was not declared in this scope
289 SplashFTFont.cc:247: error: expected primary-expression before "void"
290 SplashFTFont.cc:247: error: expected `,' or `;' before '{' token
291 SplashFTFont.cc:283: error: redefinition of `int glyphPathCubicTo'
292 SplashFTFont.cc:30: error: `int glyphPathCubicTo' previously defined here
293 SplashFTFont.cc:283: error: `FT_Vector' was not declared in this scope
294 SplashFTFont.cc:283: error: `ctrl1' was not declared in this scope
295 SplashFTFont.cc:283: error: `FT_Vector' was not declared in this scope
296 SplashFTFont.cc:283: error: `ctrl2' was not declared in this scope
297 SplashFTFont.cc:284: error: `FT_Vector' was not declared in this scope
298 SplashFTFont.cc:284: error: `pt' was not declared in this scope
299 SplashFTFont.cc:284: error: expected primary-expression before "void"
300 SplashFTFont.cc:284: error: expected `,' or `;' before '{' token
301 make[1]: *** [SplashFTFont.o] Error 1
302 make[1]: *** Waiting for unfinished jobs....
303 make[1]: Leaving directory
304 `/var/tmp/portage/xpdf-3.00-r10/work/xpdf-3.00/splash'
305 make: *** [all] Error 2
306
307 !!! ERROR: app-text/xpdf-3.00-r10 failed.
308 !!! Function src_compile, Line 80, Exitcode 2
309 !!! (no error message)
310 !!! If you need support, post the topmost build error, NOT this status message.
311 -------------------------------------------------------------------------------------------------
312 I did an emerge -S splashftfont and found nothing. And I did a find
313 on my system with the same result.
314
315 Thanks,
316 --
317 Pete Pardoe
318
319 --
320 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] xpdf & SplashFTFont Olivier Crete <tester@g.o>
[gentoo-amd64] Re: xpdf & SplashFTFont Duncan <1i5t5.duncan@×××.net>