util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Bernhard Voelker <mail@bernhard-voelker.de>
Cc: "util-linux@vger.kernel.org" <util-linux@vger.kernel.org>
Subject: Re: configure --prefix default
Date: Thu, 19 Jan 2012 12:26:18 -0500	[thread overview]
Message-ID: <201201191226.19529.vapier@gentoo.org> (raw)
In-Reply-To: <4F17FE0D.4080901@bernhard-voelker.de>

[-- Attachment #1: Type: Text/Plain, Size: 954 bytes --]

On Thursday 19 January 2012 06:27:09 Bernhard Voelker wrote:
> Usually, software built via `configure && make && make install` uses
> /usr/local as default for the prefix. Is there any reason for util-linux
> not to use the same?
> 
> BTW: `configure --help` states that it would use /usr as default prefix:
> 
>   --prefix=PREFIX         install architecture-independent files in PREFIX
>                           [/usr]
> 
> ... but in fact e.g. chcpu is installed as "/sbin/chcpu" (i.e. without
> /usr). This doesn't sound correct.

look at the configure output.  if you don't specify a value yourself, the 
default paths are tweaked to be a more natural install with some in / and some 
in /usr.

> If someone relies on /usr/local as the default, then
> she overwrites the native version of the files of his distribution.

that's a PEBKAC issue.  anyone blindly doing `make install` is doomed to 
killing their machine.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2012-01-19 17:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19 11:27 configure --prefix default Bernhard Voelker
2012-01-19 17:26 ` Mike Frysinger [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=201201191226.19529.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=mail@bernhard-voelker.de \
    --cc=util-linux@vger.kernel.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).