1 |
"Christopher E" <sensory.access@×××××.com> posted |
2 |
184c54640605190933k5bff423m961897d2a4c79403@××××××××××.com, excerpted |
3 |
below, on Fri, 19 May 2006 12:33:34 -0400: |
4 |
|
5 |
> 22. nano -w /mnt/gentoo/etc/make.conf |
6 |
> Add: -march=k8 |
7 |
> Add: MAKEOPTS="-j2" |
8 |
> Add: USE="gtk gnome qt kde dvd alsa cdr opengl radeon -sis -rage128 |
9 |
> -matrox -3dfx -gamma -i8x0 " |
10 |
> Add: VIDEO_CARDS="fglrx radeon" |
11 |
> Add: ACCEPT_KEYWORDS="~amd64" |
12 |
|
13 |
I've been saving this to reply to when I wasn't too tired to make sense of |
14 |
it. Seems you may be doing it, so maybe I should hurry it up... |
15 |
|
16 |
I've only done the initial stage-1 setup, and now they recommend starting |
17 |
from stage three and just doing an emerge --emptytree, so I don't have |
18 |
much of use to say in that or the other areas. However, two suggestions |
19 |
come to mind, one general, one specific based on the above. |
20 |
|
21 |
Specific: Check that those video card USE flags are all USE flags, not |
22 |
VIDEO_CARDS flags (that is, USE_EXPAND, not USE). sis, for instance, |
23 |
doesn't appear to be a USE flag (euse -i sis doesn't list it for either |
24 |
local or global), altho i8x0 is a local use flag for a couple packages. |
25 |
|
26 |
General: Since you are starting over, it's a good time to consider one of |
27 |
my favorite features, FEATURES=buildpkg. The idea is that portage creates |
28 |
a binary package of everything it merges with that feature, then instead |
29 |
of doing qmerge directly, it merges from the binpkg it just created, |
30 |
thereby testing it to be sure it works. That way, you build up a backup |
31 |
of all the packages you have merged, and if a future upgrade goes wrong, |
32 |
you don't have to spend all that time remerging the old one again, you |
33 |
just remerge the binpkg (using emerge -K =pkg-version to downgrade if |
34 |
necessary). It's also handy if gcc or the like go titsup, as you can |
35 |
remerge the gcc binpkg directly instead of trying to figure out how to get |
36 |
a working gcc to emerge gcc! In fact, since the binpkg is just a bzip2-ed |
37 |
tarball, (tbz2), with a bit of extra metadata stuck on the end, even if |
38 |
portage itself dies, it's a fairly simple matter to just backup make.conf |
39 |
and untar the binpkg directly over /, thus getting a working portage once |
40 |
again. (Of course, the database will still think it has the broken |
41 |
version merged, so you then have to emerge -K the working version you just |
42 |
untarred, so the database is in sync with what's really there once again.) |
43 |
|
44 |
Bonus General I just remembered: If you are using ~arch portage as you |
45 |
mentioned, 2.1-rcX now, you may also wish to investigate |
46 |
FEATURES=confcache. For packages like modular KDE, which spend a higher |
47 |
than normal percentage of merge time in the configure step, it can make a |
48 |
HUGE difference -- saving you well over an hour (it's over an hour saved |
49 |
on my dual Opteron with 8 gig of memory and 4-way RAID, so probably several |
50 |
hours on a single core single socket system with a single hard drive and |
51 |
a gig or less of memory) running PORTAGE_TMPDIR on a TMPFS, ) on a full |
52 |
KDE merge. |
53 |
|
54 |
Of course there's ccache as well, but that can actually take longer if you |
55 |
aren't doing much recompiling of the same code with the same options on |
56 |
the same gcc, due to the extra disk activity of managing the ccache, and |
57 |
there's distcc, if you have several computers that can share the load. |
58 |
|
59 |
|
60 |
|
61 |
-- |
62 |
Duncan - List replies preferred. No HTML msgs. |
63 |
"Every nonfree program has a lord, a master -- |
64 |
and if you use the program, he is your master." Richard Stallman |
65 |
|
66 |
-- |
67 |
gentoo-amd64@g.o mailing list |