|
supra
computerEnthusiast
Registered: 10/26/03
Posts: 6,446
Loc: TEXAS
Last seen: 13 years, 1 month
|
Re: Gentoo linux help [Re: supra]
#8921362 - 09/12/08 11:08 PM (15 years, 8 months ago) |
|
|
alright, I have just...well still am compiling and installing gcc-4.3.1-r1, and if i run an
emerge -e system
then
emerge -e world
Would that upgrade everything, first my toolchain, then all my apps with new toolchain, yet keep all the same USE flags I had used. As a noob to this, i have been going in, editing /etc/make.conf, building whatever I needed to, the just taking the flags back out. I have also used the command line USE flag adding. Evidently, i should have been using the package.use file so it would retain all my USE flags...is this correct, should I just not worry about it, and re add them when i need those options?
hopefully it will re do them with sam euse flag as long as i don't use the -N option on emerge system or world.
thanks for the help.
|
automan
blasted chipmunk


Registered: 09/18/03
Posts: 8,272
|
Re: Gentoo linux help [Re: supra]
#8923460 - 09/13/08 12:35 PM (15 years, 8 months ago) |
|
|
Your USE flags in the make.conf should have the flags you want most everything to build wth. If you want certain packages to be built differently, put them in your /etc/portage/package.use with the special flags and that single package will be built that special way every timme in the future. If you add, then delete flags in the make.conf, upon update all your settings will be lost.
-------------------- No, no, you're not thinking, you're just being logical. ~ Niels Bohr
|
insectvhore
lord of flies

Registered: 07/09/99
Posts: 1,233
Last seen: 11 months, 3 days
|
Re: Gentoo linux help [Re: supra]
#8924767 - 09/13/08 05:41 PM (15 years, 8 months ago) |
|
|
yeah like automan said, leave in /etc/make.conf all the use flags you want for your entire system, do not remove them as it will cause problems when you run 'emerge -avuDN world' (used to keep everything up to date)
if there is a package for which you want, for example, QT support compiled in, but you do not want QT support for everything, then enter into /etc/portage/package.use the name of the program followed by the use flag, for example:
x11-libs/pixman -sse2
this will, for only the package 'pixman' NOT include sse2 support, but since i have sse2 in my /etc/make.conf, everything else WILL have sse2 support
to answer your other question yes: emerge -e system will re-emerge your entire toolchain, and emerge -e world will re-emerge your 'world' i.e. all your packages that you have not implicitly declared to not be recorded in the world file, e.g. used --oneshot
it's best though to not change around your use flags in make.conf, even if you do not use the --newuse (-n) option on emerges
|
supra
computerEnthusiast
Registered: 10/26/03
Posts: 6,446
Loc: TEXAS
Last seen: 13 years, 1 month
|
|
alright, sounds good. There were just a shit ton of flags to go through when i compiled Kde, and i added them all to the make.conf, and i was not sure i would want all the same stuff to be supported by all apps in the future. I think im just going to keep adding things in the /etc/portage/package.use from now on, that way, everything is there, leaving only the more system wide flags in make.conf. Things like processor flags, jpeg/tiff/etc, nvidia, x264.
I guess thats kind of what your saying. even with the little I had installed, after updating to gcc-4.3.1-r1, the recompile of everything took about 8 hrs, system and world.
thanks for the help everyone
peace
|
automan
blasted chipmunk


Registered: 09/18/03
Posts: 8,272
|
Re: Gentoo linux help [Re: supra]
#8929573 - 09/14/08 05:10 PM (15 years, 8 months ago) |
|
|
gcc is what took so long. it always takes forever. i only update it when more major revisions are released or it comes across a glsa that it should be updated for security reasons.
-------------------- No, no, you're not thinking, you're just being logical. ~ Niels Bohr
|
Cepheus
Balance




Registered: 04/19/06
Posts: 8,266
Loc: the space between reality...
Last seen: 1 month, 20 days
|
Re: Gentoo linux help [Re: supra]
#8929586 - 09/14/08 05:14 PM (15 years, 8 months ago) |
|
|
You don't have to use the menuconfig.
All you have to do, during the install is emerge -va genkernel gentoo-sources
Then 'genkernel all'
And it compiles and installs the kernel and initramfs image into /boot
If you use genkernel it sets up the kernel like it is on the livecd, so it supports pretty much all hardware .
You have to setup grub slightly differently, but its all in the gentoo handbook .
-------------------- "I only ever hope to reach equilibrium, in Nature's matrix, in line with the meridian" ~ Jehst
"...and I know that I have to keep breathing, as tomorrow the sun will rise, who knows what the tide will bring?" Free Spore Ring Europe Send any spare spore prints you might have and help the distribution
Open Source. Freedom. GNU/Linux Addicting is not a word.
|
|