On Tue, Nov 12, 2019 at 4:29 PM Mark Hawthorne <markhawthorne...@gmail.com> wrote: > > Khem, > > I found a recipe that you made a few years ago where you addressed this > problem: > > http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-extended/boinc/boinc-client_7.12.bb > > You solved it by exporting PKG_CONFIG > > export PKG_CONFIG = "${STAGING_BINDIR_NATIVE}/pkg-config" > > This seems like it may be the incorrect way to do it and there needs to be an > update in the configure.ac file instead?
in configure.ac you can add something like this PKG_PROG_PKG_CONFIG if test -z "$PKG_CONFIG"; then AC_MSG_WARN([Cannot find pkg-config, make sure it is installed in your PATH]) fi > > On Tue, Nov 12, 2019 at 4:44 PM Mark Hawthorne <markhawthorne...@gmail.com> > wrote: >> >> No, it did not help >> >> It appears from the config.log file that the PKG_CONFIG variable never gets >> set. I'm sorting through the bbclass files to figure out why this is not >> getting set... >> >> PKG_CONFIG='' >> PKG_CONFIG_LIBDIR='/home/mark/Documents/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/myprogram/1.0-r0/recipe-sysroot/usr/lib/pkgconfig' >> PKG_CONFIG_PATH='/home/mark/Documents/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/myprogram/1.0-r0/recipe-sysroot/usr/lib/pkgconfig:/home/mark/Documents/tisdk/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/myprogram/1.0-r0/recipe-sysroot/usr/share/pkgconfig' >> >> On Tue, Nov 12, 2019 at 4:22 PM Khem Raj <raj.k...@gmail.com> wrote: >>> >>> On Tue, Nov 12, 2019 at 2:00 PM Mark Hawthorne >>> <markhawthorne...@gmail.com> wrote: >>> > >>> > Thank you. I have fixed this issue but the original pkg-config error >>> > still persists. >>> > >>> >>> do a clean build after above change >>> >>> bitbake -ccleanall <your-recipe> >>> bitbake <your-recipe> >>> >>> does that help ? >>> >>> > On Tue, Nov 12, 2019 at 3:41 PM Adrian Bunk <b...@stusta.de> wrote: >>> >> >>> >> On Tue, Nov 12, 2019 at 03:06:25PM -0600, Mark Hawthorne wrote: >>> >> >... >>> >> > DEPENDS_${PN} = "libpng freetype glm libegl libgles2 libspatialite" >>> >> >... >>> >> >>> >> DEPENDS, not DEPENDS_${PN} >>> >> >>> >> cu >>> >> Adrian >>> >> >>> >> -- >>> >> >>> >> "Is there not promise of rain?" Ling Tan asked suddenly out >>> >> of the darkness. There had been need of rain for many days. >>> >> "Only a promise," Lao Er said. >>> >> Pearl S. Buck - Dragon Seed >>> >> >>> > -- >>> > _______________________________________________ >>> > yocto mailing list >>> > yocto@yoctoproject.org >>> > https://lists.yoctoproject.org/listinfo/yocto > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto