Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is this right?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Sat Jun 23, 2007 6:03 pm    Post subject: Is this right? Reply with quote

I did a recent install from the 2007.0 disk, and downloaded the latest corresponding stage3 tarball (x86 for both).

When I untarred it, the make.conf contained this line:
CHOST="i486-pc-linux-gnu"

I always remember this being:
CHOST="i686-pc-linux-gnu"

but it has been a while... so... is 486 correct here? Or should I change it?

(this is a c3-2 nehemiah machine, if that makes a difference...)
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
Ehnvis
Guru
Guru


Joined: 13 Jun 2006
Posts: 305
Location: /dev/random

PostPosted: Sat Jun 23, 2007 6:16 pm    Post subject: Reply with quote

You should change it to i686
_________________
HP NC 4010, Pentium-M 725 1.6GHz w/ 1Gb RAM, 60Gb Hitachi Travelstar.
Running Gentoo-2.6.21-r4 (again as 2.6.22 kernels hogs CPU), all but SD reader works fine.
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Sat Jun 23, 2007 6:23 pm    Post subject: Reply with quote

Is this a bug then? Should I report this?
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Sat Jun 23, 2007 7:02 pm    Post subject: Reply with quote

Not so sure now... some things would not compile with i686... putting it back to 486 made it work...

There was no /usr/bin/i686-pc-linux-gnu

but there was a /usr/bin/i486-pc-linux-gnu

Looked like that was what portage was complaining about...
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Sat Jun 23, 2007 7:06 pm    Post subject: Reply with quote

You've downloaded the wrong tarball.You need stage3-i686-2007.0.tar.bz2 and NOT stage3-x86-2007.0.tar.bz2.
Don't change the CHOST,download the correct stage3 tarball.
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Sat Jun 23, 2007 7:07 pm    Post subject: Reply with quote

grooveman wrote:
Not so sure now... some things would not compile with i686... putting it back to 486 made it work...

There was no /usr/bin/i686-pc-linux-gnu-gcc

but there was a /usr/bin//usr/bin/i486-pc-linux-gnu-gcc

Looked like that was what portage was complaining about...

_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Sat Jun 23, 2007 7:08 pm    Post subject: Reply with quote

john.doe wrote:
You've downloaded the wrong tarball.You need stage3-i686-2007.0.tar.bz2 and NOT stage3-x86-2007.0.tar.bz2.
Don't change the CHOST,download the correct stage3 tarball.


Shit!

Does that mean I have to redo everything from scratch?? reinstall??
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Sat Jun 23, 2007 7:14 pm    Post subject: Reply with quote

grooveman wrote:

Shit!

Does that mean I have to redo everything from scratch?? reinstall??

Looks like it.I would begin from the ground,except partitioning etc. :wink:
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
Nicias
Guru
Guru


Joined: 06 Dec 2005
Posts: 446

PostPosted: Sat Jun 23, 2007 8:52 pm    Post subject: Reply with quote

if you have already invest substantial work in your machine, and you don't want to redo it. you can change the CHOST.

Here is basically what it entails.

You do something like

emerge -1 linux-headers glibc binutils-config binutils gcc-config gcc

(maybe do this twice)

And hopefully that will work.

Then you do

emerge -e system

(maybe twice)

and then you do

emerge -e world

(maybe twice)

This *should* work, but it won't.

There are a few packages that behave badly when it comes to CHOST. For me they were xorg-x11 (these was before modular X) and python. These will stop working when you change your CHOST, as they are needed to build some things (like X I believe) some of your emerge's above will fail with cryptic errors. You can then emerge the required packaged and it should work itself out.

So what I think I did was

emerge -1 linux-headers glibc binutils-config binutils gcc-config gcc

(maybe I did this twice)
then I did what was done here
then I did

emerge -e system
emerge -e system
emerge -e world
emerge -e world

See more discussion in this post.

I didn't notice that I had done the same thing until about 6 months into using my machine and didn't want to have to redo that much work. If I had noticed within a week or so, I might have just reinstalled.
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Sun Jun 24, 2007 3:45 pm    Post subject: Reply with quote

Hey, thank you!
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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