[yocto] pkg-config not found

2019-11-12 Thread Mark Hawthorne
I have an autotools build that uses the following autoconfig file: AC_INIT([my-program], [1]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_LANG(C++) AC_PROG_CXX AX_PTHREAD() PKG_CHECK_MODULES(LIBPNG, libpng >= 1.6.34) PKG_CHECK_MODULES(FREETYPE2, freetype2 >= 21.0.15) PKG_CHECK

Re: [yocto] pkg-config not found

2019-11-12 Thread Mark Hawthorne
Thank you. I have fixed this issue but the original pkg-config error still persists. On Tue, Nov 12, 2019 at 3:41 PM Adrian Bunk wrote: > On Tue, Nov 12, 2019 at 03:06:25PM -0600, Mark Hawthorne wrote: > >... > > DEPENDS_${PN} = "libpng freetype glm libegl li

Re: [yocto] pkg-config not found

2019-11-12 Thread Mark Hawthorne
k/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 wrote: > On Tue, Nov 12, 2019 at 2:00 PM Mark Hawthorne > wrote: > > > > Thank you. I have fixed this iss

Re: [yocto] pkg-config not found

2019-11-12 Thread Mark Hawthorne
uot; 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? On Tue, Nov 12, 2019 at 4:44 PM Mark Hawthorne wrote: > No, it did not help > > It appears from the config.log file that the PKG_CONFIG variable never > gets se

Re: [yocto] pkg-config not found

2019-11-12 Thread Mark Hawthorne
I added the lines you suggested and it indicates that PKG_CONFIG is not set. What would cause this to fail in the bitbake environment? It works for other packages such as pixman. On Tue, Nov 12, 2019 at 6:38 PM Khem Raj wrote: > On Tue, Nov 12, 2019 at 4:29 PM Mark Hawthorne >

Re: [yocto] pkg-config not found

2019-11-13 Thread Mark Hawthorne
I figured out the problem. The call to AX_PTHREAD() was breaking PKG_PROG_PKG_CONFIG. I don't understand why, but it works once I remove that line. On Tue, Nov 12, 2019 at 8:24 PM Mark Hawthorne wrote: > I added the lines you suggested and it indicates that PKG_CONFIG is not > set.

[yocto] Manifest not found

2019-11-14 Thread Mark Hawthorne
I created a new recipe called mapbox-gl-native and added it to IMAGE_INSTALL in the image recipe. The package builds succesfully, but now I am stuck on this error in the final image creation stage: --- DEBUG: Executing python function do_rootfs NOTE: Initializin

Re: [yocto] Manifest not found

2019-11-14 Thread Mark Hawthorne
I see the problem now. I had to remove the "-native" from the end of the package name because this has meaning in the bitbake environment. On Thu, Nov 14, 2019 at 5:49 PM Mark Hawthorne wrote: > I created a new recipe called mapbox-gl-native and added it to > IMAGE_INSTALL in