Skip to contentSkip to conversation

gst-plugins-base tries to use host orcc

DISCUSSION Michael Smith 2 participants 3 messages Sep 23, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

gst-plugins-base-0.10.30 fails to build because common/m4/orc.m4 uses "pkg-config --variable=orcc orc-0.4" to get the path to orcc, instead of just using "orcc" in the path.

tmp/sysroots/i486-oe-linux/lib/pkgconfig/orc-0.4.pc has:

exec_prefix=
toolsdir=${exec_prefix}/bin
orcc=${toolsdir}/orcc

so Make ends up calling /bin/orcc, which doesn't exist.

For orc-native, tmp/sysroots/x86_64-linux/lib/pkgconfig/orc-0.4.pc has:

exec_prefix=/..../tmp/sysroots/x86_64-linux

but I don't know how to make pkg-config use this pc file when looking for orcc, or if it even should. Has anybody else run into this?

Mike

#1 lore raw

nm, I see the problem now.

Quoted 20 lines · Michael Smith

Hi,

gst-plugins-base-0.10.30 fails to build because common/m4/orc.m4 uses "pkg-config --variable=orcc orc-0.4" to get the path to orcc, instead of just using "orcc" in the path.

tmp/sysroots/i486-oe-linux/lib/pkgconfig/orc-0.4.pc has:

exec_prefix=
toolsdir=${exec_prefix}/bin
orcc=${toolsdir}/orcc

so Make ends up calling /bin/orcc, which doesn't exist.

For orc-native, tmp/sysroots/x86_64-linux/lib/pkgconfig/orc-0.4.pc has:

exec_prefix=/..../tmp/sysroots/x86_64-linux

but I don't know how to make pkg-config use this pc file when looking for orcc, or if it even should. Has anybody else run into this?

Mike

#2 lore raw
Quoted 23 lines · Michael Smith

nm, I see the problem now.

Quoted 20 lines · Michael Smith

Hi,

gst-plugins-base-0.10.30 fails to build because common/m4/orc.m4 uses "pkg-config --variable=orcc orc-0.4" to get the path to orcc, instead of just using "orcc" in the path.

tmp/sysroots/i486-oe-linux/lib/pkgconfig/orc-0.4.pc has:

exec_prefix=
toolsdir=${exec_prefix}/bin
orcc=${toolsdir}/orcc

so Make ends up calling /bin/orcc, which doesn't exist.

For orc-native, tmp/sysroots/x86_64-linux/lib/pkgconfig/orc-0.4.pc has:

exec_prefix=/..../tmp/sysroots/x86_64-linux

but I don't know how to make pkg-config use this pc file when looking for orcc, or if it even should. Has anybody else run into this?

So what's the fix? I'm seeing this trying to build gst-plugins-bad 0.10.20 (I'm working on the recipe locally)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------