Thanks Ross. I am able to resolve the error after using pkg-config-native.
For my understanding, can you please explain the difference between
pkgconfig and pkgconfig-native. When are we supposed to use pkgconfig.?
I am relatively new to this, so I want to understand this better.

On Fri, Mar 15, 2024 at 5:38 PM Ross Burton <ross.bur...@arm.com> wrote:

> On 15 Mar 2024, at 06:20, Ashu Joshi via lists.yoctoproject.org
> <ashujoshi35=gmail....@lists.yoctoproject.org> wrote:
> >
> > Added DEPENDS += "python3-pkgconfig python3 python3-pip"
> >
> > but still face the same error. I can see its recipe in meta-python.
> Also, in the work directory recipe-sysroot/usr/lib pkgconfig directory is
> there with multiple .pc files. I can also see pkgconfig in
> recipe-syysroot/usr/lib/python3.8/site-packages/pkgconfig. pkgconfig here
> has _pycache_  directory, __init__.py and pkgconfig.py
> > Still setup.py is not able to find pkgconfig
>
> It’s built-time Python trying to find code, so you want
> python3-pkgconfig-native.  Built-time Python won’t run code in the _target_
> sysroot.
>
> Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62767): https://lists.yoctoproject.org/g/yocto/message/62767
Mute This Topic: https://lists.yoctoproject.org/mt/104927594/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to