On Tue, May 12, 2015 11:40 am, John Thurston wrote:
On 5/12/2015 6:20 AM, J.C. Cleaver wrote:
I've posted Release Candidate 1 for Xymon 4.3.20, . . . Please take a pounding on it and let me know if you notice any problems
especially on non-Linux systems. If all goes according to plan, I'll be releasing the final 4.3.20 later on this week.
On Solaris 10, xymonnet/c-ares-shim.sh is trying to pass "-e" options to grep and failing during the make.
mv c-ares-1.10.0 c-ares
Must touch "configure", or it will trigger a rebuild because it is
older than the tar.gz file. touch c-ares/configure (cd c-ares && ../c-ares-shim.sh ./configure --disable-shared) grep: illegal option -- e grep: illegal option -- I grep: illegal option -- e grep: illegal option -- D grep: illegal option -- e grep: illegal option -- L Usage: grep -hblcnsviw pattern file . . . ../c-ares-shim.sh: test: argument expected gmake[1]: *** [c-ares/Makefile] Error 1 gmake[1]: Leaving directory `/opt/xymon/xymon-4.3.20-rc1/xymonnet' gmake: *** [xymonnet-build] Error 2
/usr/bin/grep doesn't handle -e /usr/xpg4/bin/grep does
c-ares-shim.sh is just calling 'grep'. Isn't there something in the process which defines $GREP and $EGREP to point to an appropriate version of grep?
Unfortunately not -- configure hadn't had a need for it it seems, and we're not within autoconf currently.
Can you try this quick patch to it? Although uglier, I don't think there's a need for a single (e)grep there.
-jc