xfs
[Top] [All Lists]

Re: xfsprogs: PREFIX defaults to /usr

To: "Peter 'Luna' Runestig" <peter@xxxxxxxxxxxx>
Subject: Re: xfsprogs: PREFIX defaults to /usr
From: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 22 Nov 2001 17:39:48 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <004001c17265$1d36d280$64110b0a@datavis.se>; from peter@runestig.com on Wed, Nov 21, 2001 at 09:18:33AM +0100
References: <004001c17265$1d36d280$64110b0a@datavis.se>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi Peter,

On Wed, Nov 21, 2001 at 09:18:33AM +0100, Peter 'Luna' Runestig wrote:
> 
> I just built and installed xfsprogs-1.3.13, and got a little surprise.
> ...
> but PREFIX actually defaults to /usr (from configure.in):
> 

Yes, this is because we need to install some stuff to /sbin
and some to /usr/sbin, and I wanted to have a default which
would install to a place that most people would expect the
sort of binaries that are in xfsprogs to go.

> This actually rules out the '--prefix' switch altogether, so the './configure 
> --help' help text probably should be changed, if this unorthodox 'prefix' 
> handling is desired.
> 
> The surprise? Well, I wanted it all to install in /usr/local ...

This part (--prefix in the usage message) of the configure
output is not configurable, afaict, so I couldn't remove it.

Perhaps an alternate way for us to do this would be to support
--prefix (for /usr/sbin stuff) and --root-prefix (for /sbin)..
I've just never got around to it, and its not very high on the
priority list right now.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>