LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hmglll

最新消息

[复制链接]
发表于 2002-12-17 21:35:20 | 显示全部楼层
but you forget the pre-installation configuration
$PKG_CONFIG_PATH not set
it is very important!
 楼主| 发表于 2002-12-18 09:29:45 | 显示全部楼层

tram 兄弟

按你的提示在GNOME那章我设好了变量环境,如下:
root@/cvs/rep-gtk-0.16]# echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome2/lib/pkgconfig
重新安装了一遍libglade,再安装rep-gtk-0.16,但依然出错,提示和以上的完全相同。
发表于 2002-12-18 10:06:21 | 显示全部楼层
什么地方需要rep-gtk-0.16?我怎么没装它
发表于 2002-12-18 10:15:07 | 显示全部楼层

Re: tram 兄弟

你的ld.so.conf里有/opt/gnome/lib和/opt/gnome2/lib么?
你的PATH里有/opt/gnome/bin和/opt/gnome2/bin么?

最初由 hmglll 发布
按你的提示在GNOME那章我设好了变量环境,如下:
root@/cvs/rep-gtk-0.16]# echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/opt/gnome2/lib/pkgconfig
重新安装了一遍libglade,再安装rep-gtk-0.16,但依然出错,提示和以上的完全相同。
 楼主| 发表于 2002-12-18 10:25:09 | 显示全部楼层

有了

Begin /etc/ld.so.conf

/usr/lib
/usr/local/lib
/opt/lib
/usr/X11R6/lib
/opt/gnome/lib
/opt/gnome2/lib


# End /etc/ld.so.conf
# Begin qt addition to /etc/ld.so.conf
/opt/qt/lib
# End qt addition

# Begin gnome addition to /etc/ld.so.conf
/opt/gnome/lib
/opt/gnome2/lib
# End gnome addition
 楼主| 发表于 2002-12-18 10:29:19 | 显示全部楼层

这是安装的全过程

root@/cvs/rep-gtk-0.16]# ./configure --prefix=/usr &&
> make &&
> make install
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc -s
checking whether the C compiler (gcc -s -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer  -funroll-loops -falign-functions=4 -maccumulate-outgoing-args ) works... yes
checking whether the C compiler (gcc -s -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer  -funroll-loops -falign-functions=4 -maccumulate-outgoing-args ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc -s accepts -g... yes
checking how to run the C preprocessor... gcc -s -E
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking whether gcc -s needs -traditional... no
checking for rep - version >= 0.13... version 0.16.1
checking for GNU msgfmt... /usr/bin/msgfmt
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 1.3... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for gtk+-2.0 >= 1.3... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for gdk-pixbuf-2.0 >= 1.3.11... yes
checking GDK_PIXBUF_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GDK_PIXBUF_LIBS... -Wl,--export-dynamic -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for GNOME libs... checking for libglade-2.0 >= 1.99... Package libglade-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libglade-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libglade-2.0' found

configure: error: Library requirements (libglade-2.0 >= 1.99) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
发表于 2002-12-18 10:36:17 | 显示全部楼层
你装了pkgconfig没有?
发表于 2002-12-18 10:37:22 | 显示全部楼层
/opt/gnome2/lib/libglade/2.0
有这个目录没?
 楼主| 发表于 2002-12-18 10:38:05 | 显示全部楼层
你的BLFS安装过程我看了不敢跟,因为一你写的比较简单,二是你没有跟教程,自己也不清楚所有的关系(各程序间),怕你溜写了些什么的就不好了,结果。。。唉
 楼主| 发表于 2002-12-18 10:41:35 | 显示全部楼层

好像没有耶

root@/opt/gnome2/lib]# ls
libglade-2.0.a   libglade-2.0.so    libglade-2.0.so.0.0.1
libglade-2.0.la  libglade-2.0.so.0  pkgconfig
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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