LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 532|回复: 2

安装pango-1.6.0时出错

[复制链接]
发表于 2004-11-3 19:23:19 | 显示全部楼层 |阅读模式
./configure --prefix=/usr/local
完成后
make
出现错误
ftxgdef.h:203: warning: data definition has no type or storage class
ftxgdef.h:206: parse error before "TT_GDEF_Get_Glyph_Property"
ftxgdef.h:207: parse error before "FT_UShort"
ftxgdef.h:208: warning: type defaults to `int' in declaration of `TT_GDEF_Get_Glyph_Property'
ftxgdef.h:208: warning: data definition has no type or storage class
ftxgdef.h:210: parse error before "TT_GDEF_Build_ClassDefinition"
ftxgdef.h:211: parse error before "FT_UShort"
ftxgdef.h:214: warning: type defaults to `int' in declaration of `TT_GDEF_Build_ClassDefinition'
ftxgdef.h:214: warning: data definition has no type or storage class
In file included from ftxopen.h:287,
                 from ftxopen.c:18:
ftxgsub.h:56: parse error before '*' token
ftxgsub.h:56: parse error before "pos"
ftxgsub.h:60: warning: type defaults to `int' in declaration of `FT_UShort'
ftxgsub.h:60: `FT_UShort' declared as function returning a function
ftxgsub.h:65: parse error before "FT_Memory"
ftxgsub.h:65: warning: no semicolon at end of struct or union
ftxgsub.h:67: warning: type defaults to `int' in declaration of `offset'
ftxgsub.h:67: warning: data definition has no type or storage class
ftxgsub.h:69: parse error before "Version"
ftxgsub.h:69: warning: type defaults to `int' in declaration of `Version'
ftxgsub.h:69: warning: data definition has no type or storage class
ftxgsub.h:80: parse error before "altfunc"
ftxgsub.h:80: warning: type defaults to `int' in declaration of `altfunc'
ftxgsub.h:80: warning: data definition has no type or storage class
ftxgsub.h:81: conflicting types for `data'
/usr/include/freetype2/freetype/freetype.h:1635: previous declaration of `data'
ftxgsub.h:82: parse error before '}' token
ftxgsub.h:92: parse error before "FT_Short"
ftxgsub.h:92: warning: no semicolon at end of struct or union
ftxgsub.h:101: field `GlyphCount' declared as a function
ftxgsub.h:111: field `SubstFormat' declared as a function
ftxgsub.h:112: field `Coverage' has incomplete type
ftxgsub.h:116: field `ssf1' has incomplete type
ftxgsub.h:119: confused by earlier errors, bailing out
make[4]: *** [ftxopen.lo] 错误 1
make[4]: Leaving directory `/home/software/gtk/pango-1.6.0/pango/opentype'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/software/gtk/pango-1.6.0/pango'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/home/software/gtk/pango-1.6.0/pango'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/software/gtk/pango-1.6.0'
make: *** [all] 错误 2

什么 问题
发表于 2004-11-3 22:12:37 | 显示全部楼层
缺少开发包,估计是glib-devel或者gtk-devel
 楼主| 发表于 2004-11-5 15:46:55 | 显示全部楼层
我又装了glib-devel与gtk-devel不过还是一样出错
我本来是想装gtk的,没想到那么麻烦
装pango时make错误如下
...
...
ftxgdef.h:203: warning: data definition has no type or storage class
ftxgdef.h:206: parse error before "TT_GDEF_Get_Glyph_Property"
ftxgdef.h:207: parse error before "FT_UShort"
ftxgdef.h:208: warning: type defaults to `int' in declaration of `TT_GDEF_Get_Glyph_Property'
ftxgdef.h:208: warning: data definition has no type or storage class
ftxgdef.h:210: parse error before "TT_GDEF_Build_ClassDefinition"
ftxgdef.h:211: parse error before "FT_UShort"
ftxgdef.h:214: warning: type defaults to `int' in declaration of `TT_GDEF_Build_ClassDefinition'
ftxgdef.h:214: warning: data definition has no type or storage class
In file included from ftxopen.h:287,
                 from ftxopen.c:18:
ftxgsub.h:56: parse error before '*' token
ftxgsub.h:56: parse error before "pos"
ftxgsub.h:60: warning: type defaults to `int' in declaration of `FT_UShort'
ftxgsub.h:60: `FT_UShort' declared as function returning a function
ftxgsub.h:65: parse error before "FT_Memory"
ftxgsub.h:65: warning: no semicolon at end of struct or union
ftxgsub.h:67: warning: type defaults to `int' in declaration of `offset'
ftxgsub.h:67: warning: data definition has no type or storage class
ftxgsub.h:69: parse error before "Version"
ftxgsub.h:69: warning: type defaults to `int' in declaration of `Version'
ftxgsub.h:69: warning: data definition has no type or storage class
ftxgsub.h:80: parse error before "altfunc"
ftxgsub.h:80: warning: type defaults to `int' in declaration of `altfunc'
ftxgsub.h:80: warning: data definition has no type or storage class
ftxgsub.h:81: conflicting types for `data'
/usr/include/freetype2/freetype/freetype.h:1635: previous declaration of `data'
ftxgsub.h:82: parse error before '}' token
ftxgsub.h:92: parse error before "FT_Short"
ftxgsub.h:92: warning: no semicolon at end of struct or union
ftxgsub.h:101: field `GlyphCount' declared as a function
ftxgsub.h:111: field `SubstFormat' declared as a function
ftxgsub.h:112: field `Coverage' has incomplete type
ftxgsub.h:116: field `ssf1' has incomplete type
ftxgsub.h:119: confused by earlier errors, bailing out
make[4]: *** [ftxopen.lo] 错误 1
make[4]: Leaving directory `/home/software/gtk/pango-1.6.0/pango/opentype'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/software/gtk/pango-1.6.0/pango'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/home/software/gtk/pango-1.6.0/pango'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/software/gtk/pango-1.6.0'
make: *** [all] 错误 2
[root@localhost pango-1.6.0]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表