QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1198|回复: 1

超级菜鸟在安装skyeye中遇到的痛苦问题

[复制链接]
发表于 2006-3-27 17:58:46 | 显示全部楼层 |阅读模式

在FC2下
因为要安装GTK
我首先安装了pkg-config0.18,确认使用了--prefix=/usr
紧接着安装了Glib-2.8.3,同样安装在/usr下面.
可是接下来安装atk1.10.1就出现问题了,死活说:

*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** GLIB 2.5.7 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

于是折回去检查,发现glib-2.0.pc好好放在pkg-config的目录下也就是/usr/lib/pkgconfig下面,我又将环境变量$PKG_CONFIG_PATH设为/usr/lib/pkgconfig,还是不行,看了下glib-2.0.pc的内容如下:

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

glib_genmarshal=glib-genmarshal
gobject_query=gobject-query
glib_mkenums=glib-mkenums

Name: GLib
Description: C Utility Library
Version: 2.8.3
Libs: -L${libdir} -lglib-2.0  
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include

似乎没有问题阿?这到底是怎么回事?版本都2.8.3了
检查了一下config.log文件,看着晕,就看到最后几行

#define GETTEXT_PACKAGE "atk1"
#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE "atk"
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=atk"
#define PACKAGE_NAME "atk"
#define PACKAGE_STRING "atk 1.10.1"
#define PACKAGE_TARNAME "atk"
#define PACKAGE_VERSION "1.10.1"
#define STDC_HEADERS 1
#define VERSION "1.10.1"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

请问这样子到底该怎么办阿?
发表于 2006-3-29 10:47:28 | 显示全部楼层
I recommend you use GUI package management tool in the FC to install these package. Or install the related rpm package. Or just reinstall the whole FC system, select to install all the application.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-23 13:38 , Processed in 0.060242 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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