On 04/04/2013 11:16 AM, Khandelwal, Shubham wrote:> Hi,Hello,> I am trying to cross compile xen-tools for arm32 as mentioned here > http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling > but i am getting the following error > > > > … > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for unistd.h... yes > > checking for python-config... /usr/bin/python-config > > checking Python.h usability... no > > checking Python.h presence... no > > checking for Python.h... no > > configure: error: Unable to find Python development headers > > ...You need to install libpython2.7-dev:armhf. Thanks for the reporting, I will add it on the wiki page. Cheers, Julien
Khandelwal, Shubham
2013-Apr-05 05:17 UTC
Re: [XenARM] Unable to find Python development headers
Hi, Thanks a lot Julien, all the issues are resolved and I am able to cross-compile the tools now. Regards Shubham Khandelwal -----Original Message----- From: Julien Grall [mailto:julien.grall@citrix.com] Sent: Thursday, April 04, 2013 8:39 PM To: Khandelwal, Shubham Cc: ''xen-arm@lists.xen.org''; Datta, Souvik; xen-devel Subject: Re: [XenARM] Unable to find Python development headers On 04/04/2013 11:16 AM, Khandelwal, Shubham wrote:> Hi,Hello,> I am trying to cross compile xen-tools for arm32 as mentioned here > http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling > but i am getting the following error > > > > ... > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for unistd.h... yes > > checking for python-config... /usr/bin/python-config > > checking Python.h usability... no > > checking Python.h presence... no > > checking for Python.h... no > > configure: error: Unable to find Python development headers > > ...You need to install libpython2.7-dev:armhf. Thanks for the reporting, I will add it on the wiki page. Cheers, Julien
On Thu, 2013-04-04 at 16:09 +0100, Julien Grall wrote:> You need to install libpython2.7-dev:armhf. > > Thanks for the reporting, I will add it on the wiki page.Thanks. Longer term we should look at making the python stuff a build time option and perhaps disable it by default for ARM. (perhaps this can happen as part of deprecating xend further)
On Wed, 2013-04-10 at 12:27 +0100, Ian Campbell wrote:> On Thu, 2013-04-04 at 16:09 +0100, Julien Grall wrote: > > You need to install libpython2.7-dev:armhf. > > > > Thanks for the reporting, I will add it on the wiki page. > > Thanks. Longer term we should look at making the python stuff a build > time option and perhaps disable it by default for ARM.In the meantime I''ve just pushed this patch of mine which I posted before I went away but which was in the tree referenced by the wiki page: commit 2a6068822dea6429201f6f44e229663ba7858c27 Author: Ian Campbell <ian.campbell@citrix.com> Date: Fri Mar 15 13:15:45 2013 +0000 tools: only check for Python devel tools if not cross-compiling. tools/python and tools/pygrub are already skipped in tools/Makefile when cross-compiling, so no point in checking for the prerequisites either. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> I think this means the requirement for libpython2.7-dev:armhf could in principal be dropped but it''s probably harmless. (I''ve just noticed the 64-bit section says armhf everywhere it should say arm64...) Ian.