pcp
[Top] [All Lists]

Re: configure ignores --prefix argument

To: nscott@xxxxxxxxxx
Subject: Re: configure ignores --prefix argument
From: James Peach <jamespeach@xxxxxxx>
Date: Mon, 24 Mar 2008 20:59:23 -0700
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1206415921.29868.300.camel@edge.scott.net.au>
References: <F9893D85-D2D5-4D9D-BBEF-12F6766A07AD@mac.com> <1206415921.29868.300.camel@edge.scott.net.au>
Sender: pcp-bounce@xxxxxxxxxxx
On 24/03/2008, at 8:32 PM, Nathan Scott wrote:

On Mon, 2008-03-24 at 20:00 -0700, James Peach wrote:




Hi all,

I just talked PCP 2.7.4 into building on Mac OS X 10.5 and was
surprised to find that the --prefix argument to configure is
ignored.
Is this a known issue? Is there any change of this being addressed?

Contrary to my earlier comment, its not completely ignored - it is driven by AC_PREFIX_DEFAULT(/usr) in configure.in, and most/all of the install prefixes should be driven from this now. There was an issue with modern versions of autoconf, but IIRC that was worked around (by Ken and I, in my tree), not sure if that made it back into the SGI tree yet.


Actually it's possible that it works find in the SGI tree as well. The problem seems to be that the GNUmakefile hardcodes how to run configure.

this

./configure --prefix=/foo && make

will actually run configure twice, the second time without any arguments. To get it right, you need to do this

./configure --prefix=/foo && touch config.done && make

Once you do this, prefix takes effect as expected.


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