Re: configure --prefix default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux