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.
|