LinuxSir.cn,穿越时空的Linuxsir!

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

无法安装gentoo,到gmp就出错了。

[复制链接]
发表于 2010-8-31 13:56:55 | 显示全部楼层 |阅读模式
=====================================
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies  ... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/gmp-4.3.2
* gmp-4.3.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                     [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
* CPV:  dev-libs/gmp-4.3.2
* REPO: gentoo
* USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking gmp-4.3.2.tar.bz2 to /var/tmp/portage/dev-libs/gmp-4.3.2/work
* Applying gmp-4.1.4-noexecstack.patch ...
  [ ok ]
* Applying gmp-4.3.2-ABI-multilib.patch ...
  [ ok ]
* Applying gmp-4.2.1-s390.diff ...
  [ ok ]
* Running elibtoolize in: gmp-4.3.2/
*   Applying install-sh-1.5.6.patch ...
*   Applying portage-1.5.10.patch ...
*   Applying sed-1.5.6.patch ...
*   Applying as-needed-1.5.26.patch ...
>>> Source unpacked in /var/tmp/portage/dev-libs/gmp-4.3.2/work
>>> Compiling source in /var/tmp/portage/dev-libs/gmp-4.3.2/work/gmp-4.3.2 ...
* econf: updating gmp-4.3.2/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gmp-4.3.2/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --localstatedir=/var/state/gmp --disable-mpfr --disable-mpbsd --enable-cxx
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
configure: error: GMPABI=64 is not among the following valid choices: 32

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/gmp-4.3.2/work/gmp-4.3.2/config.log
* ERROR: dev-libs/gmp-4.3.2 failed:
*   econf failed
*
* Call stack:
*     ebuild.sh, line   54:  Called src_compile
*   environment, line 2959:  Called econf '--localstatedir=/var/state/gmp' '--disable-mpfr' '--disable-mpbsd' '--enable-cxx'
*     ebuild.sh, line  544:  Called die
* The specific snippet of code:
*                           die "econf failed"
*
* If you need support, post the output of 'emerge --info =dev-libs/gmp-4.3.2',
* the complete build log and the output of 'emerge -pqv =dev-libs/gmp-4.3.2'.
* The complete build log is located at '/var/tmp/portage/dev-libs/gmp-4.3.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/gmp-4.3.2/temp/environment'.
* S: '/var/tmp/portage/dev-libs/gmp-4.3.2/work/gmp-4.3.2'

>>> Failed to emerge dev-libs/gmp-4.3.2, Log file:

>>>  '/var/tmp/portage/dev-libs/gmp-4.3.2/temp/build.log'

* Messages for package dev-libs/gmp-4.3.2:


* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


====================================================
下面是我的make.conf


# These settings were set by the catalyst build script that automatically built this stage

CFLAGS="-march=amd64 -pipe -O2 -fomit-frame-pointer  sse sse2"

#CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
#ACCEPT_KEYWORDS="~x86"
ACCEPT_LICENSE="-* @FREE"
#USE="mmx sse"
#MAKEOPTS="-j2"

USE="png alsa apache2  -arts avi cups eds emboss encode esd foomaticdb \
     gif gnome  gstreamer gtk gtk2 imlib jpeg libg++ libwww mad \
     mikmod motif mp3 mpeg ogg opengl pdflib qt quicktime sdl \
     spell truetype udev vorbis xml xmms xv nptlonly objc objc++ a52 \
     aac dts ieee1394 mmx theora threads v4l x264 xvid zlib aalib \
     xine mplayer -qt4 qt3 -ipv6 3dnow -oss -gdbm dv dvd dvdread \
     win32codecs v4l2 svga nsplugin usb kqemu asf wma povray \
     qt-static seamonkey firefox -immqt immqt-bc berkdb dvdr mp4 css \
    ssl  flac ffmpeg tiff bzip2 mono kde wmv fontconfig unzip xft \
     javascript mpeg4 xml2 real gphoto2 -postgres -java5 rtsp -moznopango \
     jpeg2k pdf divx realmedia wmp gmedia vidix radio aqua_theme \
     fbcon stream ttf qq mms perl dri cairo svg xulrunner unicode \
     raw nslive sopcast -X -java -mpfr -mpbsd"
#-----------------following is good ---------------------------------

#source /usr/portage/local/layman/make.conf
LINGUAS="zh_CN"

VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev fglrx glint i128 i740 i810 imstt mach64 mga neomagic nsc nv nvidia r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo epson"
 楼主| 发表于 2010-8-31 13:57:54 | 显示全部楼层
我把gmp从use中去掉,但是emerge -e system时还是要安装gmp,绕不过去。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-31 17:51:41 | 显示全部楼层
使用USE="-amd64 -cxx"  emerge gmp也没用
试过USE="nocxx"还是不行。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-1 11:54:45 | 显示全部楼层
没有人遇到吗?英文论坛上说USE使用nocxx就可以,我怎么用了没有效果啊?
回复 支持 反对

使用道具 举报

发表于 2010-9-1 14:38:57 | 显示全部楼层
直接打开configure脚本,看看到底怎么回事
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-1 19:19:13 | 显示全部楼层
还是make.conf,我把CHOST="x86_64-pc-linux-gnu"写成CHOST="i686_64-pc-linux-gnu",此外好像不能在CFLAGS加入sse  sse2,来不及试啦,直接去掉了。
回复 支持 反对

使用道具 举报

发表于 2010-9-1 22:33:48 | 显示全部楼层
CHOST不能随便改
stage里是啥就用啥
一开始就要选对stage
回复 支持 反对

使用道具 举报

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

本版积分规则

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