Christian Ebert wrote:
> Hello,
>
> Xpdf fails to compile here, dying like so:
>
>
> [...]
> cd splash; make
> g++ -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  
> -I/usr/X11R6/include/freetype2 -I/sw/include -c Splash.cc
> g++ -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  
> -I/usr/X11R6/include/freetype2 -I/sw/include -c SplashBitmap.cc
> g++ -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  
> -I/usr/X11R6/include/freetype2 -I/sw/include -c SplashClip.cc
> g++ -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I.  
> -I/usr/X11R6/include/freetype2 -I/sw/include -c SplashFTFont.cc
> SplashFTFont.cc:15:22: error: ft2build.h: No such file or directory
> SplashFTFont.cc:16:10: error: #include expects "FILENAME" or <FILENAME>
> SplashFTFont.cc:17:10: error: #include expects "FILENAME" or <FILENAME>
> SplashFTFont.cc:18:10: error: #include expects "FILENAME" or <FILENAME>
> In file included from SplashFTFont.cc:23:
> SplashFTFontEngine.h:19:10: error: #include expects "FILENAME" or <FILENAME>
> In file included from SplashFTFont.cc:24:
> SplashFTFontFile.h:19:10: error: #include expects "FILENAME" or <FILENAME>
> In file included from SplashFTFont.cc:25:
> SplashFTFont.h:19:10: error: #include expects "FILENAME" or <FILENAME>
> SplashFTFontEngine.h:53: error: 'FT_Library' has not been declared
> SplashFTFontEngine.h:56: error: 'FT_Library' does not name a type
> SplashFTFontFile.h:58: error: 'FT_Face' has not been declared
> SplashFTFontFile.h:63: error: 'FT_Face' does not name a type
> SplashFTFont.h:50: error: 'FT_Size' does not name a type
> SplashFTFont.h:51: error: 'FT_Matrix' does not name a type
> SplashFTFont.h:52: error: 'FT_Matrix' does not name a type
> SplashFTFont.cc:29: error: expected ',' or '...' before '*' token
> SplashFTFont.cc:29: error: ISO C++ forbids declaration of 'FT_Vector' with no 
> type
> SplashFTFont.cc:30: error: expected ',' or '...' before '*' token
> SplashFTFont.cc:30: error: ISO C++ forbids declaration of 'FT_Vector' with no 
> type
> SplashFTFont.cc:31: error: expected ',' or '...' before '*' token
> SplashFTFont.cc:32: error: ISO C++ forbids declaration of 'FT_Vector' with no 
> type
> SplashFTFont.cc:33: error: expected ',' or '...' before '*' token
> SplashFTFont.cc:34: error: ISO C++ forbids declaration of 'FT_Vector' with no 
> type
> SplashFTFont.cc: In constructor 
> 'SplashFTFont::SplashFTFont(SplashFTFontFile*, SplashCoord*, SplashCoord*)':
> SplashFTFont.cc:44: error: 'FT_Face' was not declared in this scope
> SplashFTFont.cc:44: error: expected `;' before 'face'
> SplashFTFont.cc:48: error: 'face' was not declared in this scope
> SplashFTFont.cc:48: error: 'class SplashFTFontFile' has no member named 'face'
> SplashFTFont.cc:49: error: 'sizeObj' was not declared in this scope
> SplashFTFont.cc:49: error: 'FT_New_Size' was not declared in this scope
> SplashFTFont.cc:52: error: 'sizeObj' was not declared in this scope
> SplashFTFont.cc:54: error: 'FT_Set_Pixel_Sizes' was not declared in this scope
> SplashFTFont.cc:135: error: 'matrix' was not declared in this scope
> SplashFTFont.cc:135: error: 'FT_Fixed' was not declared in this scope
> SplashFTFont.cc:139: error: 'textMatrix' was not declared in this scope
> SplashFTFont.cc: In member function 'virtual GBool 
> SplashFTFont::makeGlyph(int, int, int, SplashGlyphBitmap*)':
> SplashFTFont.cc:157: error: 'FT_Vector' was not declared in this scope
> SplashFTFont.cc:157: error: expected `;' before 'offset'
> SplashFTFont.cc:158: error: 'FT_GlyphSlot' was not declared in this scope
> SplashFTFont.cc:158: error: expected `;' before 'slot'
> SplashFTFont.cc:159: error: 'FT_UInt' was not declared in this scope
> SplashFTFont.cc:159: error: expected `;' before 'gid'
> SplashFTFont.cc:166: error: 'class SplashFTFontFile' has no member named 
> 'face'
> SplashFTFont.cc:166: error: 'sizeObj' was not declared in this scope
> SplashFTFont.cc:167: error: 'offset' was not declared in this scope
> SplashFTFont.cc:167: error: 'FT_Pos' was not declared in this scope
> SplashFTFont.cc:167: error: expected primary-expression before 'int'
> SplashFTFont.cc:169: error: 'class SplashFTFontFile' has no member named 
> 'face'
> SplashFTFont.cc:169: error: 'matrix' was not declared in this scope
> SplashFTFont.cc:169: error: 'FT_Set_Transform' was not declared in this scope
> SplashFTFont.cc:170: error: 'slot' was not declared in this scope
> SplashFTFont.cc:170: error: 'class SplashFTFontFile' has no member named 
> 'face'
> SplashFTFont.cc:173: error: 'gid' was not declared in this scope
> SplashFTFont.cc:173: error: expected `;' before 'ff'
> SplashFTFont.cc:175: error: 'gid' was not declared in this scope
> SplashFTFont.cc:175: error: expected `;' before 'c'
> SplashFTFont.cc:177: error: 'gid' was not declared in this scope
> SplashFTFont.cc:193: error: 'class SplashFTFontFile' has no member named 
> 'face'
> SplashFTFont.cc:193: error: 'gid' was not declared in this scope
> SplashFTFont.cc:194: error: 'FT_LOAD_NO_HINTING' was not declared in this 
> scope
> SplashFTFont.cc:194: error: 'FT_LOAD_NO_BITMAP' was not declared in this scope
> SplashFTFont.cc:195: error: 'FT_LOAD_DEFAULT' was not declared in this scope
> SplashFTFont.cc:195: error: 'FT_Load_Glyph' was not declared in this scope
> SplashFTFont.cc:199: error: 'ft_render_mode_normal' was not declared in this 
> scope
> SplashFTFont.cc:200: error: 'ft_render_mode_mono' was not declared in this 
> scope
> SplashFTFont.cc:200: error: 'FT_Render_Glyph' was not declared in this scope
> SplashFTFont.cc:219: error: 'memcpy' was not declared in this scope
> SplashFTFont.cc: In member function 'virtual SplashPath* 
> SplashFTFont::getGlyphPath(int)':
> SplashFTFont.cc:232: error: 'FT_Outline_Funcs' does not name a type
> SplashFTFont.cc:248: error: 'FT_GlyphSlot' was not declared in this scope
> SplashFTFont.cc:248: error: expected `;' before 'slot'
> SplashFTFont.cc:249: error: 'FT_UInt' was not declared in this scope
> SplashFTFont.cc:249: error: expected `;' before 'gid'
> SplashFTFont.cc:250: error: 'FT_Glyph' was not declared in this scope
> SplashFTFont.cc:250: error: expected `;' before 'glyph'
> SplashFTFont.cc:253: error: 'class SplashFTFontFile' has no member named 
> 'face'
> SplashFTFont.cc:253: error: 'sizeObj' was not declared in this scope
> SplashFTFont.cc:254: error: 'class SplashFTFontFile' has no member named 
> 'face'
> SplashFTFont.cc:254: error: 'textMatrix' was not declared in this scope
> SplashFTFont.cc:254: error: 'FT_Set_Transform' was not declared in this scope
> SplashFTFont.cc:255: error: 'slot' was not declared in this scope
> SplashFTFont.cc:255: error: 'class SplashFTFontFile' has no member named 
> 'face'
> SplashFTFont.cc:257: error: 'gid' was not declared in this scope
> SplashFTFont.cc:259: error: 'gid' was not declared in this scope
> SplashFTFont.cc:259: error: expected `;' before 'c'
> SplashFTFont.cc:261: error: 'gid' was not declared in this scope
> SplashFTFont.cc:265: error: 'class SplashFTFontFile' has no member named 
> 'face'
> SplashFTFont.cc:265: error: 'gid' was not declared in this scope
> SplashFTFont.cc:265: error: 'FT_LOAD_NO_BITMAP' was not declared in this scope
> SplashFTFont.cc:265: error: 'FT_Load_Glyph' was not declared in this scope
> SplashFTFont.cc:268: error: 'glyph' was not declared in this scope
> SplashFTFont.cc:268: error: 'FT_Get_Glyph' was not declared in this scope
> SplashFTFont.cc:274: error: 'FT_OutlineGlyph' was not declared in this scope
> SplashFTFont.cc:274: error: expected `)' before 'glyph'
> SplashFTFont.cc:279: error: 'glyph' was not declared in this scope
> SplashFTFont.cc:279: error: 'FT_Done_Glyph' was not declared in this scope
> SplashFTFont.cc: At global scope:
> SplashFTFont.cc:283: error: expected ',' or '...' before '*' token
> SplashFTFont.cc:283: error: ISO C++ forbids declaration of 'FT_Vector' with 
> no type
> SplashFTFont.cc: In function 'int glyphPathMoveTo(int)':
> SplashFTFont.cc:284: error: 'path' was not declared in this scope
> SplashFTFont.cc:290: error: 'pt' was not declared in this scope
> SplashFTFont.cc: At global scope:
> SplashFTFont.cc:295: error: expected ',' or '...' before '*' token
> SplashFTFont.cc:295: error: ISO C++ forbids declaration of 'FT_Vector' with 
> no type
> SplashFTFont.cc: In function 'int glyphPathLineTo(int)':
> SplashFTFont.cc:296: error: 'path' was not declared in this scope
> SplashFTFont.cc:298: error: 'pt' was not declared in this scope
> SplashFTFont.cc: At global scope:
> SplashFTFont.cc:304: error: expected ',' or '...' before '*' token
> SplashFTFont.cc:305: error: ISO C++ forbids declaration of 'FT_Vector' with 
> no type
> SplashFTFont.cc: In function 'int glyphPathConicTo(int)':
> SplashFTFont.cc:306: error: 'path' was not declared in this scope
> SplashFTFont.cc:312: error: 'ctrl' was not declared in this scope
> SplashFTFont.cc:314: error: 'pt' was not declared in this scope
> SplashFTFont.cc: At global scope:
> SplashFTFont.cc:343: error: expected ',' or '...' before '*' token
> SplashFTFont.cc:344: error: ISO C++ forbids declaration of 'FT_Vector' with 
> no type
> SplashFTFont.cc: In function 'int glyphPathCubicTo(int)':
> SplashFTFont.cc:345: error: 'path' was not declared in this scope
> SplashFTFont.cc:347: error: 'ctrl1' was not declared in this scope
> SplashFTFont.cc:349: error: 'ctrl2' was not declared in this scope
> SplashFTFont.cc:351: error: 'pt' was not declared in this scope
> make[1]: *** [SplashFTFont.o] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-xpdf-3.02-1001
> (Reading database ... 28621 files and directories currently installed.)
> Removing fink-buildlock-xpdf-3.02-1001 ...
> Failed: phase compiling: xpdf-3.02-1001 failed
>
>
> Looks like the patch is still missing something to really include
> the freetype headers (ftbuild.h).
>
> c
>   
This was reported on -devel earlier, and the package has been updated.  
Give that a try.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to