LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1500|回复: 11

configure skyeye时的问题(debian系统)???

[复制链接]
发表于 2005-1-2 11:16:11 | 显示全部楼层 |阅读模式
checking for GTK - version >= 1.1.3... 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
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/jnow/MyDownloads/skyeye/sim failed, exiting.
发表于 2005-1-2 18:37:25 | 显示全部楼层
不懂得看英文提示吗?已经明明白白地告诉你系统没有安装gtk+-2.0
 楼主| 发表于 2005-1-3 01:13:55 | 显示全部楼层
老大,我的gtk1.2 2.0都安装了
如果是没安装gtk这个问题,我就不会来求助了
也怪我没说清楚
发表于 2005-1-3 10:03:17 | 显示全部楼层
那就把gtk+-2.0的安装路径加到PKG_CONFIG_PATH。
 楼主| 发表于 2005-1-3 16:12:05 | 显示全部楼层
export PKG_CONFIG_PATH=/usr/lib/pkpcinfig:/usr/X11R6/lib/pkgconfig
是这样吧?我也试试过了
发表于 2005-1-6 13:42:50 | 显示全部楼层
安装libgtk2.0-dev
 楼主| 发表于 2005-1-6 16:57:10 | 显示全部楼层
谢谢楼上兄弟,我试试先
 楼主| 发表于 2005-1-6 17:04:40 | 显示全部楼层
依赖关系很复杂性,我没法安装libgtk2.0-dev
没办法了
发表于 2005-1-7 01:18:01 | 显示全部楼层
Post by jnow
依赖关系很复杂性,我没法安装libgtk2.0-dev
没办法了


没有试过,不过你用dselect,查找libgtk2.0-dev。然后选择+号(表示安装它),它会提示依赖关系的包,和推荐的包,你可以自己选择。应该不回很麻烦的。
发表于 2005-1-7 16:19:25 | 显示全部楼层
Post by jnow
export PKG_CONFIG_PATH=/usr/lib/pkpcinfig:/usr/X11R6/lib/pkgconfig
是这样吧?我也试试过了


“/usr/lib/pkpcinfig”这个是你打错了,还是你就是这样配置路径的!
你先ls /usr/lib/pkgconfig,看看里面有没有*.pc的文件,如果有就:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig

冒号后面的一般不需要,而且他也不包含pkgconfig这个目录。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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