Re: [yocto] pkg-config not found

2019-11-13 Thread Khem Raj
On Wed, 2019-11-13 at 11:43 -0600, Mark Hawthorne wrote: > 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. Swap the order, let PKG_PROG_PKG_CONFIG appear before AX_PTHREAD > > On Tue, Nov 12,

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. What would ca

Re: [yocto] pkg-config not found

2019-11-13 Thread Ross Burton
On 12/11/2019 21:06, Mark Hawthorne wrote: 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_MODUL

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 > wrote: > > > > Kh

Re: [yocto] pkg-config not found

2019-11-12 Thread Khem Raj
On Tue, Nov 12, 2019 at 4:29 PM Mark Hawthorne 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_CON

Re: [yocto] pkg-config not found

2019-11-12 Thread Mark Hawthorne
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 se

Re: [yocto] pkg-config not found

2019-11-12 Thread Mark Hawthorne
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/armv7at2h

Re: [yocto] pkg-config not found

2019-11-12 Thread Khem Raj
On Tue, Nov 12, 2019 at 2:00 PM Mark Hawthorne 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 bitbake does that help ? > On Tue, Nov 12, 2019 at 3:41 PM Adrian Bunk wrote: >> >> On T

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 libgles2 libspatialite" > >... > > DEPE

Re: [yocto] pkg-config not found

2019-11-12 Thread Adrian Bunk
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 nee

[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