Click to See Complete Forum and Search --> : installing Gentoo with NPTL?


Seph64
10-07-2004, 12:56 AM
I have been reading on the internet about something called nptl. Now, for the longest time I've had Gentoo's installing instructions locked in my head since it's my Linux of choice.

Should I install Linux with nptl? And should it be the only use flag inside my /etc/make.conf? Or can it coexist with other use flags nicely?

Thanks for any information.

fatTrav
10-07-2004, 01:01 AM
ntpl is a good way to go. I'd recommend it only because I can't see a reason not to use it.

Here are my USE flags:
USE="dvd gimpprint gstreamer gtkhtml imagemagick mmx mpeg4 avi alsa pdflib \
java nptl posix png samba tiff usb xine gtk2 gnome crypt pie truetype \
divx4linux gif jpg opengl zlib xvid xmms nls directfb fbcon motif dga \
ncurses X spell videos -apm -arts -kde -nls -qt -gpm -esd -dvdr"

Also my CFLAGS for my athlon xp 2800+
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"

I'd REALLY suggest reading the gentoo docs about USE flags because it will explain a lot. Also "less /usr/portage/profiles/use.desc" and take a peek at all the options.

Just a note: I'd be careful about the java flag. There are about 3-4 JREs and SDKs in portage and portage will pick the blackdown version over the sun version, unless you manually install the sun version

Loki3
10-07-2004, 01:09 AM
There's some good guides regarding NPTL in the Gentoo Forums's documentation section. Give this one (http://forums.gentoo.org/viewtopic.php?t=169054&highlight=nptl) a go. Good luck.

Seph64
10-07-2004, 01:15 AM
Looks like I need the 2004.2 livecd in order to install Gentoo with support for nptl. I'll continue to install Gentoo right now since I need a working bootloader. And reinstall Gentoo again at least tomorrow when I get a chance to download the image.

fatTrav
10-07-2004, 01:33 AM
you can just
emerge -uDav world
to recompile everything.

though if you are using an older version, some other steps may be needed: http://www.gentoo.org/doc/en/gentoo-upgrading.xml

Loki3
10-07-2004, 01:42 AM
I'd recommend using the newest livecd which I believe is 2004.2 for the following reason. If you use your livecd but do an 'emerge sync' and grab a current portage tree, your 2.6 kernel headers which are needed for NPTL may not be compatable with whatever gcc/glib combonation is on the livecd.

There's also more than one NPTL guide on the forums, I'd suggest searching through and finding the one that you think will work best for you. There's even one for 2004.2 + GCC3.4 + NPTL.

Seph64
10-07-2004, 03:43 AM
I am grabbing the 2004.2 LiveCD. Am I correct in guessing the Minimal LiveCD only contains stage1?

Hmm, I wonder if I can avoid the problems bootstrapping with this CD. Last time, bootstrapping failed with a "Input/Output" error when trying to emerge baselayout. If it happens again, I will post the exact error here.

j79zlr
10-07-2004, 03:46 AM
it doesn't even have a Stage 1, basically just a bootable CD.

Seph64
10-07-2004, 03:50 AM
Well that is kinda dumb imo, Gentoo 1.4 had a stage1 only LiveCD. Now 2004.2 is too good enough? BAH! ;)

Loki3
10-07-2004, 02:13 PM
I guess they figure that the portage tree changes so much it's not really worth it to contain a portage snapshot and stage tarball. Most minimial livecd user's like yourself are trying to get the to the most bleeding-edge level tha gentoo offers, hence they figure they'll just let you download your own portage tree and stage tarball.

At least that's my stupid theory.

Seph64
10-08-2004, 12:35 AM
I had to download the 2004.2 universal liveCD because the minimal wouldn't boot (yes, my bios is set to boot from CD). Hm, there was probably something I was missing anyway. ;)

Bootstrapping now, hopefully, I can get it working this time. :)

EDIT: Oops, almost forgot, thanks everyone for their suggestions.

Loki3
10-08-2004, 12:54 AM
Yah, some people have been having problems with the 2004.3 LiveCD but I thought they'd had been fixed by now. Regardless, good luck with your bootstrap.

Seph64
10-08-2004, 03:10 AM
Bootstrapping is complete, nptl is built into my compilation of glibc. :D Now emerging system.

EDIT: Okay install is done (I am going to bed after I update this reply), but I got a problem. It seems the vga= option for grub does not work as well as it used to.

As in, vga=794 would give me a framebuffer of 1280x1024, but now, grub says it's not a valid mode number.

Anyone know what is up with that?