|
|
装完基本系统后 emerge -uDN world
然后 dispatch-conf;emerge --depclean
最后 revdep-rebuild
在revdep-rebuild的时候出错了,提示perl、python等无法emerge。请问各位这是什么原因???
运行revdep-rebuild:
- * Configuring search environment for revdep-rebuild
- * Checking reverse dependencies
- * Packages containing binaries and libraries broken by a package update
- * will be emerged.
- * Collecting system binaries and libraries
- * Found existing 1_files.rr
- * Collecting complete LD_LIBRARY_PATH
- * Found existing 2_ldpath.rr.
- * Checking dynamic linking consistency
- * Found existing 3_broken.rr.
- * Assigning files to packages
- * Found existing 4_raw.rr
- * Cleaning list of packages to rebuild
- * Found existing 4_pkgs.rr
- * Assigning packages to ebuilds
- * Found existing 4_ebuilds.rr
- * Evaluating package order
- * Found existing 5_order.rr
- * Generated new 5_order.rr
- * All prepared. Starting rebuild
- emerge --oneshot dev-lang/perl:0
- dev-lang/python:2.6
- ..........
- Calculating dependencies .... done!
- >>> Verifying ebuild manifests
- >>> Starting parallel fetch
- >>> Emerging (1 of 2) dev-lang/perl-5.8.8-r5
- * perl-5.8.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
- * checking ebuild checksums ;-) ... [ ok ]
- * checking auxfile checksums ;-) ... [ ok ]
- * checking miscfile checksums ;-) ... [ ok ]
- sandbox:main signal SIGQUIT already had a handler ...
- >>> Unpacking source...
- >>> Unpacking perl-5.8.8.tar.bz2 to /var/tmp/portage/dev-lang/perl-5.8.8-r5/work
- [32;01m*[0m Applying perl-prelink-lpthread.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-perldoc-emptydirs.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-reorder-INC.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-picdl.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-noksh.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-makedepend-syntax.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.7-MakeMaker-RUNPATH.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-hppa-pa7200-configure.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-USE_MM_LD_RUN_PATH.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-links.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-cplusplus.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-gcc42-command-line.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-asm-page-h-compile-failure.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-perlcc.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-utf8-boundary.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- [32;01m*[0m Applying perl-5.8.8-CVE-2008-1927.patch ...
- [A[72C [34;01m[ [32;01mok[34;01m ][0m
- >>> Source unpacked in /var/tmp/portage/dev-lang/perl-5.8.8-r5/work
- sandbox:main signal SIGQUIT already had a handler ...
- >>> Compiling source in /var/tmp/portage/dev-lang/perl-5.8.8-r5/work/perl-5.8.8 ...
- First let's make sure your kit is complete. Checking...
- Locating common programs...
- Checking compatibility between /bin/echo and builtin echo (if any)...
- Symbolic links are supported.
- Checking how to test for symbolic links...
- You can test for symbolic links with 'test -h'.
- Good, your tr supports [:lower:] and [:upper:] to convert case.
- Using [:upper:] and [:lower:] to convert case.
- [1m[31m*[0m gcc-config: Active gcc profile is invalid![K
- gcc-config: error: could not run/locate 'i686-pc-linux-gnu-gcc'
- You need to find a working C compiler.
- Either (purchase and) install the C compiler supplied by your OS vendor,
- or for a free C compiler try [url]http://gcc.gnu.org/[/url]
- I cannot continue any further, aborting.
- [31;01m*[0m
- [31;01m*[0m ERROR: dev-lang/perl-5.8.8-r5 failed.
- [31;01m*[0m Call stack:
- [31;01m*[0m ebuild.sh, line 49: Called src_compile
- [31;01m*[0m environment, line 2501: Called src_configure
- [31;01m*[0m environment, line 2584: Called die
- [31;01m*[0m The specific snippet of code:
- [31;01m*[0m sh Configure -des -Darchname="${myarch}" -Dcccdlflags='-fPIC' -Dccdlflags='-rdynamic' -Dcc="$(tc-getCC)" -Dprefix='/usr' -Dvendorprefix='/usr' -Dsiteprefix='/usr' -Dlocincpth=' ' -Doptimize="${CFLAGS}" -Duselargefiles -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/usr/share/man/man3 -Dman1ext='1' -Dman3ext='3pm' -Dinc_version_list="$inclist" -Dcf_by='Gentoo' -Ud_csh -Dusenm "${myconf[@]}" || die "Unable to configure"
- [31;01m*[0m The die message:
- [31;01m*[0m Unable to configure
- [31;01m*[0m
- [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
- [31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/build.log'.
- [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/environment'.
- [31;01m*[0m
- >>> Failed to emerge dev-lang/perl-5.8.8-r5, Log file:
- >>> '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/build.log'
- * Messages for package dev-lang/perl-5.8.8-r5:
- * - If emerge failed during the build, fix the problems and re-run revdep-rebuild.
- * - Use /etc/portage/package.keywords to unmask a newer version of the package.
- * (and remove 5_order.rr to be evaluated again)
- * - Modify the above emerge command and run it manually.
- * - Compile or unmerge unsatisfied packages manually,
- * remove temporary files, and try again.
- * (you can edit package/ebuild list first)
- * To remove temporary files, please run:
- * rm /var/cache/revdep-rebuild/*.rr
复制代码
好像是gcc出错了,运行gcc:
- * gcc-config: Active gcc profile is invalid!
- gcc-config: error: could not run/locate 'gcc'
复制代码 |
|