All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [XenARM] Unable to find Python development headers
       [not found] <3A6586556649FF42BA3240F179473FD1141BC069EE@HIKAWSEX01.ad.harman.com>
@ 2013-04-04 10:46 ` Stefano Stabellini
  2013-04-04 15:09 ` Julien Grall
  1 sibling, 0 replies; 5+ messages in thread
From: Stefano Stabellini @ 2013-04-04 10:46 UTC (permalink / raw)
  To: Khandelwal, Shubham
  Cc: Datta, Souvik, 'xen-arm@lists.xen.org', xen-devel,
	Ian Campbell

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

I am not an expert in cross-compiling, in fact Ian (still on vacation)
is the one who set it up. I still compile tools natively.

However I can tell you that you don't actually need python, in reality
in order to get the basic system working you only need to compile:

tools/libxc
tools/xenstore
tools/console
tools/libxl


On Thu, 4 Apr 2013, Khandelwal, Shubham wrote:
> Hi,
> 
>  
> 
> 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
> 
> ...
> 
>  
> 
>  
> 
>  
> 
> Regards
> 
>  
> 
> Shubham Khandelwal
> 
>  
> 
> 
> 

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [XenARM] Unable to find Python development headers
       [not found] <3A6586556649FF42BA3240F179473FD1141BC069EE@HIKAWSEX01.ad.harman.com>
  2013-04-04 10:46 ` [XenARM] Unable to find Python development headers Stefano Stabellini
@ 2013-04-04 15:09 ` Julien Grall
  2013-04-05  5:17   ` Khandelwal, Shubham
  2013-04-10 11:27   ` Ian Campbell
  1 sibling, 2 replies; 5+ messages in thread
From: Julien Grall @ 2013-04-04 15:09 UTC (permalink / raw)
  To: Khandelwal, Shubham
  Cc: Datta, Souvik, 'xen-arm@lists.xen.org', xen-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [XenARM] Unable to find Python development headers
  2013-04-04 15:09 ` Julien Grall
@ 2013-04-05  5:17   ` Khandelwal, Shubham
  2013-04-10 11:27   ` Ian Campbell
  1 sibling, 0 replies; 5+ messages in thread
From: Khandelwal, Shubham @ 2013-04-05  5:17 UTC (permalink / raw)
  To: 'Julien Grall'
  Cc: Datta, Souvik, 'xen-arm@lists.xen.org', xen-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [XenARM] Unable to find Python development headers
  2013-04-04 15:09 ` Julien Grall
  2013-04-05  5:17   ` Khandelwal, Shubham
@ 2013-04-10 11:27   ` Ian Campbell
  2013-04-11 10:15     ` Ian Campbell
  1 sibling, 1 reply; 5+ messages in thread
From: Ian Campbell @ 2013-04-10 11:27 UTC (permalink / raw)
  To: Julien Grall
  Cc: Khandelwal, Shubham, Datta, Souvik, xen-devel,
	'xen-arm@lists.xen.org'

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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [XenARM] Unable to find Python development headers
  2013-04-10 11:27   ` Ian Campbell
@ 2013-04-11 10:15     ` Ian Campbell
  0 siblings, 0 replies; 5+ messages in thread
From: Ian Campbell @ 2013-04-11 10:15 UTC (permalink / raw)
  To: Julien Grall
  Cc: Khandelwal, Shubham, Datta, Souvik,
	'xen-arm@lists.xen.org', xen-devel

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-11 10:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3A6586556649FF42BA3240F179473FD1141BC069EE@HIKAWSEX01.ad.harman.com>
2013-04-04 10:46 ` [XenARM] Unable to find Python development headers Stefano Stabellini
2013-04-04 15:09 ` Julien Grall
2013-04-05  5:17   ` Khandelwal, Shubham
2013-04-10 11:27   ` Ian Campbell
2013-04-11 10:15     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.