telekroc 发表于 2005-3-24 20:11:59

gentoo下xorg-x11编译通不过!help

使用
emerge xorg-x11
安装xorg-x11出错,不知道什么原因,求助

dukeduan 发表于 2005-3-25 11:41:29

如果问你同样的问题,我想你也会爱莫能助吧!你没说明情况,大家没法分析
原因。所以应该把你emerge的过程,使用的命令以及出错时候控制台里的信息
等等贴上来,有人明白他会回答的。 :-)

linky_fan 发表于 2005-3-25 15:17:40


如果问你同样的问题,我想你也会爱莫能助吧!你没说明情况,大家没法分析
原因。所以应该把你emerge的过程,使用的命令以及出错时候控制台里的信息
等等贴上来,有人明白他会回答的。 Smile

:arrow:

telekroc 发表于 2005-3-25 18:56:58

Calculating dependencies
* [0m Previous xorg-x11 installation detected
* [0m Enabling PAM features in xorg-x11...
>>> Unpacking source...
Unpacking 6.8.2 source...

>>> Source unpacked.
...
... 这一部分主要是解开软件包
...


Building xorg-x11...

Building Release 6.8.2.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.--->是不是主要原因?

Fri Mar 25 22:47:48 CST 2005

cd ./config/imake && make - --jobserver-fds=3,4 -j -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean

编译后出现了错误信息
错误如下:
collect2: ld returned 1 exit status
make *** Error 1
make Leaving directory /var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/config/pswrap
make *** [../../config/pswrap/pawrap] Error 2
make Leaving directory /var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/lib/dps
make *** Error 2
make Leaving directory /var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/lib
make *** Error 2
make Leaving directory /var/tmp/portage/xorg-x11-6.8.2-r1/work/xc
make *** Error 2

!!! Error x11-base/xorg-x11-6.8.2-r1
!!! Fuction build Line 951,Exitcode 2
!!! make World faild
!!! if you need sopport ,post the topmost build error,NOT this status message.

我在bootstrap之前曾错误的先运行了emerge system...

telekroc 发表于 2005-3-25 22:30:37

问题已经解决,错误是:
2005-3-23日最新 更新portage 里 仍然有一个BUG


从 stage1 开始安装,先更新到gcc-3.4 再开始编译。到stage2 时,emerge system 到xorg-x11时报错 ld 找不到 lfl

需要先emerge flex 你在使用emerge -pv flex时发现已经被emerge 了,但是要重新emerge 一遍就可以继续编译xorg-x11了

多谢各位!
页: [1]
查看完整版本: gentoo下xorg-x11编译通不过!help