再次请教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
不太明白上面的是什么意思。是不是安装时候要指定什么路径???什么的,有知道希望能详细点说一下,谢了~~~
./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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28