QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2153|回复: 14

编译skyeye0.9.5出错~~帮忙~~

[复制链接]
发表于 2005-5-31 13:40:23 | 显示全部楼层 |阅读模式
我的系统是UBUNTU5.04,,
./configure --target=arm-elf --prefix=/usr/local
编译时出了错误:
*** 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?

GTK没有装??我用的是GNOME,,好象装了GTK了阿??是怎么会事呢??
发表于 2005-5-31 16:02:44 | 显示全部楼层
我用的是GNOME+debian也是不行,我就直接装了binary的那个!简单实用呵呵
回复

使用道具 举报

 楼主| 发表于 2005-5-31 17:37:20 | 显示全部楼层
我看了这文章后,,也装binary的那个了,,我想装GTK,但总是装不成功,,
请问binary的那个和平时装的是一样的吗??都支持LCD??
回复

使用道具 举报

发表于 2005-6-2 06:15:44 | 显示全部楼层
刚刚从gentoo换到ubuntu我的破电脑,还是跑debian吧,gentoo编译起来太慢了。
Gtk的问题,debian下要安装libgtk2.0-dev这个包

apt-get install libgtk2.0-dev

试试看?有什么问题?
我正在准备FAQ文档
回复

使用道具 举报

 楼主| 发表于 2005-6-2 12:29:37 | 显示全部楼层
libgtk2.0-dev我已经装有的了,,就是编译不过,,,真奇怪
回复

使用道具 举报

发表于 2005-6-2 17:11:40 | 显示全部楼层
装了以后还是上面的出错信息么?把config.cache删掉,再配置。
回复

使用道具 举报

发表于 2005-6-2 20:56:45 | 显示全部楼层
为了试验skyeye(gdb5.3)的安装,我在公司的win2k上的colinux上安装了最小的debian的基本系统。一路配置编译过来,把skyeye安装好了。所以常见的出错基本上都能解决了。

实际上很多问题都是编译gdb的问题,gdb可以debug很多语言,我觉得skyeye的源码真的需要从GDB中剥离以下了,至少,要把gdb里面没有必要的部分剥离掉,现在源码部分显得很臃肿。
回复

使用道具 举报

 楼主| 发表于 2005-6-2 21:26:05 | 显示全部楼层
现在我用binary的那个+UCLINUX了。。可以使用,,
但不知能不能支持LCD???是否和平常安装的一样?
回复

使用道具 举报

发表于 2005-6-2 23:43:15 | 显示全部楼层
那个版本是可以用的,你可以试着把gtk1和gtk2的runtime都装在电脑上,就应该没有问题了。
回复

使用道具 举报

 楼主| 发表于 2005-6-3 18:17:22 | 显示全部楼层
好,,我试试~~~
不过gtk2的runtime包要自己下载编译还是APT啊??
如果是APT,包的名字是什么?
回复

使用道具 举报

发表于 2005-6-3 19:36:37 | 显示全部楼层
如果你用的是gnome的系统,它就是基于gtk2的,应该都有了。
回复

使用道具 举报

 楼主| 发表于 2005-6-4 17:11:45 | 显示全部楼层
我是使用GNOME的,,,所以我觉得有点怪,,因为没有GTK+2.0。PC这个文件吧?
回复

使用道具 举报

发表于 2005-6-13 07:21:09 | 显示全部楼层
需要devel的gtk环境 在cygwin下需要

glib-devel
glib2-devel
pango-devel
atk-devel
gtk2-x11-devel
libXft-devel

可能不全, 可以参考我的install.db  /etc/setup/install.db, 如果不是从网上下载,依赖关系不起作用,所以会没有安装

gtk+2.0.pc应该在/usr/lib/pkgconfig

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2005-6-29 01:48:41 | 显示全部楼层

Re: 编译skyeye0.9.5出错~~帮忙~~

[quote:5d972d10ef="zjyu88"]我的系统是UBUNTU5.04,,
./configure --target=arm-elf --prefix=/usr/local
编译时出了错误:
*** 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?

GTK没有装??我用的是GNOME,,好象装了GTK了阿??是怎么会事呢??[/quote]

要安装GTK的开发包,即*-dev
回复

使用道具 举报

发表于 2005-6-29 11:33:03 | 显示全部楼层
yihect,不要劫持别人的Thread,如果想问问题,自己开一个新Thread
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-28 00:32 , Processed in 0.071090 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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