OE, bitbake and dependencies

Michael 'Mickey' Lauer mickey at vanille-media.de
Fri Oct 10 03:50:47 CEST 2008


Am Donnerstag, den 09.10.2008, 22:46 +0100 schrieb Alastair Johnson:
> Michael 'Mickey' Lauer wrote:
> > Am Donnerstag, den 09.10.2008, 11:27 +0100 schrieb Alastair Johnson:
> >> Sort of. According to example 4.7 in 
> >> http://bitbake.berlios.de/manual/ch04s02.html this needs setting in a 
> >> .conf file not in the .bb file. I've set it in local.conf and bitbake 
> >> now builds the right version, though it looks like I've got some 
> >> cleaning up to do as linphone still seems to try linking against the 
> >> wrong version. This doesn't seem like the best place for dependency 
> >> information though since it separates the dependency information from 
> >> the package that has the dependency. Can I put this in the .bb file, or 
> >> is there another config file I should be using?
> > 
> > PREFERRED_* is distro policy, hence should usually be in config or local
> > files.
> > 
> > If you really need to state it in the recipe, try using
> > DEPENDS = "foo-1.2.3"
> > and
> > RDEPENDS = "foo (>=1.2.3)"
> > 
> > Note that this is considered ugly.
> 
> Thanks, that's what I was looking for.
> 
> linphone-1.6.0 will not compile with libosip2 > 2.2.2. Am I right in 
> thinking this is the sort of situation that should be handled in the 
> recipe rather than as a distro policy?

Yes, although only for those kind of rare cases.

:M:




More information about the devel mailing list