+ -
当前位置:首页 → 问答吧 → LFS 6.5 SVN xcursor-themes-1.0.1 make 出错

LFS 6.5 SVN xcursor-themes-1.0.1 make 出错

时间:2009-09-23

来源:互联网

bash-4.0# ./configure $XORG_CONFIG &&
> make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking return type of signal handlers... void
checking for xcursorgen... /usr/bin/xcursorgen
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ICONDEFS... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating handhelds/Makefile
config.status: creating redglass/Makefile
config.status: creating whiteglass/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/home/xcrdjn/xc/xcursor-themes-1.0.1'
Making all in handhelds
make[2]: Entering directory `/home/xcrdjn/xc/xcursor-themes-1.0.1/handhelds'
/usr/bin/xcursorgen -p ../redglass ./X_cursor.cfg X_cursor
/usr/bin/xcursorgen: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
make[2]: *** [X_cursor] Error 127
make[2]: Leaving directory `/home/xcrdjn/xc/xcursor-themes-1.0.1/handhelds'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xcrdjn/xc/xcursor-themes-1.0.1'
make: *** [all] Error 2


export XORG_PREFIX=/usr/X11R7

export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
--mandir=$XORG_PREFIX/share/man --localstatedir=/var"

export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/X11R7/lib/pkgconfig"

不知道 什么原因 出错

好像 是找不到 libX11.so.6 的路径
PATH 加上 /usr/X11R7/bin 还是 不行

提前 先谢谢了
上传的附件
config.log.txt (9.4 KB, 0 次查看)

作者: xcrdjn   发布时间: 2009-09-23

按照FHS的推荐, 所有X程序最好装在/usr目录下, 忽略/usr/X11R6和R7.

你可以用find看看libX11.so.6放在什么位置了.
如果不是/usr/lib, 需要修改链接库搜索路径, 用ldconfig更新库列表.

读一下 man ldconfig

作者: swordhui   发布时间: 2009-09-23

多谢 楼上 ,用楼上的方法 以解决

作者: xcrdjn   发布时间: 2009-09-23

引用:
作者: swordhui
按照FHS的推荐, 所有X程序最好装在/usr目录下, 忽略/usr/X11R6和R7.

你可以用find看看libX11.so.6放在什么位置了.
如果不是/usr/lib, 需要修改链接库搜索路径, 用ldconfig更新库列表.

读一下 man ldconfig
BLFS 手册不是建议建立兼容性连结麽?

http://www.linuxfromscratch.org/blfs...x/x-setup.html

作者: d00m3d   发布时间: 2009-09-23