QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1591|回复: 3

xorg的源码包怎么编译?

[复制链接]
发表于 2005-3-20 10:51:24 | 显示全部楼层 |阅读模式
rpm --rebuild命令用不了
=====================
[root@MagicLinux alpher]# rpm --rebuild xorg-x11-6.8.0-1mgc.src.rpm
--rebuild: unknown option
[root@MagicLinux alpher]# rpm -rebuild xorg-x11-6.8.0-1mgc.src.rpm
rpm: arguments to --root (-r) must begin with a /
[root@MagicLinux alpher]#      
======================
然后只能rpm -ivh *.src.rpm
然后在/usr/src/mBuild/SPECS下运行
rpmbuild -ba filename.spec
等了半天最后出错,输出的出错信息如下:

/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
make[5]: *** [clientattrib.o] Error 1
make[5]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc/lib/GL/glx'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc'
make: *** [World] Error 2
make: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc'
error: Bad exit status from /var/tmp/rpm-tmp.8231 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.8231 (%build)
发表于 2005-3-20 11:03:00 | 显示全部楼层
rpmbuild --rebuild --target=i686 xorg*
回复

使用道具 举报

 楼主| 发表于 2005-3-20 11:15:50 | 显示全部楼层
还是出错,信息如下
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
make[5]: *** [clientattrib.o] Error 1
make[5]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc/lib/GL/glx'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc'
make: *** [World] Error 2
make: Leaving directory `/usr/src/mBuild/BUILD/xorg-x11-6.8.0/xc'
error: Bad exit status from /var/tmp/rpm-tmp.29051 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.29051 (%build)
回复

使用道具 举报

发表于 2005-3-20 11:16:05 | 显示全部楼层
[quote:7d209b0161="KanKer"]rpmbuild --rebuild --target=i686 xorg*[/quote]
KanKer,啥时候放出Xorg-6.8.2呀?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-26 18:31 , Processed in 0.066430 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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