<div dir="ltr">It works perfectly now. Thanks a lot !! Really appreciate the help.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 25, 2017 at 2:15 PM, Martin Jansa <span dir="ltr">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">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&#39;s there.</p><div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 25, 2017, 13:56 shubhabrata sen &lt;<a href="mailto:shubhabrata.sen@gmail.com" target="_blank">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 Martin,<div><br></div><div>Thank you for your reply. Could you please give a bit more details about this ? I&#39;m relatively new to the openembedded environment.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 25, 2017 at 12:28 PM, Martin Jansa <span dir="ltr">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">you probably want swig-native dependency.</p>
<br><div class="gmail_quote"><div><div class="m_7004330896236099633m_8743088144790962283h5"><div dir="ltr">On Wed, Oct 25, 2017, 11:09 shubhabrata sen &lt;<a href="mailto:shubhabrata.sen@gmail.com" target="_blank">shubhabrata.sen@gmail.com</a>&gt; wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_7004330896236099633m_8743088144790962283h5"><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/<wbr>builds/p1367/tmp/work/<wbr>cortexa9hf-neon-poky-linux-<wbr>gnueabi/apparmor/2.10.95-r0/<wbr>temp/run.do_configure.8464:1 exit 1 from &#39;PERL=&quot;${PERL}&quot; PYTHON=&quot;/home/shubhabs/dists/<wbr>cvp/builds/p1367/tmp/work/<wbr>cortexa9hf-neon-poky-linux-<wbr>gnueabi/apparmor/2.10.95-r0/<wbr>recipe-sysroot-native/usr/bin/<wbr>python-native/python&quot; ./configure --build=x86_64-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-<wbr>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></div></div><span class="m_7004330896236099633m_8743088144790962283HOEnZb"><font color="#888888">
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div>
</blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>