超级菜鸟在安装skyeye中遇到的痛苦问题
:cry:在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;
请问这样子到底该怎么办阿? 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.
页:
[1]