LinuxSir.cn,穿越时空的Linuxsir!

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

xorg7.3安装问题

[复制链接]
发表于 2007-12-27 09:24:14 | 显示全部楼层 |阅读模式
今天安装xorg7.3 安装到lib里的包时出现问题:
安装libAppleWM-1.0.0.tar.bz2
使用#./configure --prefix=/usr --sysconfdir=/etc \
    --mandir=/usr/share/man --localstatedir=/var 配置,出现以下问题.
ecking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for APPLEWM... configure: error: Package requirements (x11 xext xextproto applewmproto) were not met:

No package 'x11' found
No package 'xext' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables APPLEWM_CFLAGS
and APPLEWM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.




这是什么问题,google也找不到........
 楼主| 发表于 2007-12-27 11:17:07 | 显示全部楼层
大哥,回个帖吧!都吃饭去了吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-27 11:29:20 | 显示全部楼层
可能是需要先安装 libX11 和libXext
先试试再来报告
可是BLFS-BOOK上也没有说啊!
回复 支持 反对

使用道具 举报

发表于 2007-12-27 14:54:02 | 显示全部楼层
一定要按LFS网站上下载的相应于 Xorg 版本的 wget 文件内的顺序来编译各模块,否则会出现依赖问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-27 15:45:39 | 显示全部楼层
哦,原来是这么回事.我是自己下载回来,离线安装的.
这下知道是怎么回事了.
回复 支持 反对

使用道具 举报

发表于 2007-12-27 16:30:05 | 显示全部楼层
先将 xorg-7.3 的文件下载到 /CBLFS/xorg-7.3 目录,编译 xorg-7.3 的时候 cp -av /CBLFS/xorg-7.3 /sources/
对照 CBLFS 来做。
cblfs.cross-lfs.org
其中, $XORG_PREFIX 等变量最好是手敲,且为同一终端。在编译之前先检查 echo $XORG_PREFIX 。

编译 xorg-7.3 的过程:
0000-doxygen
000-python
00-Intro
01-pkg-config
02-FreeType
03-expat
04-LibXML2
05-LibXSLT
06-Xcb-proto
07-libpthread-stubs
08-XORG-7.3-Protocol_Headers
09-XORG7.3-Utilities
10-libXau_form_xorg7.3_liraries
11-libxcb
12-Gperf
13-xcb-utils
14-fontconfig
15-libpng
16-XORG-7.3-Libraries
17-Xorg-7.3-libdrm
18-Xorg-7.3-MesaLib
19-xorg-7.3-xbitmaps
20-Xorg-7.3-Apps
21-XML-Parser
22-Xorg-7.3-Data
23-Xorg-7.3-Fonts
24-Pixman
25-Xorg-7.3-Xserver
26-Xorg-Drivers
27-Xorg-xterm
28-Xorg-rman
29-Config
30-Xorg-test
31-test-test

Xorg_7.3_x86.sh.tar.bz2  这个是 CLFS-x86 编译 过程 ( 含软件包依赖关系,编译软件包的顺序)。
Xorg_7.3_pure64.sh.tar.bz2  这个是 Pure64 的过程( 含软件包依赖关系,编译软件包的顺序)。
wget_xorg7.3.list.txt 这里是编译 xorg7.3需要的下载的源码包。另外的源码包看 CBLFS 手册,以CBLFS手册为准。

其中 ,  libjpeg , giflib ,这两个包最好先要有。

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

发表于 2007-12-27 19:14:23 | 显示全部楼层
tfkdmwmqtr 的两个附件是什麽?
回复 支持 反对

使用道具 举报

发表于 2007-12-27 19:40:39 | 显示全部楼层
Post by d00m3d;1800528
tfkdmwmqtr 的两个附件是什麽?



Xorg_7.3_x86.sh.tar.bz2  这个是 CLFS-x86 编译 过程 ( 含软件包依赖关系,编译软件包的顺序)。
Xorg_7.3_pure64.sh.tar.bz2  这个是 Pure64 的过程( 含软件包依赖关系,编译软件包的顺序)。
其中 ,  libjpeg , giflib ,这两个包最好先要有。
回复 支持 反对

使用道具 举报

发表于 2007-12-27 19:47:00 | 显示全部楼层
自己写的吗?
回复 支持 反对

使用道具 举报

发表于 2007-12-27 20:09:46 | 显示全部楼层
全是 CBLFS 手册上的啦。我就那么一丁点微末的水平,我哪能全自己写。
回复 支持 反对

使用道具 举报

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

本版积分规则

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