<p dir="ltr">you probably want swig-native dependency.</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 25, 2017, 11:09 shubhabrata sen &lt;<a href="mailto:shubhabrata.sen@gmail.com">shubhabrata.sen@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to build a firmware with the apparmor recipe and I keep getting the following error</div><div><br></div><div><div><b>checking for swig... no</b></div><div>| checking whether the libapparmor debug output should be enabled... no</div><div>| checking whether the libapparmor man pages should be generated... yes</div><div>| checking for podchecker... podchecker</div><div>| checking for pod2man... pod2man</div><div>| checking whether python bindings are enabled... yes</div><div><b>| configure: error: swig is required when enabling python bindings</b></div><div>| 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 &#39;PERL=&quot;${PERL}&quot; PYTHON=&quot;/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&quot; ./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&#39;</div></div><div><br></div><div>I&#39;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&#39;t find the swig package. Any help regarding this would be appreciated.</div><div><br></div><div>Thanks</div><div><br></div><div>Shubh</div></div>
--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>