cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] dlm: master - dlm: clear out old stuff and build system
Date: Mon, 03 Oct 2011 22:45:52 +0200	[thread overview]
Message-ID: <4E8A1F00.3010708@redhat.com> (raw)
In-Reply-To: <20111003182317.GB7181@redhat.com>

On 10/03/2011 08:23 PM, David Teigland wrote:
>>  dlm/libdlm/libdlm.pc.in               |   11 -
>>  dlm/libdlm/libdlm_lt.pc.in            |   11 -
>>
>> dropping the .pc file is going to break dlm users.
>>
>> pc files are used by different build systems (not just
>> autotools/autoconf) to detect libdlm and link against it correctly.
>>
>> Similar to what you use for libxml2 in your new build system, they
>> provide pkg-config information.
> 
> ok, I've pushed this out, including this which I suspect is not quite
> correct:
> 
> DESTDIR=
> PREFIX=/usr
> LIBDIR=/usr/lib64
> HDRDIR=/usr/include 
> MANDIR=/usr/share/man
> PKGDIR=/usr/lib64/pkgconfig
> UDEVDIR=/etc/udev/rules.d
> 
> Should all references to /usr be $(PREFIX) instead?

yes, that's correct. /usr -> $(PREFIX)

There is also a more generic problem that lib64 is not always correct
and depends on architecture, distribution and in some extreme cases
multiarch implementation (something somewhat new that's being pushed
hard in Debian)

Most ./configure would detect it correctly, but in your case, set a
default that allows override (same way as you handle PREFIX).

One minor nit-pick, UDEVDIR upstream has changed to /lib/udev/rules.d
(/lib is hardcoded and doesn't change to /lib64 like it does for libraries).
We never changed STABLE31 since /etc/ still works, but by the time the
new dlm will be available, we should move it in the right location.

Fabio



      reply	other threads:[~2011-10-03 20:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20110930215717.E852C12015A@lists.fedorahosted.org>
2011-10-01  5:32 ` [Cluster-devel] dlm: master - dlm: clear out old stuff and build system Fabio M. Di Nitto
2011-10-03 18:23   ` David Teigland
2011-10-03 20:45     ` Fabio M. Di Nitto [this message]

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=4E8A1F00.3010708@redhat.com \
    --to=fdinitto@redhat.com \
    /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).