[oe] unable to bitbake ortp

Juan Backson juanbackson at gmail.com
Sun Sep 6 07:01:43 UTC 2009


Hi

I have the following in my ortp0.7 recipe.  How should I change it to get
bitbake to work?

DESCRIPTION = "An LGPL implementation of RTP - RFC3550"
LICENSE = "LGPL"
DEPENDS = "glibc"

PR = "r1"

inherit autotools pkgconfig

SRC_URI = "
http://download.savannah.nongnu.org/releases/linphone/${PN}/sources/${P}.tar.gz
"

do_compile_append() {
        sed -i -e s:${STAGING_DIR_TARGET}::g \
               -e s:/${TARGET_SYS}::g \
                  ortp.pc

}



On Sun, Sep 6, 2009 at 4:41 AM, Khem Raj <raj.khem at gmail.com> wrote:

> On Sat, Sep 5, 2009 at 1:07 PM, Phil Blundell<philb at gnu.org> wrote:
> > On Sat, 2009-09-05 at 10:50 -0700, Khem Raj wrote:
> >> If you are using .dev then there is ortp-0.13 which I built here
> >> without any problem
> >> on a sidenote it says DEPENDS = "glibc " which I think should be
> >> changed to virtual/libc
> >> but as long as you are using glibc/eglibc based system it should not
> >> be a problem.
> >
> > Specifying virtual/libc in a recipe's DEPENDS would usually be a bit
> > silly since base.bbclass adds it automatically.  Specifying glibc there
> > would perhaps be legitimate for packages that actually require features
> > of glibc itself, but I doubt that is the case here.
> >
>
> > I suspect that the line in question is probably a slightly mangled
> > attempt to depend on either glib-1.2 or glib-2.0, which would be
> > consistent with the original poster's complaint that glib.h was missing.
> >
>
> Seems right. Looking at ortp 0.13 sources glib dependency is removed
> but if you look at changelog
>
> Wednesday March 8 2006  : ortp-0.9.0
>        - a lot of cleanups, glib dropped, win32 port reactivated
>
> so it seems prior to 0.9 one needs to depend on glib.
>
> And I was building 0.13 and I was not getting this error.
>
> So I think right fix is to add glib dependency in 0.7 recipe.
> and remove it from 0.13
>
> > p.
> >
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list