From: Zhigang Wang <zhigang.x.wang@oracle.com>
To: xen-devel <xen-devel@lists.xen.org>
Subject: libcacard is been installed to /usr/lib while libdir=/usr/lib64
Date: Mon, 12 May 2014 20:10:05 -0400 [thread overview]
Message-ID: <537162DD.7000304@oracle.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1955 bytes --]
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 <zhigang.x.wang@oracle.com>
Thanks,
Zhigang
[-- Attachment #2: ovs-xen-qemu-upstream-libdir.patch --]
[-- Type: text/x-patch, Size: 429 bytes --]
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 \
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next reply other threads:[~2014-05-13 0:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 0:10 Zhigang Wang [this message]
2014-05-15 15:10 ` libcacard is been installed to /usr/lib while libdir=/usr/lib64 Ian Campbell
2014-05-15 15:54 ` Zhigang Wang
2014-05-20 12:40 ` Ian Campbell
2014-05-20 13:00 ` Zhigang Wang
2014-05-20 13:05 ` Olaf Hering
2014-05-20 13:02 ` Olaf Hering
2014-05-20 13:07 ` Andrew Cooper
2014-05-20 13:21 ` Zhigang Wang
2014-05-20 16:55 ` Zhigang Wang
2014-05-21 7:46 ` Olaf Hering
2014-05-21 10:25 ` Ian Campbell
2014-05-21 10:50 ` Olaf Hering
2014-05-21 13:52 ` Zhigang Wang
2014-05-21 14:16 ` Ian Campbell
2014-05-28 16:13 ` Zhigang Wang
2014-06-02 14:40 ` Ian Campbell
2014-06-02 14:49 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=537162DD.7000304@oracle.com \
--to=zhigang.x.wang@oracle.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).