xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Zhigang Wang <zhigang.x.wang@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: libcacard is been installed to /usr/lib while libdir=/usr/lib64
Date: Thu, 15 May 2014 11:54:32 -0400	[thread overview]
Message-ID: <5374E338.4060908@oracle.com> (raw)
In-Reply-To: <1400166650.19926.14.camel@kazak.uk.xensource.com>

On 05/15/2014 11:10 AM, Ian Campbell wrote:
> On Mon, 2014-05-12 at 20:10 -0400, Zhigang Wang wrote:
>> Is this expected? I thought it should be installed into /usr/lib64 as all other
>> xen libs.
> 
> I think it depends on how you configured the Xen build -- what options
> did you use?
> 
>> Attached patch will change the behavior. Apply it if you think it's what we want.
> 
> I think it probably is but I'll wait for confirmation of the options you
> used.

I think the problem is simple as this:

For xen:

./configure --prefix=/usr --libdir=/usr/lib64

For qemu: we didn't pass the --libdir when we configure it, so it uses the default one: $PREFIX/lib

I use RPM %configure macro, and it translates to:

+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info

There are many other options has the same issue: they may different for qemu and xen.
I'm not sure what is the best way to handle it.

Thanks,

Zhigang

  reply	other threads:[~2014-05-15 15:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=5374E338.4060908@oracle.com \
    --to=zhigang.x.wang@oracle.com \
    --cc=Ian.Campbell@citrix.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).