+ -
当前位置:首页 → 问答吧 → 再次请教GLIB的问题~~

再次请教GLIB的问题~~

时间:2005-05-27

来源:互联网

下载了2.4的gz包,解压
./configure
make
make install
一路安装没有错误,但接下来再安装ATK和GTK的时候提示错误。
退回来重新安装GLIB,先CAT INSTALL,发现其中有这样几句提示,但不太明白是什么意思:
% gzip -cd glib-2.4.0.tar.gz | tar xvf - # unpack the sources
% cd glib-2.4.0 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GLIB

[ Become root if necessary ]
% rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h
% make install # install GLIB
$exec_prefix/lib/glib/include/

if you have a version in $prefix/include, this is out of date
and should be deleted.

.pc files for the various libraries are installed in
$exec_prefix/lib/pkgconfig to provide information when compiling
other packages that depend on GLib. If you set PKG_CONFIG_PATH
so that it points to this directory, then you can get the
correct include flags and library flags for compiling a GLib
application with:

pkg-config --cflags glib-2.0
pkg-config --libs glib-2.0
不太明白上面的是什么意思。是不是安装时候要指定什么路径???什么的,有知道希望能详细点说一下,谢了~~~

作者: ssh82   发布时间: 2005-05-27

相关阅读 更多

热门下载

更多