gentoo安装失败,表现为安装不了软件(已更新原版错误代码)2010.10.27

其它Linux/Unix/BSD/OSX等发行版讨论
回复
头像
lwaterl
帖子: 379
注册时间: 2007-08-24 17:46
送出感谢: 14 次
接收感谢: 2 次

gentoo安装失败,表现为安装不了软件(已更新原版错误代码)2010.10.27

#1

帖子 lwaterl » 2010-10-26 18:26

首先对进来的你表示感谢!!

===我的电脑配置===

CPU ------- --------- --------- AMD athlon64 3000+
芯片组 ------- --------- --------- NVIDIA GeForce 6100 (C51) + MCP51
显示芯片(主板集成)--------- --------- NVIDIA GeForce 6100 (C51)
音频设备(主板集成)--------- --------- NVIDIA MCP51 —A -------就是AC 97的声卡
网络设备(主板集成)--------- --------- 瑞昱 RTL9139 Family PCO Faston Ethernet NIC
希捷80G硬盘

==================

最下面有我的安装过程
安装光盘为10.1-livedvd
我看的是www.gentoo.org/doc/zh_cn/handbook/handbook-x86.xml的手册,应该就是传说中的‘官方手册’,配合linuxsir上的顶置贴。

=====
问题就是标题所说,表现为软件安装不了

安装到手册第9步——安装系统工具,就出错了,下面是两个例子:

代码: 全选

(chroot) livecd linux # emerge grub

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

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-boot/grub-0.97-r10
openpty failed: 'out of pty devices'
 * grub-0.97.tar.gz RMD160 SHA1 SHA256 size ;-) ...                      [ ok ]
 * splash.xpm.gz RMD160 SHA1 SHA256 size ;-) ...                         [ ok ]
 * grub-0.97-patches-1.10.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...        [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  sys-boot/grub-0.97-r10
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux ncurses userland_GNU x86
>>> Unpacking source...
>>> Unpacking grub-0.97.tar.gz to /var/tmp/portage/sys-boot/grub-0.97-r10/work
>>> Unpacking splash.xpm.gz to /var/tmp/portage/sys-boot/grub-0.97-r10/work
>>> Unpacking grub-0.97-patches-1.10.tar.bz2 to /var/tmp/portage/sys-boot/grub-0.97-r10/work
 * Grub will support the default maximum kernel size of  Mb (GRUB_MAX_KERNEL_SIZE)
 * Applying various patches (bugfixes/updates) ...
 *   001_all_grub-0.95.20040823-splash.patch ...                          [ ok ]
 *   002_all_grub-0.97-splashimage-safety.patch ...                       [ ok ]
 *   003_all_grub-0.97-example-rescue-shell.patch ...                     [ ok ]
 *   005_all_grub-0.96-PIC.patch ...                                      [ ok ]
 *   008_all_grub-0.97-AM_PROG_AS.patch ...                               [ ok ]
 *   010_all_grub-0.96-bounced-checks.patch ...                           [ ok ]
 *   011_all_grub-0.97-varargs.patch ...                                  [ ok ]
 *   015_all_grub-0.96-unsigned-addresses.patch ...                       [ ok ]
 *   016_all_grub-0.97-multiboot-memory-amount.patch ...                  [ ok ]
 *   040_all_grub-0.96-nxstack.patch ...                                  [ ok ]
 *   060_all_grub-0.96-netboot-pic.patch ...                              [ ok ]
 *   070_all_grub-0.97-initrd_max_address.patch ...                       [ ok ]
 *   090_all_grub-0.97-intelmac.patch ...                                 [ ok ]
 *   100_all_grub-0.97-splashimage-example.patch ...                      [ ok ]
 *   110_all_grub-0.97-ptable-fix.patch ...                               [ ok ]
 *   300_all_grub-0.97-pie-safety.patch ...                               [ ok ]
 *   410_all_grub-0.97-dhcp-vendorclass.patch ...                         [ ok ]
 *   420_all_grub-0.97-chainload-logical.patch ...                        [ ok ]
 *   550_all_grub-0.97-long-commandline.patch ...                         [ ok ]
 *   600_all_grub-0.97-gpt-partition-table.patch ...                      [ ok ]
 *   700_all_grub-0.97-grub-install_addsyncs.patch ...                    [ ok ]
 *   710_all_grub-0.97-grub-install_regexp.patch ...                      [ ok ]
 *   720_all_grub-0.97-grub-install_aoe_support.patch ...                 [ ok ]
 *   800_all_grub-0.97-crossreference_manpages.patch ...                  [ ok ]
 *   810_all_grub-0.97-ext3_256byte_inode.patch ...                       [ ok ]
 *   820_all_grub-0.97-cvs-sync.patch ...                                 [ ok ]
 *   821_all_grub-0.97-grub-special_device_names.patch ...                [ ok ]
 *   822_all_grub-0.97-geometry-26kernel.patch ...                        [ ok ]
 *   830_all_grub-0.97-raid_cciss.patch ...                               [ ok ]
 *   840_all_grub-0.97_kvm_vda.patch ...                                  [ ok ]
 *   850_all_grub-0.97_ext4.patch ...                                     [ ok ]
 *   860_all_grub-0.97-pie.patch ...                                      [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97' ...
 * Running aclocal ...                                                    [ ok ]
 * Running autoconf ...                                                   [ ok ]
 * Running autoheader ...                                                 [ ok ]
 * Running automake --add-missing --copy ...                              [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-boot/grub-0.97-r10/work
>>> Compiling source in /var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97 ...
 * econf: updating grub-0.97/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating grub-0.97/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=athlon64-pc-linux-gnu --host=athlon64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --datadir=/usr/lib/grub --exec-prefix=/ --disable-auto-linux-mem-opt --with-curses
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... Invalid configuration `athlon64-pc-linux-gnu': machine `athlon64-pc' not recognized
configure: error: /bin/sh ./config.sub athlon64-pc-linux-gnu failed

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97/config.log
 * ERROR: sys-boot/grub-0.97-r10 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4266:  Called econf '--libdir=/lib' '--datadir=/usr/lib/grub' '--exec-prefix=/' '--disable-auto-linux-mem-opt' '--with-curses'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-boot/grub-0.97-r10',
 * the complete build log and the output of 'emerge -pqv =sys-boot/grub-0.97-r10'.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-0.97-r10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-0.97-r10/temp/environment'.
 * S: '/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97'

>>> Failed to emerge sys-boot/grub-0.97-r10, Log file:

>>>  '/var/tmp/portage/sys-boot/grub-0.97-r10/temp/build.log'

 * Messages for package sys-boot/grub-0.97-r10:

 * ERROR: sys-boot/grub-0.97-r10 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4266:  Called econf '--libdir=/lib' '--datadir=/usr/lib/grub' '--exec-prefix=/' '--disable-auto-linux-mem-opt' '--with-curses'
 *     ebuild.sh, line  544:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-boot/grub-0.97-r10',
 * the complete build log and the output of 'emerge -pqv =sys-boot/grub-0.97-r10'.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-0.97-r10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-0.97-r10/temp/environment'.
 * S: '/var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97'

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


第二个例子:

代码: 全选

(chroot) livecd ~ # emerge syslog-ng

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

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 13) dev-libs/eventlog-0.2.12
openpty failed: 'out of pty devices'
 * eventlog_0.2.12.tar.gz RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  dev-libs/eventlog-0.2.12
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking eventlog_0.2.12.tar.gz to /var/tmp/portage/dev-libs/eventlog-0.2.12/work
>>> Source unpacked in /var/tmp/portage/dev-libs/eventlog-0.2.12/work
>>> Preparing source in /var/tmp/portage/dev-libs/eventlog-0.2.12/work/eventlog-0.2.12 ...
 * Removing useless C++ checks ...                                                        [ ok ]
 * Running elibtoolize in: eventlog-0.2.12/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/eventlog-0.2.12/work/eventlog-0.2.12 ...
 * econf: updating eventlog-0.2.12/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating eventlog-0.2.12/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=athlon64-pc-linux-gnu --host=athlon64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for athlon64-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking build system type... Invalid configuration `athlon64-pc-linux-gnu': machine `athlon64-pc' not recognized
configure: error: /bin/sh ./config.sub athlon64-pc-linux-gnu failed

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/eventlog-0.2.12/work/eventlog-0.2.12/config.log
 * ERROR: dev-libs/eventlog-0.2.12 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 2664:  Called econf '--disable-dependency-tracking' '--disable-static'
 *     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/eventlog-0.2.12',
 * the complete build log and the output of 'emerge -pqv =dev-libs/eventlog-0.2.12'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/eventlog-0.2.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/eventlog-0.2.12/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/eventlog-0.2.12/work/eventlog-0.2.12'

>>> Failed to emerge dev-libs/eventlog-0.2.12, Log file:

>>>  '/var/tmp/portage/dev-libs/eventlog-0.2.12/temp/build.log'

 * Messages for package dev-libs/eventlog-0.2.12:

 * ERROR: dev-libs/eventlog-0.2.12 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_configure
 *   environment, line 2664:  Called econf '--disable-dependency-tracking' '--disable-static'
 *     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/eventlog-0.2.12',
 * the complete build log and the output of 'emerge -pqv =dev-libs/eventlog-0.2.12'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/eventlog-0.2.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/eventlog-0.2.12/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/eventlog-0.2.12/work/eventlog-0.2.12'

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

(chroot) livecd ~ # 
上次由 lwaterl 在 2010-10-27 18:14,总共编辑 2 次。
cambi
帖子: 14
注册时间: 2008-12-07 22:53
送出感谢: 1 次
接收感谢: 1 次

Re: gentoo安裝失敗,表現為安裝不了軟件(已更新原版錯誤代碼)2010.10.27

#2

帖子 cambi » 2010-10-29 2:53

代码: 全选

checking build system type... Invalid configuration `athlon64-pc-linux-gnu': machine `athlon64-pc' not recognized
改了 make.conf 裡的 CHOST ?
CHOST 不應該改

代码: 全选

CHOST="i686-pc-linux-gnu"
參考這裡
http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD
头像
lwaterl
帖子: 379
注册时间: 2007-08-24 17:46
送出感谢: 14 次
接收感谢: 2 次

Re: gentoo安装失败,表现为安装不了软件(已更新原版错误代码)2010.10.27

#3

帖子 lwaterl » 2010-10-31 17:26

:em56 谢谢。我试试
回复

回到 “其它类Unix OS发行版”