View previous topic :: View next topic |
Author |
Message |
suma n00b
Joined: 15 Sep 2005 Posts: 23 Location: canberra, australia
|
Posted: Mon Sep 19, 2005 1:50 am Post subject: Error compiling base system |
|
|
Hey there. I have tried to compile the base system twice, every time I get the same error.
>>> emerge (38 of 91) dev-python/python-fchksum-1.7.1 to /
>>> md5 files ; - ) python-fchksum-1.7.1.ebuild
>>> md5 files ; - ) python-fchksum-1.6.1-r1.ebuild
>>> md5 files ; - ) files/digest-python-fchksum-1.7.1
>>> md5 files ; - ) files/digest-python-fchksum-1.6.1-r1
>>> md5 src_uri ; - ) python-fchksum-1.7.1.tar.gz
>>> unpacking source
>>> unpacking python-fchksum-1.7.1.tar.gz to /var/tmp/portage/python-fchksum-1.7.1/work
>>> source unpacked
[setup.py, build]
running build
running build-ext
building fchksum extension
creating build
creating build/temp.linux-i686-2.3
i386-pc-linux-gnu-gcc pthread fno-strict-aliasing DNDEBUG march=pentium2 03 pipe fomit-frame-pointer fPIC I/usr/include/python2.3 c md5.c o build/temp.linux-i686-2.3 /md5.o
unable to execute i386-pc-linux-gnu-gcc: no such file or directory
error: command i386-pc-linux-gnu-gcc failed with exit status 1
!!! ERROR: dev-python/python-fchksum-1.7.1 failed
Not sure if this is relevant but previously, when bootstrapping the system, I had trouble downloading the source code. It kept saying the connection closed or something. I changed the timeout value to 300 and the retries value to 0. Then it worked fine.
Any help resolving this problem would be greatly appreciated.
Cheers,
Suma |
|
Back to top |
|
|
theMerge Apprentice
Joined: 01 Sep 2005 Posts: 158 Location: Little Elm, TX
|
Posted: Mon Sep 19, 2005 4:40 am Post subject: |
|
|
Sounds like you may have some make.conf issues. Double check to make sure that your cflags are not to ambitious. Also make sure that your chosts are what they should be. To my knowledge those are about the only things that can go wrong at that early stage.
Also, are you using the stable branch or ACCEPT_KEYWORDS="foo". _________________ [Insert favorite Ghandi quote here] |
|
Back to top |
|
|
suma n00b
Joined: 15 Sep 2005 Posts: 23 Location: canberra, australia
|
Posted: Mon Sep 19, 2005 6:10 am Post subject: |
|
|
Here is my make.conf file. I cant see anything wrong with it, but I am new to linux, so that probably dosn't count for very much. I left out ACCEPT_KEYWORDS, so it defaults to X86.
USE="-X -gnome -gtk -kde -qt"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
AUTOCLEAN="yes"
PORTAGE_TMPFS="/dev/shm"
RSYNC_RETRIES="0"
RSYNC_TIMEOUT=300
I noticed that "fchksum" seems to be referenced a lot in the previous output. Could this mean that I have downloaded a corrupted file, and the hash's are not comparing. Possibly the corrupted download was not retried because of my setting the flag to zero.
Then again, this theory seems to be killed by the fact that the actual error message is "unable to execute i386-pc-linux-gnu-gcc: no such file or directory".
Cheers,
Suma |
|
Back to top |
|
|
paul555 l33t
Joined: 22 Nov 2004 Posts: 612 Location: Greece
|
Posted: Mon Sep 19, 2005 7:17 am Post subject: |
|
|
Well i think it just not founding your compiler.Go to Code: | cd /usr/lib/gcc-lib/ | directory and there create a symlink here from (or what it has) to ( Code: | ln -sf i686-pc-linux-gnu i386-pc-linux-gnu | .Also take a look here https://forums.gentoo.org/viewtopic-t-279020.html _________________ "LINUX, MS-DOS, Windows : known as the Good, the Bad and the Ugly."
http://www.gnome.gr |
|
Back to top |
|
|
suma n00b
Joined: 15 Sep 2005 Posts: 23 Location: canberra, australia
|
Posted: Tue Sep 20, 2005 8:56 am Post subject: |
|
|
yup thanks that fixed the problem... however i now have a whole range of new errors. it's a lot to type out so i'll just post the relevant parts:
touch: setting times of 'etc-temp': No such file or directory
make[4]: ***[elc-stamp] Error 1
...
make[3]: ***[po-mode.elc] Error 2
...
make[2]: ***[all] Error 2
...
make: ***[all-recursive] Error 1
!!! ERROR: sys-devel/gettext-0.14.4 failed.
!!! Function src_compile, line 65, Exitcode 2
at this stage, i feel like fdisking my hard drive and starting again -- and hope these problems don't come back.
especially since the last time i installed gentoo (on a pentium 3), it worked fine without any of these problems.
what would you guys advise?
cheers,
suma |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
|