|
前不久当了0.9.2,想好好学学嵌入式开发,谁知道麻烦就开始了.
首先是./configure的时候说我glib, gtk+版本不够
那我就当呗,大家知道教育网出国很麻烦,偏偏gtk+只有在ftp.gtk.org才找得到+3x
用了一整天搞定glib,还说我版本不够
一打听,要装devel才能用
只好接着当,用了一天,终于glib通过了
然后是gtk+,这才是最麻烦的部分:
原来redhat的rpm包和别处的不一样
我当的gtk+ gtk+-devel-2.6.0和无数包冲突
另外还说我pango不够高...
这也就罢了,最可气的是pango倚赖的一大堆包版本也不对
于是我发了狠了,一口气当了好几百M,够搭一个distribution了.
令我七窍生烟的是,这些包里有一个打死也装不进去,
说是和x11冲突~!我不死不休的替换,到最后xft实在装不上了(这时候我差不多把整个dependency tree都更新了一遍 ,功亏一篑->~,哭死)
大家看看我都 当了些什么
XFree86全套
render
xrender
xft(+devel)
pango(+devel)
gtk+(+devel)
glib(+devel)
libXpm
...
现在./configure仍然过不了...我实在没招了,下面是出错信息,大家帮帮我
(最好是不用gtk+2.6也能安装skyeye:-)
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/pkg-config
configure: error: Cannot find GTK: Is gtk-config in path?
configure: error: ./configure failed for arm
Configure in /home/skyeye/sim failed, exiting.
以下是安装gtk+的出错信息
error: Failed dependencies:
iconv is needed by gtk+-2.6.0-1
xcursor is needed by gtk+-2.6.0-1
xft is needed by gtk+-2.6.0-1
我另从gtk.org当了一个gtk+ tar包,./configure过不了,说glib只有2.4,可我的明明是2.6
...
checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.7.0... Requested 'glib-2.0 >= 2.6.0' but version of GLib is 2.4.0
...
[root@miles gtk+-2.6.0]# rpm -q glib
glib-1.2.10-12.1.1
glib-2.6.0-1 |
|