QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 856|回复: 5

install skyeye error

[复制链接]
发表于 2005-1-9 22:09:08 | 显示全部楼层 |阅读模式
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
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
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/linux/Documents/skyeye/sim failed, exiting.

my os is mandrake10.0
发表于 2005-1-10 00:01:34 | 显示全部楼层
我用的是TurboLinux7,GTK+2.0(and above)是必须自己下的.有两个方法(前者没试过,可能可以):
1.印象中rpmseek.com 似乎有MDK的GTK+2的rpm包,你去下一个就有gtk+2了.然后自己修改configure,去掉这部分的检查(exit),并且./configure --disable-gtktest

2.这个configure要求的是.pc文件,也就是pkg-config的生成文件,如果要这个文件,则要自己从ftp.gtk.org下载.我都下的2.0.x版的glib, gtk+, pango, atk,然后一个一个自己编译过(即分别用过./configure --prefix=/usr , make install clean),可能需要libpng, libjpeg和libtiff,全都要自己下,挺郁闷的
回复

使用道具 举报

发表于 2005-1-10 00:04:48 | 显示全部楼层
补充一点,我也是新手,刚刚前面make出错的那个帖子是我的.
不知道还有没有别的简单方法,我用第二种的,结果至少skyeye的configure过了.
回复

使用道具 举报

 楼主| 发表于 2005-1-10 04:02:50 | 显示全部楼层
thanks
回复

使用道具 举报

 楼主| 发表于 2005-1-10 06:41:23 | 显示全部楼层
我在mdk10.0的安装盘里面找到了gtk2.0和glibc2.24的rpm安装包,成功安装后我再在skyeye目录下./configure xxxxx,怎么还是提示和上面的信息啊?是不是还要装别的东西,或是要设置类似环境变量的东西呀?
回复

使用道具 举报

 楼主| 发表于 2005-1-10 13:28:51 | 显示全部楼层
siriusding:
  按照你的第2个方法,要不要把系统原来的gtk2.0.x和glibc2.2.x删除掉阿?,还有第一个方法我看不懂,能说详细点么?configure怎么配置, 我是个菜鸟~~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 16:10 , Processed in 0.053116 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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