打印

redhat 下提示我好像没有 GTK,那应该怎么安装啊?

redhat 下提示我好像没有 GTK,那应该怎么安装啊?

请大家指教,我是新手. :neutral:
好像是:
checking for gtk-config... no
checking for GTK - version >= 1.1.3... no

*** The gtk-config script installed by GTK could not be found

*** If GTK was installed in PREFIX, make sure PREFIX/bin is in

*** your path, or set the GTK_CONFIG environment variable to the

*** full path to gtk-config.

configure: error: Cannot find GTK: Is gtk-config in path?

configure: error: ./configure failed for arm

Configure in /home/gao/skyeye/skyeye/sim failed, exiting.
故都的秋

TOP

请认真阅读里面的README文档
按照里面的步骤

TOP

安装skyeye-0.8.0, 安装pkgconfig gtk2-devel rpm 包

TOP

安装了gtk2-devel-2.2.1.4.i386.rpm及安装其所需的fontconfig等
可是还是提示cannot found gtk: is gtk-config in the path?
该咋做啊?

TOP

这个,这个我也不知道,还是让版主来解决了

TOP

[quote:ed798acf08="weakiss"]安装了gtk2-devel-2.2.1.4.i386.rpm及安装其所需的fontconfig等
可是还是提示cannot found gtk: is gtk-config in the path?
该咋做啊?[/quote]

我实在红帽安装过程中,把每个安装项目都仔细看了看,把所有有关gtk的项目都安装了,然后就没事了。
故都的秋

TOP

应该是还需要其他的gtk的包,不只是gtk2-devel-2.2.1.4.i386.rpm,建议在装一些gtk的包试试

TOP

我在debian下也遇到了这个问题,没人知道怎么做吗?

TOP

我出现了上述问题后安装了glib-devel和gtk+-devel两个包就可以了。

TOP