jacktangj 2011-04-21
LINUX系统是RedHat。
先在网上下了wxPython包,解压完./configure失败,因为缺少GTK++,好吧,于是再下GTK++包,同样./configure,结果如下:
configure: error: Package requirements (glib-2.0 >= 2.28.0 atk >= 1.30 pango >= 1.24.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.22.0) were not met: Requested 'glib-2.0 >= 2.28.0' but version of GLib is 2.24.1 No package 'atk' found No package 'pango' found No package 'cairo' found No package 'cairo-gobject' found No package 'gdk-pixbuf-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
无奈中继续用yum下载缺失的包,然后呢,吐血啊,我前世到底做错了什么??
Requested 'glib-2.0 >= 2.28.0' but version of GLib is 2.22.5 Requested 'atk >= 1.30' but version of Atk is 1.28.0手动上网下载Atk,下载./configure,make,又出现问题,如下:
atktext.c:1428: 错误:expected declaration specifiers or ‘...’ before ‘atk_text_range’ atktext.c:1428: 错误:expected declaration specifiers or ‘...’ before ‘atk_text_range_copy’ atktext.c:1429: 错误:expected declaration specifiers or ‘...’ before ‘atk_text_range_free’ atktext.c:1429: 警告:返回类型默认为‘int’ atktext.c: 在函数‘G_DEFINE_BOXED_TYPE’中: atktext.c:1428: 错误:省略了形参的名字 atktext.c:1429: 错误:expected ‘{’ at end of input make[3]: *** [atktext.lo] 错误 1 make[3]: Leaving directory `/usr/atk-2.0.0/atk' make[2]: *** [all] 错误 2 make[2]: Leaving directory `/usr/atk-2.0.0/atk' make[1]: *** [all-recursive] 错误 1 make[1]: Leaving directory `/usr/atk-2.0.0' make: *** [all] 错误 2
我只能说fuck了,只好换个版本,atk-1.3.2,这次终于ok了,make-makeinstall