From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhigang Wang Subject: libcacard is been installed to /usr/lib while libdir=/usr/lib64 Date: Mon, 12 May 2014 20:10:05 -0400 Message-ID: <537162DD.7000304@oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040706040703000305000604" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040706040703000305000604 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I build qemu-upstream on CentOS 6 x86_64 and libcacard is been installed into /usr/lib: /usr/lib/libcacard.a /usr/lib/libcacard.la /usr/lib/libcacard.so /usr/lib/libcacard.so.0 /usr/lib/libcacard.so.0.0.0 /usr/lib/pkgconfig/libcacard.pc Here is the build log: make[2]: Entering directory `/share/rpmbuild/BUILD/xen-4.5.0/tools' if test -d git://xenbits.xen.org/qemu-upstream-unstable.git ; then \ source=git://xenbits.xen.org/qemu-upstream-unstable.git; \ else \ source=.; \ fi; \ cd qemu-xen-dir; \ $source/configure --enable-xen --target-list=i386-softmmu \ --enable-debug --enable-trace-backend=stderr \ --prefix=/usr \ --source-path=$source \ --extra-cflags="-I/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/include \ -I/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/libxc \ -I/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/xenstore \ -I/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/xenstore/compat \ " \ --extra-ldflags="-L/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/libxc \ -L/share/rpmbuild/BUILD/xen-4.5.0/tools/../tools/xenstore" \ --bindir=/usr/lib/xen/bin \ --datadir=/usr/share/qemu-xen \ --localstatedir=/var \ --disable-kvm \ --disable-docs \ --disable-guest-agent \ --python=python \ ; \ make all Install prefix /usr BIOS directory /usr/share/qemu-xen/qemu binary directory /usr/lib/xen/bin library directory /usr/lib libexec directory /usr/libexec include directory /usr/include config directory /usr/etc local state directory /var Manual directory /usr/share/man ... Is this expected? I thought it should be installed into /usr/lib64 as all other xen libs. Attached patch will change the behavior. Apply it if you think it's what we want. Signed-off-by: Zhigang Wang Thanks, Zhigang --------------040706040703000305000604 Content-Type: text/x-patch; name="ovs-xen-qemu-upstream-libdir.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ovs-xen-qemu-upstream-libdir.patch" diff --git a/tools/Makefile b/tools/Makefile index 3675515..93c79e7 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -188,6 +188,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find $$source/configure --enable-xen --target-list=i386-softmmu \ $(QEMU_XEN_ENABLE_DEBUG) \ --prefix=$(PREFIX) \ + --libdir=$(LIBDIR) \ --source-path=$$source \ --extra-cflags="-I$(XEN_ROOT)/tools/include \ -I$(XEN_ROOT)/tools/libxc \ --------------040706040703000305000604 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --------------040706040703000305000604--