* configure --prefix default @ 2012-01-19 11:27 Bernhard Voelker 2012-01-19 17:26 ` Mike Frysinger 0 siblings, 1 reply; 2+ messages in thread From: Bernhard Voelker @ 2012-01-19 11:27 UTC (permalink / raw) To: util-linux@vger.kernel.org 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? If someone relies on /usr/local as the default, then she overwrites the native version of the files of his distribution. 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. Have a nice day, Berny ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: configure --prefix default 2012-01-19 11:27 configure --prefix default Bernhard Voelker @ 2012-01-19 17:26 ` Mike Frysinger 0 siblings, 0 replies; 2+ messages in thread From: Mike Frysinger @ 2012-01-19 17:26 UTC (permalink / raw) To: Bernhard Voelker; +Cc: util-linux@vger.kernel.org [-- 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 --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-19 17:26 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-01-19 11:27 configure --prefix default Bernhard Voelker 2012-01-19 17:26 ` Mike Frysinger
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).