Skip to contentSkip to conversation

environment variable `PKG_CONFIG` not set

DISCUSSION Paul Menzel 2 participants 3 messages Oct 10, 2010 – Oct 14, 2010

lore
Share & tools
lore
#0 lore raw

Dear OE folks,

looking at run.do_compile.xxxxx I noticed that PKG_CONFIG is not set. Several other pkg-config related environment variable get set, so I am quite surprised.

Does this have to be added to classes/{native,nativesdk,sdk}.bbclass?

Thanks,

Paul

#1 lore raw

Am Sonntag, den 10.10.2010, 18:32 +0200 schrieb Paul Menzel:

Quoted 8 lines

Dear OE folks,

looking at run.do_compile.xxxxx I noticed that PKG_CONFIG is not set. Several other pkg-config related environment variable get set, so I am quite surprised.

Does this have to be added to classes/{native,nativesdk,sdk}.bbclass?

This would also be the “correct” fix for [1] and [2] if I am not wrong.

Thanks,

Paul

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-August/023029.html
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-September/024217.html

#2 lore raw

Am Sonntag, den 10.10.2010, 19:12 +0200 schrieb Paul Menzel:

Quoted 18 lines

Am Sonntag, den 10.10.2010, 18:32 +0200 schrieb Paul Menzel:

Quoted 8 lines

Dear OE folks,

looking at run.do_compile.xxxxx I noticed that PKG_CONFIG is not set. Several other pkg-config related environment variable get set, so I am quite surprised.

Does this have to be added to classes/{native,nativesdk,sdk}.bbclass?

This would also be the “correct” fix for [1] and [2] if I am not wrong.

Thanks,

Paul

Quoted 6 lines

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-August/023029.html
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-September/024217.html
_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

It already uses the correct pkg-config because ${SYSROOT_NATIVE} is in $PATH. But pkg-config --variable doesn't prefix $PKG_CONFIG_SYSROOT_DIR