Hi Ken,
----- Original Message -----
>
> Changes committed to git://oss.sgi.com/kenj/pcp.git dev
> [...]
> commit 3f941847d07d5345c797e969f1b6c3d0f7451326
> Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
> Date: Tue Mar 4 06:56:10 2014 +1100
>
> Makepkgs - sniff to find where gmake is hiding
>
> On the *BSD platforms, I got tired of forgetting to set $MAKE, as in
> MAKE=gmake ./Makepkgs
> so, now Makepkgs tries to figure out which of the commands make or
> gmake is really GNU make.
>
This change appears to trip up pmdaproc.sh in the following way...
[root@smash simple]# ./Install
You will need to choose an appropriate configuration for installation of
the "simple" Performance Metrics Domain Agent (PMDA).
collector collect performance statistics on this system
monitor allow this system to monitor local and/or remote systems
both collector and monitor configuration for this system
Please enter c(ollector) or m(onitor) or b(oth) [b]
Install simple as a daemon or python or perl or dso agent? [daemon]
PMCD should communicate with the simple daemon via a pipe or a socket? [pipe]
Install: Arrgh, PCP devel environment required to install this PMDA
[root@smash simple]# [... edit pmdaproc.sh, ~line 1083...]
elif [ -f Makefile -o -f makefile -o -f GNUmakefile ]
then
# $PCP_MAKE_PROG may contain command line args ... executable
# is first word
#
if [ ! -f "`echo $PCP_MAKE_PROG | sed -e 's/ .*//'`" -o ! -f
"$PCP_INC_DIR/pmda.h" ]
then
echo "$prog: Arrgh, PCP devel environment required to install
this PMDA"
exit 1
fi
[root@smash simple]# grep MAKE /etc/pcp.conf
PCP_MAKE_PROG=make
[root@smash simple]#
So, I suspect we used to have a full path there (hence test -f succeeds)
but now we no longer do...?
cheers.
--
Nathan
|