LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 771|回复: 3

LFS 6.5 SVN xcursor-themes-1.0.1 make 出错

[复制链接]
发表于 2009-9-23 13:29:44 | 显示全部楼层 |阅读模式
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  还是 不行

提前 先谢谢了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2009-9-23 13:56:25 | 显示全部楼层
按照FHS的推荐, 所有X程序最好装在/usr目录下, 忽略/usr/X11R6和R7.

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

读一下 man ldconfig
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-23 14:03:53 | 显示全部楼层
多谢 楼上 ,用楼上的方法 以解决
回复 支持 反对

使用道具 举报

发表于 2009-9-23 19:24:54 | 显示全部楼层
Post by swordhui;2029446
按照FHS的推荐, 所有X程序最好装在/usr目录下, 忽略/usr/X11R6和R7.

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

读一下 man ldconfig


BLFS 手册不是建议建立兼容性连结麽?

http://www.linuxfromscratch.org/blfs/view/svn/x/x-setup.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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