bugGNUstep - Bugs: bug #3457, the xlib backend fails to compile...

Group
 
 

bug #3457: the xlib backend fails to compile in 0.8.5 (freetype related)

Submitter:  None
Submitted:  Sun 04 May 2003 09:53:40 PM UTC
   
 
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Wont Fix
Privacy:  Public Assigned to:  fedor
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 06 May 2003 01:53:13 AM UTC, comment #1: 

This is really an X11 problem, since it is an X11 header including the wrong file.  I think you either need to upgrade X11 to a version that uses freetype 2 or install freetype1 as well.

Adam Fedor <fedor>
Group administrator
Sun 04 May 2003 09:53:40 PM UTC, original submission:  

When compiling the xlib backend i noticed that the freetype1 headers were being used instead of the freetype2 headers. On my system, the freetype2 headers are in freetype2/freetype and not freetype. I guess a quick fix for this would be to have configure check for this directory and add it to the include path?

-Aphelion-

Here is the error produced:


Making all for subproject xlib...
 Compiling file XGContext.m ...
In file included from ../../Headers/xlib/GSXftFontInfo.h:32,
                 from XGContext.m:47:
/usr/X11R6/include/X11/Xft/Xft.h:35:31: warning: freetype/freetype.h: No such file or directory
In file included from ../../Headers/xlib/GSXftFontInfo.h:32,
                 from XGContext.m:47:
/usr/X11R6/include/X11/Xft/Xft.h:52: parse error before "_XftFTlibrary"
/usr/X11R6/include/X11/Xft/Xft.h:52: warning: type defaults to `int' in declaration of `_XftFTlibrary'
/usr/X11R6/include/X11/Xft/Xft.h:52: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:86: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:86: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:89: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:89: warning: type defaults to `int' in declaration of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:89: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:93: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:93: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xft/Xft.h:96: parse error before '}' token
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: type defaults to `int' in declaration of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:96: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:190: warning: type defaults to `int' in declaration of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:190: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:256: warning: type defaults to `int' in declaration of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:256: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:262: warning: type defaults to `int' in declaration of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:262: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:295: warning: type defaults to `int' in declaration of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:295: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:354: parse error before "XftLockFace"
/usr/X11R6/include/X11/Xft/Xft.h:354: warning: type defaults to `int' in declaration of `XftLockFace'
/usr/X11R6/include/X11/Xft/Xft.h:354: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:393: warning: type defaults to `int' in declaration of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:393: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:399: warning: type defaults to `int' in declaration of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:399: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:408: parse error before "FT_UInt"
/usr/X11R6/include/X11/Xft/Xft.h:418: parse error before "XftCharIndex"
/usr/X11R6/include/X11/Xft/Xft.h:420: warning: type defaults to `int' in declaration of `XftCharIndex'
/usr/X11R6/include/X11/Xft/Xft.h:420: warning: data definition has no type or storage class
/usr/X11R6/include/X11/Xft/Xft.h:461: warning: type defaults to `int' in declaration of `FT_UInt'
/usr/X11R6/include/X11/Xft/Xft.h:461: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:472: warning: type defaults to `int' in declaration of `XftGlyphSpec'
/usr/X11R6/include/X11/Xft/Xft.h:472: parse error before '*' token
/usr/X11R6/include/X11/Xft/Xft.h:493: warning: type defaults to `int' in declaration of `XftGlyphFontSpec'
/usr/X11R6/include/X11/Xft/Xft.h:493: parse error before '*' token
make[3]: * [shared_obj/ix86/linux-gnu/gnu-gnu-gnu/XGContext.o] Error 1
make[2]: * [xlib.all.subproject.variables] Error 2
make[2]: Leaving directory `/root/gnustep-back-0.8.5/Source/xlib'
make[1]: * [libgnustep-back.all.bundle.variables] Error 2
make[1]: Leaving directory `/root/gnustep-back-0.8.5/Source'
make: * [internal-all] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-05-22 FredKiefer StatusNone Wont Fix
    Open/ClosedDeclined Closed
2003-05-06 fedor Assigned toNone None
    Open/ClosedOpen None

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code