pcp
[Top] [All Lists]

Re: configure ignores --prefix argument

To: James Peach <jamespeach@xxxxxxx>
Subject: Re: configure ignores --prefix argument
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Tue, 25 Mar 2008 14:32:01 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <F9893D85-D2D5-4D9D-BBEF-12F6766A07AD@mac.com>
Organization: Aconex
References: <F9893D85-D2D5-4D9D-BBEF-12F6766A07AD@mac.com>
Reply-to: nscott@xxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
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.

BTW, the patch below should help with your other issue - the
default "local" bin path setting on Mac...

diff --git a/src/include/pcp.env b/src/include/pcp.env
index ca657fc..dc6c96d 100644
--- a/src/include/pcp.env
+++ b/src/include/pcp.env
@@ -63,7 +63,7 @@ PATH=$PATH/usr/sbin:/sbin:/bin:/usr/bin:/etc:
${PCP_BIN_DIR}:${
 #
 for dir in /usr/bsd /usr/etc /usr/bin/X11 /usr/local/bin \
        /opt/sfw/bin /usr/ccs/bin /cygdrive/c/WINDOWS/system32 \
-       /usr/contrib/bin
+       /usr/contrib/bin /opt/local/bin
 do
     [ -d $dir ] || continue
     echo "$PATH" | egrep ":$dir(:|\$)" >/dev/null && continue


cheers.

-- 
Nathan


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