Dopo aver fatto un update world, ogni volta che cerco di installare qualcosa o di fare update mi da un errore simile a questo (in questo caso cerco di fare un update world):
codice:
# emerge -u world
Calculating world dependencies ...done!
>>> emerge (1 of 11) dev-lang/nasm-0.98.39-r1 to /
>>> md5 files ;-) nasm-0.98.39-r1.ebuild
>>> md5 files ;-) files/digest-nasm-0.98.39-r1
>>> md5 src_uri ;-) nasm-0.98.39.tar.bz2
>>> Unpacking source...
>>> Unpacking nasm-0.98.39.tar.bz2 to /var/tmp/portage/nasm-0.98.39-r1/work
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --inf
odir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var
/lib --build=i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/nasm-0.98.39-r1/work/nasm-0.98.39/config.log
!!! ERROR: dev-lang/nasm-0.98.39-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
questa è la parte del config.log che penso possa interessare
codice:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1371: checking for i686-pc-linux-gnu-gcc
configure:1387: found /usr/bin/i686-pc-linux-gnu-gcc
configure:1397: result: i686-pc-linux-gnu-gcc
configure:1679: checking for C compiler version
configure:1682: i686-pc-linux-gnu-gcc --version </dev/null >&5
i686-pc-linux-gnu-gcc (GCC) 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1685: $? = 0
configure:1687: i686-pc-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/configure --enable-version-specific-runtime$
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)
configure:1690: $? = 0
configure:1692: i686-pc-linux-gnu-gcc -V </dev/null >&5
i686-pc-linux-gnu-gcc: `-V' option must have argument
configure:1695: $? = 1
configure:1718: checking for C compiler default output file name
configure:1721: i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer conftest.c >&5
i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory
configure:1724: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1763: error: C compiler cannot create executables
ovviamente ho anche provato più volte a dare un emerge sync prima di riprovare le installazioni.
Cosa posso fare?
Grazie