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
|