WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Why do we use /usr/lib/python to install python librarie

To: John Levon <levon@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Why do we use /usr/lib/python to install python libraries?
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Wed, 14 Jun 2006 17:13:06 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Jun 2006 09:13:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060614153156.GA3531@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4488CA32.3060806@xxxxxxxxxx> <20060614073239.GB5840@xxxxxxxxxxxxxxxxxxxxxx> <20060614153156.GA3531@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Wed, Jun 14, 2006 at 04:31:56PM +0100, John Levon wrote:

> On Wed, Jun 14, 2006 at 08:32:39AM +0100, Ewan Mellor wrote:
> 
> > c) make sure that we actually do install into /usr/lib64 on appropriate
> >    systems.  This is a current bug, though I've no idea when it got
> >    introduced.  We need to install into /usr/lib64 because xc.so and xs.so 
> > are
> >    compiled native code.
> 
> Could you clarify this? What happens on 64-bit Linux installations right
> now?
> 
> Since the 64-bit cleanness isn't quite there yet, we need to install
> both a 64-bit and 32-bit on Solaris. Unfortunately Python doesn't seem
> to have much support for running like this (in particular, it'll just
> give up if it finds an extension .so of the wrong elf class rather than
> looking in a 64-bit path or whatever).

My belief was that, because we have native code, on those platforms that
normally use /usr/lib64, we ought to be putting our stuff in /usr/lib64.
Does anyone know whether this is the case?

Currently, all the Python stuff goes into /usr/lib/python, even on platforms
with a /usr/lib64 directory.  I was assuming that that was a bug, but I don't
know for sure.

Ewan.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel