=?utf-8?B?UmU6IFJlOiBjb21waWxlIGVycm9yIGluIGNvbXBpbGluZyBndGsrMi4xOA==?=




thank you every body
I compete it
 
as you say, I reconfigure the pango, and I find it not include cairo. then I find the FONTCONFIG version is lower
so I reinstall the FONTCONFIG, and rebuild the pango, then rebuild gtk+2.18
 
to install gtk+2.18, I have install some libs, the versions are:
gtk+ 2.18.0
Glib   2.22.0
pango 1.26.0
cairo 1.8.0
atk   1.28.0
pixman 0.16.0
jpeg  7
fontconfig 2.8.0
 
 
PS: I hate the dependency of the libs
Is there any doc to explain the libs and versions that the gtk+ needed??
 
 
2009-12-24

姓名:王振中

公司:艾诺通信系统(苏州)有限公司

地址:苏州工业园区苏虹西路81号苏虹工业坊A8单元二楼 

 

 

 

 


发件人: David Nečas
发送时间: 2009-12-23  18:23:40
收件人: WangZhenzhong
抄送: gtk-list
主题: Re: compile error in compiling gtk+2.18
On Wed, Dec 23, 2009 at 05:26:51PM +0800, WangZhenzhong wrote:
> I am using centos 5.2 
> gcc 4.1.2
> then when i make gtk+2.18, it is error 
> gdkpango.c: In function ‘gdk_pango_renderer_draw_shape’:
> gdkpango.c:324: 错误:‘PangoCairoShapeRendererFunc’ 未声明 (在此函数内第一次使用)
> gdkpango.c:324: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
> gdkpango.c:324: 错误:所在的函数内只报告一次。)
> gdkpango.c:324: 错误:expected ‘;’ before ‘shape_renderer’
> gdkpango.c:334: 错误:‘shape_renderer’ 未声明 (在此函数内第一次使用)
> gdkpango.c:334: 警告:隐式声明函数 ‘pango_cairo_context_get_shape_renderer’
> gdkpango.c:350: 警告:隐式声明函数 ‘shape_renderer’
> make[4]: *** [gdkpango.lo] 错误 1
> make[4]: Leaving directory `/root/gtk/gtk+-2.18.0/gdk'
> make[3]: *** [all-recursive] 错误 1
> make[3]: Leaving directory `/root/gtk/gtk+-2.18.0/gdk'
> make[2]: *** [all] 错误 2
> make[2]: Leaving directory `/root/gtk/gtk+-2.18.0/gdk'
> make[1]: *** [all-recursive] 错误 1
> make[1]: Leaving directory `/root/gtk/gtk+-2.18.0'
> make: *** [all] 错误 2
You compiled Pango without Cairo support.  I would expect configure to
catch this but maybe it does not.
Yeti
P.S.: If you post error logs, please please switch to the POSIX locale
befre running the thing that produces them.  Otherwise you may limit
responses to members of this list knowing what is the compiler trying to
say by
错误:(即使在一个函数内多次出现,每个未声明的标识符在其
错误:所在的函数内只报告一次。)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]