1 |
Lars Kneschke posted <112d3893029e224082c92d72a3bae92f@192.168.4.1>, |
2 |
excerpted below, on Thu, 10 Jun 2004 07:42:11 +0000: |
3 |
|
4 |
> As you see, sasl can only become compiled after openldap is emerged and |
5 |
> openldap can only become compiled after sasl is emerged. It's little bit |
6 |
> tricky. Is there a way to solve this problem? |
7 |
|
8 |
The usual solution to such "circular dependencies" is to either: |
9 |
|
10 |
emerge one with the useflag for the other set -<flag>, then emerge the |
11 |
other with the proper useflags, then emerge the first again with the |
12 |
desired flags, |
13 |
|
14 |
or |
15 |
|
16 |
emerge --nodeps one of them, then emerge the other, then the first again |
17 |
if there are issues. |
18 |
|
19 |
Take the following with the caveat that I'm not a Gentoo devel, and may be |
20 |
giving "improper" advice, from their perspective. I've seen the above |
21 |
posted by others, but the following is mine. However, it should work.. |
22 |
and what is open source for, if not the ability to customize for your own |
23 |
use? |
24 |
|
25 |
It's also possible, for catalyst liveCD builds, that one makes use of the |
26 |
build or bootstrap useflags. This is how stage one circular dependencies |
27 |
are normally handled. These flags limit additional functionality (in the |
28 |
ebuilds that use them) so they can be built with a minimal system, |
29 |
normally under conditions such that they will be rebuilt in a later stage |
30 |
with appropriate operational parameters. |
31 |
|
32 |
The docs for these flags say do NOT set them for ordinary use. However, |
33 |
doing your own LiveCD isn't "ordinary use". Even if the flags aren't used |
34 |
by the packages normally, for your own customized LiveCD, you could |
35 |
customize the ebuilds as well, either statically, for "snapshot" |
36 |
installations, or using a customized dynamic patch script, for updated |
37 |
portage tree installations. |
38 |
|
39 |
-- |
40 |
Duncan - List replies preferred. No HTML msgs. |
41 |
"They that can give up essential liberty to obtain a little |
42 |
temporary safety, deserve neither liberty nor safety." -- |
43 |
Benjamin Franklin |
44 |
|
45 |
|
46 |
|
47 |
-- |
48 |
gentoo-dev@g.o mailing list |