xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* libcacard is been installed to /usr/lib while libdir=/usr/lib64
@ 2014-05-13  0:10 Zhigang Wang
  2014-05-15 15:10 ` Ian Campbell
  0 siblings, 1 reply; 18+ messages in thread
From: Zhigang Wang @ 2014-05-13  0:10 UTC (permalink / raw)
  To: xen-devel

[-- 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

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

end of thread, other threads:[~2014-06-02 14:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13  0:10 libcacard is been installed to /usr/lib while libdir=/usr/lib64 Zhigang Wang
2014-05-15 15:10 ` 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

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).