Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo - The Developers Method - Stage1 and NPTL
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5 ... 23, 24, 25  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
3nd3r
n00b
n00b


Joined: 25 Aug 2004
Posts: 38
Location: /dev/null

PostPosted: Thu Oct 21, 2004 7:50 am    Post subject: Reply with quote

"if doing a new install"

make sure your USE="nptl ojbc"

and then use:

rm /etc/make.profile; ln -sf /usr/portage/profiles/default-linux/x86/2004.2 /etc/make.profile; env-update && source /etc/profile; emerge patch; emerge -C linux-headers && USE="-* build bootstrap" emerge linux26-headers; emerge --oneshot --nodeps gcc; gcc-config 2; source /etc/profile; cd /usr/portage; scripts/bootstrap-cascade.sh; emerge system; emerge syslog-ng xinetd grub hotplug vixie-cron reiserfsprogs reiser4progs sysfs
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Thu Oct 21, 2004 8:39 am    Post subject: Reply with quote

I don't see the point of your post. The oneliner in this tutorial works very well.

Commands shouldn't be chained with ; because it continues the oneliner if something fails. && continues only if previous command has finished without any errors.
Back to top
View user's profile Send private message
DrKewp
n00b
n00b


Joined: 18 Oct 2004
Posts: 2

PostPosted: Thu Oct 21, 2004 5:40 pm    Post subject: Reply with quote

robet wrote:
Any word on the workability of this with AMD64? It would be awfully nice to have nptl, udev and 64 bit Gentoo :)


There a few very important things you have to change, for exampe, using the amd64 arch and the static version of grub. I also had some problems compiling C++, in my case something was clobbering /dev/null during the build process.

When ali3nx gets his files mirrored I'll write up some addendum for the AMD64.
Back to top
View user's profile Send private message
shell_ramix
n00b
n00b


Joined: 03 Mar 2003
Posts: 17
Location: Mexico

PostPosted: Thu Oct 21, 2004 6:14 pm    Post subject: Reply with quote

Today around 3 AM, I was installing a brand new system in a Toshiba Satellite Laptop, and I could realize that there is a new /usr/portage/profiles/default-linux/x86/2004.3. So I had the crazy idea to use this instead of the 2004.2. Another think I done, was to put in my bootstrap this both Variables "nptl nptlonly"... Everything starts to build o.k., Even gcc... but a couple of things happened:

When the 3rd. proccess of the bootstrap cascade starts, when it starts to download glibc, it decides to download the 2.4. headers... then it starts compiling.....

And finaly, the last thing when i'm still in: glibc-2.3.4 can't compile because it never found on the work temp dir this: "build-i386-pc-linux-gnu-nptl".

Anyone knows what's wrong with this..? Maybe my mistake to use a profile that in fact I don't certainly know if is by now "stable enough" to build from there...

Thanks.!!!
Back to top
View user's profile Send private message
cybe
n00b
n00b


Joined: 22 Jul 2003
Posts: 67
Location: Finland

PostPosted: Fri Oct 22, 2004 12:16 pm    Post subject: Reply with quote

I just rebuilt my system using these instructions, and everything is noticably faster. Are binaries built with gcc 3.4 noticably faster than 3.3 ?

I thought my previous system should have been fairly good since I had gone NPTL and gcc 3.4 a while back and recompiled a whole lot.

P.s I was forced to rebuild after I again witnessed the power of rm -rf ! =( I had mounted my whole root in a folder I was working in, and forgot the whole thing.. Later I rm -rf:ed the folder and wondered why it felt so long. Felt like Homer Simpson.

Well, this isn´t too bad since I had most of my personal stuff backed up elsewhere and also qpkg -I started showing a little bit too much stuff I didn't recognize...


---
UPDATE: Faster ? how? Well, right now for instance I´m emerging two things at the same time on (xorg, vsftpd)my laptop (athlon XP 1500) and if I open up a new screen, with bash, or login on a new VT, it´s almost instantanious, instead of a seconds/a few seconds delay...
_________________
_________________________________
The MOST important book on the planet?
http://thewayhomeorfacethefire.info/
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Fri Oct 22, 2004 1:32 pm    Post subject: Reply with quote

I have good news!

It seems that bootstrap issues are finally solved. There's only two bootstrap-scripts (bootstrap.sh & bootstrap-macos.sh) in /usr/portage/scripts/ (yes, I even synced couple of times to see if that's possible ;))

It's totally new, modification time about 12 hours ago.

Code:

emerge -C linux-headers && emerge --oneshot --nodeps linux26-headers && cd /usr/portage && scripts/bootstrap.sh


No GCC trick, no rac-foo, nothing ;) I'll posts results in about one hour...

I don't want to know how many bootstraps I've done in a past two weeks. I think something around 20-30 :lol:

[ STATUS-UPDATE ] GCC 3.4.2 compiled succesfully, and it did change system to use 3.4.2! Now pure NPTL glibc in under of compilation...

[ STATUS-UPDATE #2 ] YAY! It passed, no problems or whatsoever!

ali3nx, time to modify tutorial? ;)


Last edited by Deranger on Sun Oct 24, 2004 3:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Fri Oct 22, 2004 6:45 pm    Post subject: Reply with quote

thanks for the heads up 8)

I'll change it up after coffee =]
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Fri Oct 22, 2004 8:55 pm    Post subject: Reply with quote

well it would seem that there can only be 0ne 8)
Code:
deleting sys-apps/portage/files/digest-portage-2.0.51
deleting scripts/bootstrap-cascade.sh
deleting scripts/bootstrap-2.6.sh
deleting profiles/uclibc/use.defaults
deleting net-print/cups/files/digest-cups-1.1.21-r1

_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
Servax
n00b
n00b


Joined: 15 Aug 2004
Posts: 44

PostPosted: Fri Oct 22, 2004 10:09 pm    Post subject: Reply with quote

Can someone please tell me the make.conf?

Also is there any other place where I can get the config for the kernel?
_________________
I used to be a owner of a server, oh well...
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Sat Oct 23, 2004 2:00 am    Post subject: Reply with quote

Servax wrote:
Can someone please tell me the make.conf?

Also is there any other place where I can get the config for the kernel?


Tutorial has been updated to reflect this weeks needed changes. The config's are once again available aswell. Stay tuned for more of the latest and greatest on The Gentoo Battlefront :wink:
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
ConVicTioN
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2004
Posts: 80
Location: Orlando

PostPosted: Sat Oct 23, 2004 5:41 pm    Post subject: Reply with quote

In your /etc/make.conf the var input line is not closed is this a typo?

#############
#
# Bootstrap only USE
#
USE="nptl objc gcj f77 erandom pic
_________________
I think there for I am?
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Sat Oct 23, 2004 6:28 pm    Post subject: Reply with quote

I'm pretty sure that's a typo. If you try to emerge anything it'll very likely give you errors.
Back to top
View user's profile Send private message
ryker
Guru
Guru


Joined: 28 May 2003
Posts: 412
Location: Portage, IN

PostPosted: Sun Oct 24, 2004 5:55 pm    Post subject: Reply with quote

DrKewp wrote:
robet wrote:
Any word on the workability of this with AMD64? It would be awfully nice to have nptl, udev and 64 bit Gentoo :)


There a few very important things you have to change, for exampe, using the amd64 arch and the static version of grub. I also had some problems compiling C++, in my case something was clobbering /dev/null during the build process.

When ali3nx gets his files mirrored I'll write up some addendum for the AMD64.


Except for the obvious changes of using amd64 arch and using static-grub, will this tutorial work for amd64 now?
_________________
Athlon 64 3200+, 80G WD sata hd + 200G IDE, 1G Geil DDR400, MSI K8T Neo
IntelCore2Duo 2.0Ghz MSI laptop,100G SATA hd, 2G RAM
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 612
Location: Winnipeg, Canada

PostPosted: Mon Oct 25, 2004 4:23 am    Post subject: Reply with quote

ConVicTioN wrote:
In your /etc/make.conf the var input line is not closed is this a typo?

#############
#
# Bootstrap only USE
#
USE="nptl objc gcj f77 erandom pic


whoops :oops:

I fixed it :wink:
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
cojo
n00b
n00b


Joined: 14 Oct 2004
Posts: 5

PostPosted: Mon Oct 25, 2004 1:33 pm    Post subject: fail sanity check Reply with quote

configure: error: C++ preprocessor "/lib/cpp" fails sanity check

when configuring libart_lgpl-2.3.16 to compile.
:(

You can access config.log at
is this ok?? ln -sf /usr/portage/profiles/default-linux/x86/2004.2 /etc/make.profile

or it must be ln -sf /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6/ /etc/make.profile


Last edited by cojo on Thu Jun 09, 2005 2:30 pm; edited 3 times in total
Back to top
View user's profile Send private message
Watchoo
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 79
Location: Slovakia

PostPosted: Mon Oct 25, 2004 3:10 pm    Post subject: Re: fail sanity check Reply with quote

cojo wrote:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

when configuring libart_lgpl-2.3.16 to compile.
:(

You can access config.log at http://212.142.175.90/gentoo/config.log

Same error here, but it only happens when using ACCEPT_KEYWORDS="~x86" during bootstrap , must be a broken e-build or something. Not using ~x86 kinda suxxx :(
_________________
Error 404: "Beer not found !!!"
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Mon Oct 25, 2004 3:14 pm    Post subject: Reply with quote

Did you merge linux26-headers with USE="-* build bootstrap"? That should fix sanity errors. However I haven't never got that error. Yeah, non ~x86 is lame ;)
Back to top
View user's profile Send private message
cojo
n00b
n00b


Joined: 14 Oct 2004
Posts: 5

PostPosted: Mon Oct 25, 2004 3:19 pm    Post subject: Reply with quote

rm /etc/make.profile && ln -sf /usr/portage/profiles/default-linux/x86/2004.2 /etc/make.profile && env-update && source /etc/profile && emerge -C linux-headers && USE="-* build bootstrap" emerge linux26-headers && cd /usr/portage && scripts/bootstrap.sh && emerge system && emerge syslog-ng xinetd grub hotplug coldplug vixie-cron reiserfsprogs reiser4progs sysfsutils udev && emerge --nodeps acpid ntp && rc-update add syslog-ng default && rc-update add net.eth0 default && rc-update add vixie-cron default && rc-update add xinetd default && rc-update add sshd default && rc-update add hotplug default && rc-update add coldplug default && rc-update add acpid default

lis this ok?? ln -sf /usr/portage/profiles/default-linux/x86/2004.2 /etc/make.profile

or it must be ln -sf /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6/ /etc/make.profile

the virtuals is in 2.6 directory
Back to top
View user's profile Send private message
Watchoo
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 79
Location: Slovakia

PostPosted: Mon Oct 25, 2004 3:50 pm    Post subject: Reply with quote

Oktane wrote:
Did you merge linux26-headers with USE="-* build bootstrap"? That should fix sanity errors. However I haven't never got that error. Yeah, non ~x86 is lame ;)


Yes, I did, I'd "copy & paste" it and then check if it's right ...
Also using the other profile makes ufed not usable, 'cos it does not contain use.defaults ...
_________________
Error 404: "Beer not found !!!"
Back to top
View user's profile Send private message
cojo
n00b
n00b


Joined: 14 Oct 2004
Posts: 5

PostPosted: Mon Oct 25, 2004 5:01 pm    Post subject: Reply with quote

I think the problem are the linux-headers 2.6.8.1-r1.
with the 2.6.8.1 no problem.
Back to top
View user's profile Send private message
Watchoo
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2004
Posts: 79
Location: Slovakia

PostPosted: Mon Oct 25, 2004 9:24 pm    Post subject: Reply with quote

cojo wrote:
I think the problem are the linux-headers 2.6.8.1-r1.
with the 2.6.8.1 no problem.

I disagree, I still have the same problem even if using only 2.6.8.1 linux26-headers...
_________________
Error 404: "Beer not found !!!"
Back to top
View user's profile Send private message
Dunska
n00b
n00b


Joined: 27 Apr 2002
Posts: 15
Location: Brisbane, Australia

PostPosted: Tue Oct 26, 2004 1:18 am    Post subject: Reply with quote

I had the sanity check issue as well with the system I am just building using ~x86.

The fix for me was to "emerge --oneshot --nodeps gcc gcc-config" to get gcc 3.4.2 before running the boostrap script. I also needed to manually set gcc 3.4.2 as the default compiler with "gcc-config 2" as it was not set automatically. After that, all was fine. EDIT: Remember to "env-update && source /etc/profile" after emerging gcc.

I also just noticed that /etc/conf.d/rc has now changed. There is no longer the "RC_DEVFSD_STARTUP" setting. It looks like it has been replaced by "RC_DEVICES" which can be set to "auto", "devfs", "udev" or "static". I set it to "udev".
Back to top
View user's profile Send private message
Servax
n00b
n00b


Joined: 15 Aug 2004
Posts: 44

PostPosted: Tue Oct 26, 2004 1:52 am    Post subject: Reply with quote

So do we do emerge --nodeps --oneshot gcc && gcc-config etc etc... then run bootstrap.sh?


Btw, anyone know why they removed bootstrap-cascade.sh?
_________________
I used to be a owner of a server, oh well...
Back to top
View user's profile Send private message
Dunska
n00b
n00b


Joined: 27 Apr 2002
Posts: 15
Location: Brisbane, Australia

PostPosted: Tue Oct 26, 2004 2:12 am    Post subject: Reply with quote

Yeah, I did each command in the "one-liner" individually. Just before running "scripts/bootstrap.sh" I ran
Code:
emerge --oneshot --nodeps gcc gcc-config
gcc-config 2
env-update
source /etc/profile

Then I continued with the "one-liner" commands individually.
Code:
scripts/bootstrap.sh
emerge system
<etc, etc>

I actually had an error while running "emerge system" as perl could not be found. I re-ran "emerge system" and the compile went fine (with perl now higher up the list of programs to emerge).

bootstrap-cascade.sh has been depreciated in favor of a (now working) bootstrap.sh. It is mentioned in this thread.
Back to top
View user's profile Send private message
Servax
n00b
n00b


Joined: 15 Aug 2004
Posts: 44

PostPosted: Tue Oct 26, 2004 2:51 am    Post subject: Reply with quote

gcc-config 2 does not work for me, it just gives me a list of what I can do...
_________________
I used to be a owner of a server, oh well...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5 ... 23, 24, 25  Next
Page 4 of 25

 
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