* [gentoo-amd64] xpdf & SplashFTFont
@ 2005-08-23 16:57 Pete Pardoe
2005-08-23 17:36 ` Olivier Crete
2005-08-23 18:33 ` [gentoo-amd64] " Duncan
0 siblings, 2 replies; 3+ messages in thread
From: Pete Pardoe @ 2005-08-23 16:57 UTC (permalink / raw
To: gentoo-amd64
I get the following errors when I try to emerge xpdf - any insight
would be greatly appreciated.
------------------------------------------------------------------
x86_64-pc-linux-gnu-g++ -O2 -march=k8 -pipe -DHAVE_CONFIG_H -I..
-I./../goo -I./../fofi -I. -c SplashFTFont.cc
SplashFTFont.cc:15:30: freetype/ftoutln.h: No such file or directory
SplashFTFont.cc:16:69: freetype/internal/ftobjs.h: No such file or directory
In file included from SplashFTFont.cc:21:
SplashFTFontEngine.h:48: error: `FT_Library' has not been declared
SplashFTFontEngine.h:48: error: ISO C++ forbids declaration of `libA'
with no type
SplashFTFontEngine.h:51: error: `FT_Library' does not name a type
In file included from SplashFTFont.cc:22:
SplashFTFontFile.h:56: error: `FT_Face' has not been declared
SplashFTFontFile.h:57: error: ISO C++ forbids declaration of `faceA'
with no type
SplashFTFontFile.h:60: error: `FT_Face' does not name a type
In file included from SplashFTFont.cc:23:
SplashFTFont.h:48: error: `FT_Size' does not name a type
SplashFTFont.h:49: error: `FT_Matrix' does not name a type
SplashFTFont.cc:27: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:27: error: `pt' was not declared in this scope
SplashFTFont.cc:27: error: expected primary-expression before "void"
SplashFTFont.cc:27: error: initializer expression list treated as
compound expression
SplashFTFont.cc:28: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:28: error: `pt' was not declared in this scope
SplashFTFont.cc:28: error: expected primary-expression before "void"
SplashFTFont.cc:28: error: initializer expression list treated as
compound expression
SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:29: error: `ctrl' was not declared in this scope
SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:29: error: `pt' was not declared in this scope
SplashFTFont.cc:29: error: expected primary-expression before "void"
SplashFTFont.cc:29: error: initializer expression list treated as
compound expression
SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:30: error: `ctrl1' was not declared in this scope
SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:30: error: `ctrl2' was not declared in this scope
SplashFTFont.cc:31: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:31: error: `pt' was not declared in this scope
SplashFTFont.cc:31: error: expected primary-expression before "void"
SplashFTFont.cc:31: error: initializer expression list treated as
compound expression
SplashFTFont.cc: In constructor
`SplashFTFont::SplashFTFont(SplashFTFontFile*, SplashCoord*)':
SplashFTFont.cc:40: error: `FT_Face' undeclared (first use this function)
SplashFTFont.cc:40: error: (Each undeclared identifier is reported
only once for each function it appears in.)
SplashFTFont.cc:40: error: expected `;' before "face"
SplashFTFont.cc:44: error: `face' undeclared (first use this function)
SplashFTFont.cc:44: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:45: error: `sizeObj' undeclared (first use this function)
SplashFTFont.cc:45: error: `FT_New_Size' undeclared (first use this function)
SplashFTFont.cc:50: error: `FT_Set_Pixel_Sizes' undeclared (first use
this function)
SplashFTFont.cc:118: error: `matrix' undeclared (first use this function)
SplashFTFont.cc:118: error: `FT_Fixed' undeclared (first use this function)
SplashFTFont.cc: In member function `virtual GBool
SplashFTFont::makeGlyph(int, int, int, SplashGlyphBitmap*)':
SplashFTFont.cc:135: error: `FT_Vector' undeclared (first use this function)
SplashFTFont.cc:135: error: expected `;' before "offset"
SplashFTFont.cc:136: error: `FT_GlyphSlot' undeclared (first use this function)
SplashFTFont.cc:136: error: expected `;' before "slot"
SplashFTFont.cc:137: error: `FT_UInt' undeclared (first use this function)
SplashFTFont.cc:137: error: expected `;' before "gid"
SplashFTFont.cc:144: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:144: error: `sizeObj' undeclared (first use this function)
SplashFTFont.cc:145: error: `offset' undeclared (first use this function)
SplashFTFont.cc:145: error: `FT_Pos' undeclared (first use this function)
SplashFTFont.cc:147: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:147: error: `matrix' undeclared (first use this function)
SplashFTFont.cc:147: error: `FT_Set_Transform' undeclared (first use
this function)
SplashFTFont.cc:148: error: `slot' undeclared (first use this function)
SplashFTFont.cc:148: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:151: error: `gid' undeclared (first use this function)
SplashFTFont.cc:151: error: expected `;' before "ff"
SplashFTFont.cc:153: error: expected `;' before "c"
SplashFTFont.cc:167: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:168: error: `FT_LOAD_NO_HINTING' undeclared (first use
this function)
SplashFTFont.cc:169: error: `FT_LOAD_NO_BITMAP' undeclared (first use
this function)
SplashFTFont.cc:169: error: `FT_LOAD_DEFAULT' undeclared (first use
this function)
SplashFTFont.cc:169: error: `FT_Load_Glyph' undeclared (first use this function)
SplashFTFont.cc:174: error: `ft_render_mode_normal' undeclared (first
use this function)
SplashFTFont.cc:174: error: `ft_render_mode_mono' undeclared (first
use this function)
SplashFTFont.cc:174: error: `FT_Render_Glyph' undeclared (first use
this function)
SplashFTFont.cc:193: error: `memcpy' undeclared (first use this function)
SplashFTFont.cc: In member function `virtual SplashPath*
SplashFTFont::getGlyphPath(int)':
SplashFTFont.cc:200: error: `FT_Outline_Funcs' does not name a type
SplashFTFont.cc:209: error: `FT_GlyphSlot' undeclared (first use this function)
SplashFTFont.cc:209: error: expected `;' before "slot"
SplashFTFont.cc:210: error: `FT_UInt' undeclared (first use this function)
SplashFTFont.cc:210: error: expected `;' before "gid"
SplashFTFont.cc:211: error: `FT_Glyph' undeclared (first use this function)
SplashFTFont.cc:211: error: expected `;' before "glyph"
SplashFTFont.cc:214: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:214: error: `sizeObj' undeclared (first use this function)
SplashFTFont.cc:215: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:215: error: `matrix' undeclared (first use this function)
SplashFTFont.cc:215: error: `FT_Set_Transform' undeclared (first use
this function)
SplashFTFont.cc:216: error: `slot' undeclared (first use this function)
SplashFTFont.cc:216: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:218: error: `gid' undeclared (first use this function)
SplashFTFont.cc:220: error: expected `;' before "c"
SplashFTFont.cc:222: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:222: error: `FT_LOAD_DEFAULT' undeclared (first use
this function)
SplashFTFont.cc:222: error: `FT_Load_Glyph' undeclared (first use this function)
SplashFTFont.cc:225: error: `glyph' undeclared (first use this function)
SplashFTFont.cc:225: error: `FT_Get_Glyph' undeclared (first use this function)
SplashFTFont.cc:228: error: `FT_GLYPH_FORMAT_OUTLINE' undeclared
(first use this function)
SplashFTFont.cc:232: error: `FT_OutlineGlyph' undeclared (first use
this function)
SplashFTFont.cc:232: error: expected `)' before "glyph"
SplashFTFont.cc: At global scope:
SplashFTFont.cc:237: error: redefinition of `int glyphPathMoveTo'
SplashFTFont.cc:27: error: `int glyphPathMoveTo' previously defined here
SplashFTFont.cc:237: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:237: error: `pt' was not declared in this scope
SplashFTFont.cc:237: error: expected primary-expression before "void"
SplashFTFont.cc:237: error: expected `,' or `;' before '{' token
SplashFTFont.cc:242: error: redefinition of `int glyphPathLineTo'
SplashFTFont.cc:28: error: `int glyphPathLineTo' previously defined here
SplashFTFont.cc:242: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:242: error: `pt' was not declared in this scope
SplashFTFont.cc:242: error: expected primary-expression before "void"
SplashFTFont.cc:242: error: expected `,' or `;' before '{' token
SplashFTFont.cc:247: error: redefinition of `int glyphPathConicTo'
SplashFTFont.cc:29: error: `int glyphPathConicTo' previously defined here
SplashFTFont.cc:247: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:247: error: `ctrl' was not declared in this scope
SplashFTFont.cc:247: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:247: error: `pt' was not declared in this scope
SplashFTFonx86_64-pc-linux-gnu-g++ -O2 -march=k8 -pipe -DHAVE_CONFIG_H
-I.. -I./../goo -I./../fofi -I. -c SplashFTFont.cc
SplashFTFont.cc:15:30: freetype/ftoutln.h: No such file or directory
SplashFTFont.cc:16:69: freetype/internal/ftobjs.h: No such file or directory
In file included from SplashFTFont.cc:21:
SplashFTFontEngine.h:48: error: `FT_Library' has not been declared
SplashFTFontEngine.h:48: error: ISO C++ forbids declaration of `libA'
with no type
SplashFTFontEngine.h:51: error: `FT_Library' does not name a type
In file included from SplashFTFont.cc:22:
SplashFTFontFile.h:56: error: `FT_Face' has not been declared
SplashFTFontFile.h:57: error: ISO C++ forbids declaration of `faceA'
with no type
SplashFTFontFile.h:60: error: `FT_Face' does not name a type
In file included from SplashFTFont.cc:23:
SplashFTFont.h:48: error: `FT_Size' does not name a type
SplashFTFont.h:49: error: `FT_Matrix' does not name a type
SplashFTFont.cc:27: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:27: error: `pt' was not declared in this scope
SplashFTFont.cc:27: error: expected primary-expression before "void"
SplashFTFont.cc:27: error: initializer expression list treated as
compound expression
SplashFTFont.cc:28: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:28: error: `pt' was not declared in this scope
SplashFTFont.cc:28: error: expected primary-expression before "void"
SplashFTFont.cc:28: error: initializer expression list treated as
compound expression
SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:29: error: `ctrl' was not declared in this scope
SplashFTFont.cc:29: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:29: error: `pt' was not declared in this scope
SplashFTFont.cc:29: error: expected primary-expression before "void"
SplashFTFont.cc:29: error: initializer expression list treated as
compound expression
SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:30: error: `ctrl1' was not declared in this scope
SplashFTFont.cc:30: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:30: error: `ctrl2' was not declared in this scope
SplashFTFont.cc:31: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:31: error: `pt' was not declared in this scope
SplashFTFont.cc:31: error: expected primary-expression before "void"
SplashFTFont.cc:31: error: initializer expression list treated as
compound expression
SplashFTFont.cc: In constructor
`SplashFTFont::SplashFTFont(SplashFTFontFile*, SplashCoord*)':
SplashFTFont.cc:40: error: `FT_Face' undeclared (first use this function)
SplashFTFont.cc:40: error: (Each undeclared identifier is reported
only once for each function it appears in.)
SplashFTFont.cc:40: error: expected `;' before "face"
SplashFTFont.cc:44: error: `face' undeclared (first use this function)
SplashFTFont.cc:44: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:45: error: `sizeObj' undeclared (first use this function)
SplashFTFont.cc:45: error: `FT_New_Size' undeclared (first use this function)
SplashFTFont.cc:50: error: `FT_Set_Pixel_Sizes' undeclared (first use
this function)
SplashFTFont.cc:118: error: `matrix' undeclared (first use this function)
SplashFTFont.cc:118: error: `FT_Fixed' undeclared (first use this function)
SplashFTFont.cc: In member function `virtual GBool
SplashFTFont::makeGlyph(int, int, int, SplashGlyphBitmap*)':
SplashFTFont.cc:135: error: `FT_Vector' undeclared (first use this function)
SplashFTFont.cc:135: error: expected `;' before "offset"
SplashFTFont.cc:136: error: `FT_GlyphSlot' undeclared (first use this function)
SplashFTFont.cc:136: error: expected `;' before "slot"
SplashFTFont.cc:137: error: `FT_UInt' undeclared (first use this function)
SplashFTFont.cc:137: error: expected `;' before "gid"
SplashFTFont.cc:144: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:144: error: `sizeObj' undeclared (first use this function)
SplashFTFont.cc:145: error: `offset' undeclared (first use this function)
SplashFTFont.cc:145: error: `FT_Pos' undeclared (first use this function)
SplashFTFont.cc:147: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:147: error: `matrix' undeclared (first use this function)
SplashFTFont.cc:147: error: `FT_Set_Transform' undeclared (first use
this function)
SplashFTFont.cc:148: error: `slot' undeclared (first use this function)
SplashFTFont.cc:148: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:151: error: `gid' undeclared (first use this function)
SplashFTFont.cc:151: error: expected `;' before "ff"
SplashFTFont.cc:153: error: expected `;' before "c"
SplashFTFont.cc:167: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:168: error: `FT_LOAD_NO_HINTING' undeclared (first use
this function)
SplashFTFont.cc:169: error: `FT_LOAD_NO_BITMAP' undeclared (first use
this function)
SplashFTFont.cc:169: error: `FT_LOAD_DEFAULT' undeclared (first use
this function)
SplashFTFont.cc:169: error: `FT_Load_Glyph' undeclared (first use this function)
SplashFTFont.cc:174: error: `ft_render_mode_normal' undeclared (first
use this function)
SplashFTFont.cc:174: error: `ft_render_mode_mono' undeclared (first
use this function)
SplashFTFont.cc:174: error: `FT_Render_Glyph' undeclared (first use
this function)
SplashFTFont.cc:193: error: `memcpy' undeclared (first use this function)
SplashFTFont.cc: In member function `virtual SplashPath*
SplashFTFont::getGlyphPath(int)':
SplashFTFont.cc:200: error: `FT_Outline_Funcs' does not name a type
SplashFTFont.cc:209: error: `FT_GlyphSlot' undeclared (first use this function)
SplashFTFont.cc:209: error: expected `;' before "slot"
SplashFTFont.cc:210: error: `FT_UInt' undeclared (first use this function)
SplashFTFont.cc:210: error: expected `;' before "gid"
SplashFTFont.cc:211: error: `FT_Glyph' undeclared (first use this function)
SplashFTFont.cc:211: error: expected `;' before "glyph"
SplashFTFont.cc:214: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:214: error: `sizeObj' undeclared (first use this function)
SplashFTFont.cc:215: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:215: error: `matrix' undeclared (first use this function)
SplashFTFont.cc:215: error: `FT_Set_Transform' undeclared (first use
this function)
SplashFTFont.cc:216: error: `slot' undeclared (first use this function)
SplashFTFont.cc:216: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:218: error: `gid' undeclared (first use this function)
SplashFTFont.cc:220: error: expected `;' before "c"
SplashFTFont.cc:222: error: 'class SplashFTFontFile' has no member named 'face'
SplashFTFont.cc:222: error: `FT_LOAD_DEFAULT' undeclared (first use
this function)
SplashFTFont.cc:222: error: `FT_Load_Glyph' undeclared (first use this function)
SplashFTFont.cc:225: error: `glyph' undeclared (first use this function)
SplashFTFont.cc:225: error: `FT_Get_Glyph' undeclared (first use this function)
SplashFTFont.cc:228: error: `FT_GLYPH_FORMAT_OUTLINE' undeclared
(first use this function)
SplashFTFont.cc:232: error: `FT_OutlineGlyph' undeclared (first use
this function)
SplashFTFont.cc:232: error: expected `)' before "glyph"
SplashFTFont.cc: At global scope:
SplashFTFont.cc:237: error: redefinition of `int glyphPathMoveTo'
SplashFTFont.cc:27: error: `int glyphPathMoveTo' previously defined here
SplashFTFont.cc:237: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:237: error: `pt' was not declared in this scope
SplashFTFont.cc:237: error: expected primary-expression before "void"
SplashFTFont.cc:237: error: expected `,' or `;' before '{' token
SplashFTFont.cc:242: error: redefinition of `int glyphPathLineTo'
SplashFTFont.cc:28: error: `int glyphPathLineTo' previously defined here
SplashFTFont.cc:242: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:242: error: `pt' was not declared in this scope
SplashFTFont.cc:242: error: expected primary-expression before "void"
SplashFTFont.cc:242: error: expected `,' or `;' before '{' token
SplashFTFont.cc:247: error: redefinition of `int glyphPathConicTo'
SplashFTFont.cc:29: error: `int glyphPathConicTo' previously defined here
SplashFTFont.cc:247: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:247: error: `ctrl' was not declared in this scope
SplashFTFont.cc:247: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:247: error: `pt' was not declared in this scope
SplashFTFont.cc:247: error: expected primary-expression before "void"
SplashFTFont.cc:247: error: expected `,' or `;' before '{' token
SplashFTFont.cc:283: error: redefinition of `int glyphPathCubicTo'
SplashFTFont.cc:30: error: `int glyphPathCubicTo' previously defined here
SplashFTFont.cc:283: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:283: error: `ctrl1' was not declared in this scope
SplashFTFont.cc:283: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:283: error: `ctrl2' was not declared in this scope
SplashFTFont.cc:284: error: `FT_Vector' was not declared in this scope
SplashFTFont.cc:284: error: `pt' was not declared in this scope
SplashFTFont.cc:284: error: expected primary-expression before "void"
SplashFTFont.cc:284: error: expected `,' or `;' before '{' token
make[1]: *** [SplashFTFont.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/xpdf-3.00-r10/work/xpdf-3.00/splash'
make: *** [all] Error 2
!!! ERROR: app-text/xpdf-3.00-r10 failed.
!!! Function src_compile, Line 80, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
-------------------------------------------------------------------------------------------------
I did an emerge -S splashftfont and found nothing. And I did a find
on my system with the same result.
Thanks,
--
Pete Pardoe
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-amd64] xpdf & SplashFTFont
2005-08-23 16:57 [gentoo-amd64] xpdf & SplashFTFont Pete Pardoe
@ 2005-08-23 17:36 ` Olivier Crete
2005-08-23 18:33 ` [gentoo-amd64] " Duncan
1 sibling, 0 replies; 3+ messages in thread
From: Olivier Crete @ 2005-08-23 17:36 UTC (permalink / raw
To: gentoo-amd64
On Tue, 2005-23-08 at 13:57 -0300, Pete Pardoe wrote:
> I get the following errors when I try to emerge xpdf - any insight
> would be greatly appreciated.
I think this can be fixed if you use USE=motif or USE=-motif ..
--
Olivier Crête
tester@gentoo.org
Gentoo Developer
x86 Security Liaison
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-amd64] Re: xpdf & SplashFTFont
2005-08-23 16:57 [gentoo-amd64] xpdf & SplashFTFont Pete Pardoe
2005-08-23 17:36 ` Olivier Crete
@ 2005-08-23 18:33 ` Duncan
1 sibling, 0 replies; 3+ messages in thread
From: Duncan @ 2005-08-23 18:33 UTC (permalink / raw
To: gentoo-amd64
Pete Pardoe posted <6c6bf172050823095740760c0d@mail.gmail.com>, excerpted
below, on Tue, 23 Aug 2005 13:57:19 -0300:
> I get the following errors when I try to emerge xpdf - any insight
> would be greatly appreciated.
> ------------------------------------------------------------------
>
> x86_64-pc-linux-gnu-g++ -O2 -march=k8 -pipe -DHAVE_CONFIG_H -I..
> -I./../goo -I./../fofi -I. -c SplashFTFont.cc
> SplashFTFont.cc:15:30: freetype/ftoutln.h: No such file or directory
> SplashFTFont.cc:16:69: freetype/internal/ftobjs.h: No such file or directory
> In file included from SplashFTFont.cc:21:
> SplashFTFontEngine.h:48: error: `FT_Library' has not been declared
> SplashFTFontEngine.h:48: error: ISO C++ forbids declaration of `libA'
> with no type
> SplashFTFontEngine.h:51: error: `FT_Library' does not name a type
> In file included from SplashFTFont.cc:22:
> SplashFTFontFile.h:56: error: `FT_Face' has not been declared
> SplashFTFontFile.h:57: error: ISO C++ forbids declaration of `faceA'
> with no type
> SplashFTFontFile.h:60: error: `FT_Face' does not name a type
> In file included from SplashFTFont.cc:23:
> SplashFTFont.h:48: error: `FT_Size' does not name a type
> SplashFTFont.h:49: error: `FT_Matrix' does not name a type
> SplashFTFont.cc:27: error: `FT_Vector' was not declared in this scope
> SplashFTFont.cc:27: error: `pt' was not declared in this scope
> SplashFTFont.cc:27: error: expected primary-expression before "void"
> SplashFTFont.cc:27: error: initializer expression list treated as
> compound expression
[major snip]
> make[1]: Leaving directory
> `/var/tmp/portage/xpdf-3.00-r10/work/xpdf-3.00/splash'
> ----------------------------------------------------------------------
> I did an emerge -S splashftfont and found nothing. And I did a find
> on my system with the same result.
You are misunderstanding the errors. The x86_64...g++ line at the top
says what's being compiled, the source file SplashFTFont.cc. Immediately
below that, we have the errors starting. They list the file, the line
number in the file where the error occurred, and sometimes (as at the
top), the approximate column in the line.
*.cc files are C++ source files. *.h files are the headers, defining
variable and procedure call formats and the like. Thus, it's saying that
the source file specifies (giving the line where they are specified)
certain header files it can't find, in this case, header files having to
do with freetype. With the definitions from those header files missing,
all the bad type and not declared type errors aren't a mystery, because
they'd presumably be declared in the missing header files.
Then, down at the bottom, the "Leaving directory" line tells you which
specific temporary package working sub-directory it was in, when the
errors happened. That way, if you want to go take a look at the mentioned
file and find the line that had the problem, you can. Sometimes that
helps, altho it's not likely to be that much help here, because the
problem is obvious -- it can't find the header files it needs.
So... it's not a font that's missing, tho I can see how you might think
that if you didn't understand the way the error messages "talk", but
rather, either a missing freetype, or you have it installed, but the make
file (and therefore the ebuild, which should set it up) isn't configured
to point to the right spot.
Here's what I have here for the one missing header file:
$ equery belongs ftoutln.h
[ Searching for file(s) ftoutln.h in *... ]
media-libs/freetype-2.1.10 (/usr/include/freetype2/freetype/ftoutln.h)
That tells you what package it's in, and where it's located in the
directory tree. See if that package (that or a different version, not
that I'm on ~amd64, here, so your version may be older) is merged, and if
that header file exists at that location. If you don't have the freetype
package merged, the bug is likely a missing dependency or the like,
probably in xpdf. If the package is merged but the file doesn't exist, use
equery files freetype (grepping the output if needed), to see if the file
was in the package at all -- the bug may be in your freetype package if
not. If the file exists and simply isn't being detected, the bug is again
probably in your xpdf package, this time, probably either due to a missing
or incorrect path parameter telling the compile where to find the headers
it needs, or to some sort of screwed up logic with USE flags or something,
so it's trying to compile in support for something (the truetype USE
flag, maybe?) that should be turned off.
FWIW, you already know what freetype I have merged here, from the above
equery output. My successfully merged xpdf is xpdf-3.00-r10.
The problem could also be a bit more obscure -- something like a bad
binutils or the like. Note that here, in addition to running all ~arch,
I'm also running gcc-4.0.1, with related binutils and glibc snapshots,
all still hard-masked, AFAIK. Thus, if it's some obscure toolchain bug
that happens to be fixed in the newest masked versions, I may not see it.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-23 18:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23 16:57 [gentoo-amd64] xpdf & SplashFTFont Pete Pardoe
2005-08-23 17:36 ` Olivier Crete
2005-08-23 18:33 ` [gentoo-amd64] " Duncan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox