swig-native builds swig for your host system, so that it can be executed
during the build. So your apparmor configure most likely searches for swig
in PATH and swig-native dependency will make sure it's there.

On Wed, Oct 25, 2017, 13:56 shubhabrata sen <[email protected]>
wrote:

> Hi Martin,
>
> Thank you for your reply. Could you please give a bit more details about
> this ? I'm relatively new to the openembedded environment.
>
> On Wed, Oct 25, 2017 at 12:28 PM, Martin Jansa <[email protected]>
> wrote:
>
>> you probably want swig-native dependency.
>>
>> On Wed, Oct 25, 2017, 11:09 shubhabrata sen <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to build a firmware with the apparmor recipe and I keep
>>> getting the following error
>>>
>>> *checking for swig... no*
>>> | checking whether the libapparmor debug output should be enabled... no
>>> | checking whether the libapparmor man pages should be generated... yes
>>> | checking for podchecker... podchecker
>>> | checking for pod2man... pod2man
>>> | checking whether python bindings are enabled... yes
>>> *| configure: error: swig is required when enabling python bindings*
>>> | WARNING:
>>> /home/shubhabs/dists/cvp/builds/p1367/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/apparmor/2.10.95-r0/temp/run.do_configure.8464:1
>>> exit 1 from 'PERL="${PERL}"
>>> PYTHON="/home/shubhabs/dists/cvp/builds/p1367/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/apparmor/2.10.95-r0/recipe-sysroot-native/usr/bin/python-native/python"
>>> ./configure --build=x86_64-linux --host=arm-poky-linux-gnueabi
>>> --target=arm-poky-linux-gnueabi --prefix=/usr --libdir=/usr/lib
>>> --mandir=/usr/share/man --includedir=/usr/include --with-perl --with-python'
>>>
>>> I've included the SWIG recipe in the build and I can successfully build
>>> the firmware including swig with the bitbake command but somehow the
>>> apparmor recipe can't find the swig package. Any help regarding this would
>>> be appreciated.
>>>
>>> Thanks
>>>
>>> Shubh
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> [email protected]
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>>
>>
>
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to