install skyeye error
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 我用的是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,全都要自己下,挺郁闷的 补充一点,我也是新手,刚刚前面make出错的那个帖子是我的.
不知道还有没有别的简单方法,我用第二种的,结果至少skyeye的configure过了. thanks 我在mdk10.0的安装盘里面找到了gtk2.0和glibc2.24的rpm安装包,成功安装后我再在skyeye目录下./configure xxxxx,怎么还是提示和上面的信息啊?是不是还要装别的东西,或是要设置类似环境变量的东西呀? siriusding:
按照你的第2个方法,要不要把系统原来的gtk2.0.x和glibc2.2.x删除掉阿?,还有第一个方法我看不懂,能说详细点么?configure怎么配置, 我是个菜鸟~~~
页:
[1]