View previous topic :: View next topic |
Author |
Message |
Specialized Apprentice
Joined: 11 Jan 2005 Posts: 264
|
Posted: Thu May 26, 2005 10:48 am Post subject: bootstrapping after stage3 installation [solved] |
|
|
As I installed my Gentoo System, I was a absolute newbie to linux, so I did a Stage3 Installation.
Now I'm trying to optimize my System. I've tried to switch to the gcc-3.4 Compilers, but I always got Problems with my kernelmodules.
I thought maybe I can bootstrapp my System new to use the gcc-3.4 and switch to the pentium-m cflag and use pentuim m in my kernel .config instead of pentium 4.(I'm using a IBM t41p with centrino-processor)
Is this possible or do I crash my System instaed of improving it?
Many thanks for your answers!!!
Last edited by Specialized on Sun Jun 05, 2005 6:30 pm; edited 3 times in total |
|
Back to top |
|
|
Master Shake l33t
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Thu May 26, 2005 11:38 am Post subject: |
|
|
Yes do that. First you might want to emerge gcc then you might want to emerge -e world twice (I heard this links everything right). Also I think that you can safely use -O3 in your make.conf because anything that breaks with -O3 doesn't use it because it is stripped out. But yes it is possible to do this without screwing you system up. _________________ System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu May 26, 2005 11:51 am Post subject: |
|
|
edit your make.conf to your changes that you want..
then
emerge -e system
emerge -e system
emerge -e world
emerge -e world
THIS will ensure everything on your system is compiled with the new GCC and new make.conf stuff and all the linked libaries that was used to compile those software are equally updated.
Anything less and you are potentially entruing a world of pain _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Specialized Apprentice
Joined: 11 Jan 2005 Posts: 264
|
Posted: Thu May 26, 2005 12:10 pm Post subject: |
|
|
Do have to change my kernel .config to pentium-m=y before all that stuff or can I do it afterwards? |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu May 26, 2005 12:18 pm Post subject: |
|
|
final step after those 4 empty tree merges will be to recompile the kernel to ensure that it is also useing the latest GCC (and linked libaires) so last thing before a reboot _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Specialized Apprentice
Joined: 11 Jan 2005 Posts: 264
|
Posted: Thu May 26, 2005 12:24 pm Post subject: |
|
|
Thanks a lot!!!!
|
|
Back to top |
|
|
Specialized Apprentice
Joined: 11 Jan 2005 Posts: 264
|
Posted: Thu May 26, 2005 12:34 pm Post subject: |
|
|
Got another Problem:
Quote: | sys-apps/sysvinit (is blocking sys-apps/baselayout-1.9.4-r6)
|
But I'm already using baselayout-1.11.11-r3 |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Thu May 26, 2005 12:38 pm Post subject: |
|
|
Back in the day
Sysvinit and baslayout were combined.
Then they were separate (looks like thats where you are)
They then re-combind them
unmerge sysvinit and try again.
IF it is really neede dit will get pulled in again, but it shouldn't be, prolly just a leftover package _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Specialized Apprentice
Joined: 11 Jan 2005 Posts: 264
|
Posted: Fri May 27, 2005 11:37 am Post subject: |
|
|
Now I have a little problem with compiling arts-3.4.0:
I get this message:
Quote: | etonData::InterfaceType> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, Arts::DynamicSkeletonData::InterfaceType> const&)':
: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
collect2: ld returned 1 exit status
make[3]: *** [libmcop.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/arts-3.4.0/work/arts-1.4.0/mcop'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/arts-3.4.0/work/arts-1.4.0/mcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-3.4.0/work/arts-1.4.0'
make: *** [all] Error 2
!!! ERROR: kde-base/arts-3.4.0 failed.
!!! Function kde_src_compile, Line 162, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.
|
I can compile it with gcc-3.3.5, but not with gcc-3.4.3 |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
Posted: Fri May 27, 2005 12:46 pm Post subject: |
|
|
This looks like one of the libaries that ARTS links against is not compiled with the correct GCC (hence the reason you have to do all those emerged to ensure everything is updated)
did you do
emerge -e system
emerge -e system
first.
ARTS is part of KDE and should not be done during the SYSTEM update stage.
IF it is getting pulled in via "emerge -e system" then I would recomend editing your make.conf file and disable X,and KDE stuff, then when hte 2nd "emerge -e system" is finished re-enable them and do the two "emerge -e world" _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Specialized Apprentice
Joined: 11 Jan 2005 Posts: 264
|
Posted: Sat May 28, 2005 6:32 am Post subject: |
|
|
The two times emerege -e world worked without trouble but now I still get the Error when I try to emerge arts. |
|
Back to top |
|
|
Iron_DragonLord Apprentice
Joined: 04 Nov 2004 Posts: 273
|
Posted: Sat May 28, 2005 7:41 am Post subject: |
|
|
Wait, so are all of these emerge commands virtually the same as hootstrapping? Because I was expecting the usage of bootstap.sh |
|
Back to top |
|
|
Apewall Apprentice
Joined: 01 Dec 2004 Posts: 248 Location: USA
|
Posted: Sat May 28, 2005 7:42 am Post subject: |
|
|
Iron_DragonLord wrote: | Wait, so are all of these emerge commands virtually the same as hootstrapping? Because I was expecting the usage of bootstap.sh |
there is no need to bootstrap with a stage3 _________________ Posting for dummies |
|
Back to top |
|
|
Specialized Apprentice
Joined: 11 Jan 2005 Posts: 264
|
Posted: Thu Jun 02, 2005 7:55 pm Post subject: |
|
|
I've tried too hard... now the whole System is down. F**** Arts !! But I'm on the way to a real fast and save Stage 1on a Stage 3 Tarball installation. It looks very good... |
|
Back to top |
|
|
Specialized Apprentice
Joined: 11 Jan 2005 Posts: 264
|
Posted: Sat Jun 04, 2005 9:20 am Post subject: |
|
|
I've finish installing. It's amazing how fast some Apps open, but this might be imagination. But I can advise this kind of installation, Thanks to the Jackass-Projekt!!! |
|
Back to top |
|
|
|