求一个BLFS svn里面 xorg 7.2的编译安装脚本~~包太多了 自己不会写~~~~
时间:2007-12-12
来源:互联网
             其实我看不懂            
            作者: biosxjj 发布时间: 2007-12-12
             http://www.linuxfromscratch.org/blfs...e/x/xorg7.html
1.新建个编译xorg的目录
mkdir xc &&
cd xc
2.设置需要的变量
export XORG_PREFIX="<PREFIX>" && #把xorg装到哪里,就改成相应的目录
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
--mandir=$XORG_PREFIX/share/man --localstatedir=/var" #编译包时所用的参数
做完这两步后,就可以安装了。。。
就拿Xorg Protocol Headers 来说
先把需要的包下下来
wget http://anduin.linuxfromscratch.org/f...proto-7.1.wget &&
mkdir proto &&
cd proto &&
wget -B http://xorg.freedesktop.org/releases/individual/proto/ \
-i ../proto-7.1.wget
接下来用下面的脚本安装
bash -e #exit on all errors
for package in $(cat ../wgetlist.wget)
do
packagedir=$(echo $package | sed 's/.tar.bz2//')
tar -xf $package
cd $packagedir
./configure $XORG_CONFIG
make
make install
cd ..
rm -rf $packagedir
rm -f $package
done 2>&1 | tee -a ../xorg-compile.log #log the entire loop
            1.新建个编译xorg的目录
mkdir xc &&
cd xc
2.设置需要的变量
export XORG_PREFIX="<PREFIX>" && #把xorg装到哪里,就改成相应的目录
export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \
--mandir=$XORG_PREFIX/share/man --localstatedir=/var" #编译包时所用的参数
做完这两步后,就可以安装了。。。
就拿Xorg Protocol Headers 来说
先把需要的包下下来
wget http://anduin.linuxfromscratch.org/f...proto-7.1.wget &&
mkdir proto &&
cd proto &&
wget -B http://xorg.freedesktop.org/releases/individual/proto/ \
-i ../proto-7.1.wget
接下来用下面的脚本安装
bash -e #exit on all errors
for package in $(cat ../wgetlist.wget)
do
packagedir=$(echo $package | sed 's/.tar.bz2//')
tar -xf $package
cd $packagedir
./configure $XORG_CONFIG
make
make install
cd ..
rm -rf $packagedir
rm -f $package
done 2>&1 | tee -a ../xorg-compile.log #log the entire loop
作者: epvmm365 发布时间: 2007-12-12
             lfs里面的bash 怎么用啊 ./$script没用啊            
            作者: biosxjj 发布时间: 2007-12-12
             Xorg-7.2 / 7.3
我知道
            我知道
作者: tfkdmwmqtr 发布时间: 2007-12-13
 相关阅读 更多  
      
    热门阅读
-   office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具 office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具阅读:74 
-   如何安装mysql8.0 如何安装mysql8.0阅读:31 
-   Word快速设置标题样式步骤详解 Word快速设置标题样式步骤详解阅读:28 
-   20+道必知必会的Vue面试题(附答案解析) 20+道必知必会的Vue面试题(附答案解析)阅读:37 
-   HTML如何制作表单 HTML如何制作表单阅读:22 
-   百词斩可以改天数吗?当然可以,4个步骤轻松修改天数! 百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!阅读:31 
-   ET文件格式和XLS格式文件之间如何转化? ET文件格式和XLS格式文件之间如何转化?阅读:24 
-   react和vue的区别及优缺点是什么 react和vue的区别及优缺点是什么阅读:121 
-   支付宝人脸识别如何关闭? 支付宝人脸识别如何关闭?阅读:21 
-   腾讯微云怎么修改照片或视频备份路径? 腾讯微云怎么修改照片或视频备份路径?阅读:28 















