Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i386 -> i686
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
Tuinslak
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2003
Posts: 129
Location: Belgium

PostPosted: Sun Oct 30, 2005 12:17 am    Post subject: i386 -> i686 Reply with quote

Hi,

I need to manage a gentoo server in a datacenter for a customer of mine. An other host installed Gentoo on it. Now it seems that the installation hasn't been done as supposed.
It's a sempron cpu and everything has been compiled for i386.

So;

I re-bootstrapped everything, emerge -e system, ran fix_libtool_files.sh `gcc -dumpversion` --oldarch i386-pc-linux-gnu, and gcc-config i686-pc-linux-gnu-3.3.6.

Now

1) is there a way to see if everything has been recompiled for 686?
2) is everything compiling the right way, and not 386?
3) apache errors, is this a gcc/cflag problem?
checking for i686-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
It also tells me to check config.log, but I can't find any config.log.. (updatedb && locate config.log .. ;))


Other problem:
Linux idefix 2.6.12-gentoo-r10 #2 SMP Mon Oct 3 03:14:29 Local time zone must be set--see zic m i686 AMD Sempron(tm) 2800+ AuthenticAMD GNU/Linux

A bad kernel (smp...) with time zone unset. I've created (linked actually) /etc/localtime. Is that enough? To get the message away, do I need to reboot or recompile the kernel?


MySQL has been (badly?) installed. I'd like to remove EVERYTHING from MySQL, and reinstall it, as if it was the very first time I install MySQL (need to set root pass, etc). Any idea how?

Thanks


The make.conf file (partially):
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
_________________
Tuinslak
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Oct 30, 2005 12:30 am    Post subject: Reply with quote

Assuming your toolchain is now i686, you probably should do an emerge -e world too.

I think that the kernel has to be recompiled after you change the timezone setting to get it to show up correctly.

I don't know about your other issues, sorry.
Back to top
View user's profile Send private message
Tuinslak
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2003
Posts: 129
Location: Belgium

PostPosted: Sun Oct 30, 2005 8:31 am    Post subject: Reply with quote

Emerge -e world has been done.


and how to be sure about the toolchain? That it's set correctly?


emerge apache also doesn't errror anymore.
_________________
Tuinslak
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Sun Oct 30, 2005 2:47 pm    Post subject: Reply with quote

if you search the forums, you'll find plenty of threads about the trouble that results from attempting to change a CHOST specification. without going into alot of detail about why, yoiu have to do this:

Code:

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


attempting to change the CHOST as you have done is something that is NOT recommended.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
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