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

xen-devel

[Top] [All Lists]

[Xen-devel] Re: libconfig installs in /lib, should be /lib64

To: Andre Przywara <andre.przywara@xxxxxxx>
Subject: [Xen-devel] Re: libconfig installs in /lib, should be /lib64
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: 2010年1月22日 15:24:28 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: 2010年1月22日 07:22:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B59BB52.1090607@xxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4B59BB52.1090607@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008年08月23日)
On 2010年1月22日, Andre Przywara wrote:
> Hi,
>
> the libconfig shipped with libxl is put in the /usr/lib directory (at 
> least on my setup). Since the library is ELF64, it should go into 
> /usr/lib64 - as all the other Xen libraries do.
> I have no idea of the autotools / Makefile magic to do this (and don't 
> feel like learning about it this afternoon), so I hope someone else can 
> fix this. The default Xen libraries include $(XEN_ROOT)/tools/Rules.mk, 
> which eventually pulls in LIB_DIR from x86_{32,64}.mk, which contains 
> the correct directory. But I don't see an easy way to inject this into 
> the autotools setup of libconfig.
> The same issue is with the pkgconfig directory, which also should reside 
> below lib64 as well as the path written in the .pc file itself.
>
Thanks for point out this issue, this patch should fix it.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
diff -r 4978b4a4bbb6 tools/libxl/Makefile
--- a/tools/libxl/Makefile Fri Jan 22 13:32:26 2010 +0000
+++ b/tools/libxl/Makefile Fri Jan 22 15:21:29 2010 +0000
@@ -44,7 +44,7 @@
 
 $(LIBCONFIG_OUTPUT)/libconfig.so: $(LIBCONFIG_SOURCE).tar.gz
 [ ! -d "$(LIBCONFIG_SOURCE)" ] && tar xzf $<
- cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) 
--disable-cxx && $(MAKE)
+ cd $(LIBCONFIG_SOURCE) && ./configure --prefix=$(DESTDIR)$(PREFIX) 
--libdir=$(DESTDIR)$(LIBDIR) --disable-cxx && $(MAKE)
 
 xl.o: $(LIBCONFIG_OUTPUT)/libconfig.so xl.c
 $(CC) $(CFLAGS) -I$(LIBCONFIG_SOURCE) -c xl.c
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-community] Xen.org Community Weekly Newsletter Vol 10 No 3 , Stephen Spector
Next by Date: [Xen-devel] Re: libconfig installs in /lib, should be /lib64 , Stefano Stabellini
Previous by Thread: [Xen-devel] libconfig installs in /lib, should be /lib64 , Andre Przywara
Next by Thread: [Xen-devel] Re: libconfig installs in /lib, should be /lib64 , Stefano Stabellini
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /