+ -
当前位置:首页 → 问答吧 → xorg7.3安装问题

xorg7.3安装问题

时间:2007-12-27

来源:互联网

今天安装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也找不到........

作者: zhfg   发布时间: 2007-12-27

大哥,回个帖吧!都吃饭去了吗?

作者: zhfg   发布时间: 2007-12-27

可能是需要先安装 libX11 和libXext
先试试再来报告
可是BLFS-BOOK上也没有说啊!

作者: zhfg   发布时间: 2007-12-27

一定要按LFS网站上下载的相应于 Xorg 版本的 wget 文件内的顺序来编译各模块,否则会出现依赖问题。

作者: linux001   发布时间: 2007-12-27

哦,原来是这么回事.我是自己下载回来,离线安装的.
这下知道是怎么回事了.

作者: zhfg   发布时间: 2007-12-27

先将 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 ,这两个包最好先要有。
上传的附件
Xorg_7.3_x86.sh.tar.bz2 (6.7 KB, 21 次查看)
Xorg_7.3_pure64.sh.tar.bz2 (5.3 KB, 8 次查看)
wget_xorg7.3.list.txt (2.5 KB, 29 次查看)

作者: tfkdmwmqtr   发布时间: 2007-12-27

tfkdmwmqtr 的两个附件是什麽?

作者: d00m3d   发布时间: 2007-12-28

引用:
作者: d00m3d
tfkdmwmqtr 的两个附件是什麽?

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

作者: tfkdmwmqtr   发布时间: 2007-12-28

自己写的吗?

作者: d00m3d   发布时间: 2007-12-28

全是 CBLFS 手册上的啦。我就那么一丁点微末的水平,我哪能全自己写。

作者: tfkdmwmqtr   发布时间: 2007-12-28

哪里有CBLFS手册啊?只有BLFS和CLFS的

作者: zhfg   发布时间: 2007-12-29

晕倒,我找到了,
原来是另外一个主页上

作者: zhfg   发布时间: 2007-12-29