public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Catalyst and logical emerge problem
@ 2004-06-10  7:42 Lars Kneschke
  2004-06-10 13:08 ` [gentoo-dev] " Duncan
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Kneschke @ 2004-06-10  7:42 UTC (permalink / raw
  To: gentoo-dev

Hello!

I'm stuck again! :)

I try to build a live cdrom using catalyst containing cyrus-sasl and
openldap. I have the following use flags set "... ldap sasl ...".

This is from the cyrus-sasl ebuild

        ldap? ( >=net-nds/openldap-2.0.25 )

and this from the openldap ebuild

        sasl? ( >=dev-libs/cyrus-sasl-2.1.7-r3 )

As you see, sasl can only become compiled after openldap is emerged and
openldap can only become compiled after sasl is emerged. 
It's little bit tricky. Is there a way to solve this problem?

Cu
--
hosted egroupware ==> http://www.officespot.de



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: Catalyst and logical emerge problem
  2004-06-10  7:42 [gentoo-dev] Catalyst and logical emerge problem Lars Kneschke
@ 2004-06-10 13:08 ` Duncan
  0 siblings, 0 replies; 2+ messages in thread
From: Duncan @ 2004-06-10 13:08 UTC (permalink / raw
  To: gentoo-dev

Lars Kneschke posted <112d3893029e224082c92d72a3bae92f@192.168.4.1>,
excerpted below,  on Thu, 10 Jun 2004 07:42:11 +0000:

> As you see, sasl can only become compiled after openldap is emerged and
> openldap can only become compiled after sasl is emerged. It's little bit
> tricky. Is there a way to solve this problem?

The usual solution to such "circular dependencies" is to either:

emerge one with the useflag for the other set -<flag>, then emerge the
other with the proper useflags, then emerge the first again with the
desired flags,

or

emerge --nodeps one of them, then emerge the other, then the first again
if there are issues.

Take the following with the caveat that I'm not a Gentoo devel, and may be
giving "improper" advice, from their perspective.  I've seen the above
posted by others, but the following is mine.  However, it should work..
and what is open source for, if not the ability to customize for your own
use?

It's also possible, for catalyst liveCD builds, that one makes use of the
build or bootstrap useflags.  This is how stage one circular dependencies
are normally handled.  These flags limit additional functionality (in the
ebuilds that use them) so they can be built with a minimal system,
normally under conditions such that they will be rebuilt in a later stage
with appropriate operational parameters.

The docs for these flags say do NOT set them for ordinary use.  However,
doing your own LiveCD isn't "ordinary use".  Even if the flags aren't used
by the packages normally, for your own customized LiveCD, you could
customize the ebuilds as well, either statically, for "snapshot"
installations, or using a customized dynamic patch script, for updated
portage tree installations.

-- 
Duncan - List replies preferred.   No HTML msgs.
"They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety." --
Benjamin Franklin



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-10 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10  7:42 [gentoo-dev] Catalyst and logical emerge problem Lars Kneschke
2004-06-10 13:08 ` [gentoo-dev] " Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox