Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A python error?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Theweakend
n00b
n00b


Joined: 11 Aug 2005
Posts: 14
Location: Jolly 'ol england

PostPosted: Thu Aug 11, 2005 5:34 pm    Post subject: A python error? Reply with quote

gcc-config error: could not run/locate "i386-pc-linux-gnugcc"
error: command 'I386-pclinux-gnu-gcc' failed with exit status 1

dev-python/python-fchksum 1.7.1 failed

I am using the 2005.0 disk and installing on an athlon +2500

this is when I move to stage 3 (so "emerge --emptytree system" is what I typed)

Any help is much apreacted
_________________
l.l.k.c.


Last edited by Theweakend on Thu Aug 11, 2005 5:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jimi...
Tux's lil' helper
Tux's lil' helper


Joined: 06 Aug 2005
Posts: 136
Location: IoM

PostPosted: Thu Aug 11, 2005 5:38 pm    Post subject: Reply with quote

I'm not sure on this but shouldn't you have used the x86 installation as I think the I386 is for Intel, I could be wrong though.
Back to top
View user's profile Send private message
Theweakend
n00b
n00b


Joined: 11 Aug 2005
Posts: 14
Location: Jolly 'ol england

PostPosted: Thu Aug 11, 2005 5:42 pm    Post subject: Reply with quote

The x86 disk is for athlons as well as intels I used the right disk I know that

thanks any way at least I got one reply ;)
_________________
l.l.k.c.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Aug 11, 2005 6:16 pm    Post subject: Re: A python error? Reply with quote

Theweakend wrote:
gcc-config error: could not run/locate "i386-pc-linux-gnugcc"
error: command 'I386-pclinux-gnu-gcc' failed with exit status 1

What stage tarball did you start with ?
What is the output of "emerge --info" ?
Back to top
View user's profile Send private message
Theweakend
n00b
n00b


Joined: 11 Aug 2005
Posts: 14
Location: Jolly 'ol england

PostPosted: Thu Aug 11, 2005 6:18 pm    Post subject: Reply with quote

I restarted the install so I well se what happens this time around sorry about that
_________________
l.l.k.c.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Thu Aug 11, 2005 7:05 pm    Post subject: Reply with quote

Welcome to the Gentoo forums, BTW. :)
Back to top
View user's profile Send private message
Theweakend
n00b
n00b


Joined: 11 Aug 2005
Posts: 14
Location: Jolly 'ol england

PostPosted: Thu Aug 11, 2005 7:07 pm    Post subject: Reply with quote

Thank you sorry I'm really not a fourm person so depending on this install I may not stay, sorry
_________________
l.l.k.c.
Back to top
View user's profile Send private message
bet1m
l33t
l33t


Joined: 04 Dec 2004
Posts: 631
Location: Kosova/Prishtine

PostPosted: Thu Aug 11, 2005 7:52 pm    Post subject: Reply with quote

would you post here your:
Code:
# emerge --info

_________________
#370559
Back to top
View user's profile Send private message
Theweakend
n00b
n00b


Joined: 11 Aug 2005
Posts: 14
Location: Jolly 'ol england

PostPosted: Thu Aug 11, 2005 8:42 pm    Post subject: Reply with quote

I'll see if it happens again if it does I well post it do you want me to post it either way?
_________________
l.l.k.c.
Back to top
View user's profile Send private message
dschobel
n00b
n00b


Joined: 26 Jan 2005
Posts: 51

PostPosted: Thu Aug 11, 2005 11:42 pm    Post subject: Reply with quote

hi all, I wanted to chime in because I'm getting the same exact error trying to do a gentoo 2005.1 stage1 install on a pentium 4 machine. I can't post my emerge --info as I'm posting this from links, so if there's any specifc information that would be useful from there so that we can get to the bottom of this, please let me know.
Back to top
View user's profile Send private message
Theweakend
n00b
n00b


Joined: 11 Aug 2005
Posts: 14
Location: Jolly 'ol england

PostPosted: Thu Aug 11, 2005 11:43 pm    Post subject: Reply with quote

it failed again so hear it is:

Gentoo Base System version 1.6.13
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: [Not Present]
sys-devel/automake: [Not Present]
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: [Not Present]
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
_________________
l.l.k.c.
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3374
Location: USA

PostPosted: Fri Aug 12, 2005 12:28 am    Post subject: Reply with quote

Theweakend wrote:
The x86 disk is for athlons as well as intels I used the right disk I know that

well, no. you've encountered a famous problem: new users often choose to install using the wrong tarball, and python is merciless when you try to compile for a 686 CHOST when using a tarball that includes libraries that were designed for a 386 CHOST. believe it or not, the x86 tarball is absolutely the wrong tarball for your architecture, and you cannot succeed in using it for your installation because the CHOST is not correct for your architecture. other new users having this problem should read that last sentence again.

performing a successful gentoo install is all about selecting the right tarball, CHOST setting, and march setting for your architecture. you MUST get all three of these things right, or your gentoo install will be b0rked.

now that we know that you've installed from the wrong tarball, we know that there are two ways to approach your problem: the easy fix and the difficult fix. the easy fix is to start over and install from the athlon-xp tarball, NOT from the x86 tarball. just download the appropriate tarball and reinstall.

the hard fix is to jump through a large number of hoops to try to rebuild the files to change the CHOST. unfortunately, changing the CHOST is a very complex problem that involves purging the system of statically retained libraries and is tricky to accomplish properly. i wouldn't advise that option for a new user. i would get the appropriate tarball and start over.

hth.
Back to top
View user's profile Send private message
dschobel
n00b
n00b


Joined: 26 Jan 2005
Posts: 51

PostPosted: Fri Aug 12, 2005 12:37 am    Post subject: Reply with quote

hmmm, and in my case? I started from an x86 stage1 tarball and I'm compiling with i686 for chost and march=pentium4 as a cflag, those should be kosher, no?
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3374
Location: USA

PostPosted: Fri Aug 12, 2005 12:43 am    Post subject: Reply with quote

dschobel wrote:
hmmm, and in my case? I started from an x86 stage1 tarball and I'm compiling with i686 for chost and march=pentium4 as a cflag, those should be kosher, no?

i am no expert on Kosher Law, but you can use the x86 tarball with a P4 if and only if you're bootstrapping from a Stage 1 tarball. if you're using a Stage 2 or a Stage 3 tarball, you must choose the appropriate tarball for your architecture. if @Theweakend is performing a Stage 1 install, then I misspoke, and he is suffering from a python idiosyncracy. (they are common).
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3374
Location: USA

PostPosted: Fri Aug 12, 2005 12:46 am    Post subject: Reply with quote

this python problem is very extensively documented as a snafu on Stage 1 installs. there literally have to be THOUSANDS of posts on that subject. a simple search for the "python-fchksum" error that was displayed on your screen would have given you the answer:

https://forums.gentoo.org/viewtopic-t-348363-highlight-pythonfchksum.html
https://forums.gentoo.org/viewtopic-t-314985-start-401.html

at the risk of soundling like a wise guy, you guys should really try the search feature. its very helpful, and it saves alot of unnecessary typing on everyone's part. :wink:

on a related subject, there is no good reason to perform a Stage 1 install when a Stage 3 tarball already exists for your architecture. but for some reason, people tend to believe that a Stage 1 install provides them with something special. it doesn't.


Last edited by Bob P on Fri Aug 12, 2005 12:55 am; edited 1 time in total
Back to top
View user's profile Send private message
dschobel
n00b
n00b


Joined: 26 Jan 2005
Posts: 51

PostPosted: Fri Aug 12, 2005 12:55 am    Post subject: Reply with quote

I did search quite a bit before posting, just not competently it seems....

Ah well, thanks for the help just the same.
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3374
Location: USA

PostPosted: Fri Aug 12, 2005 12:56 am    Post subject: Reply with quote

getting the right text into the search string is the key to success. if you simply search for "python-fchksum" you will see A LOT of helpful threads. the bottom line is that you need to emerge python before your emerge -e system because of a circular dependency issue.

have fun.
Back to top
View user's profile Send private message
Theweakend
n00b
n00b


Joined: 11 Aug 2005
Posts: 14
Location: Jolly 'ol england

PostPosted: Fri Aug 12, 2005 8:37 am    Post subject: Reply with quote

Just for a little note I did start from stage 1

And I just emerged python and started emerge -empty tree system again

thanks for all the help ;)
_________________
l.l.k.c.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Aug 12, 2005 9:52 am    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads in favour of [Solved] Emerge Fails on python-fchksum
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum