Xymon Mailing List Archive search

xymon client in 'local' mode, build pain

list John Thurston
Fri, 07 Feb 2014 17:49:30 -0900
Message-Id: <user-131e5b830d83@xymon.invalid>

I've been using my Solaris BB clients with my Xymon server, but am hoping the xymon client will be more zfs-aware than the ancient BB client. To that end, I'm trying to compile a xymon client.

I've spent most of the day fighting with the 'make' process.

Following the notes in:
   http://lists.xymon.com/pipermail/xymon/2013-January/036466.html
   http://lists.xymon.com/pipermail/xymon/2010-September/029376.html
I have modified xymond/Makefile several ways. . .
Adding the line:
IDTOOL := $(shell if test `uname -s` = "SunOS"; then echo /usr/xpg4/bin/id; else echo id; fi)
Changing the lines beginning "../client/xymond_client" to be:
../client/xymond_client: $(CLIENTOBJS) ../lib/libxymonclient.a
        $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/loadhosts.o ../lib/matching.o ../lib/timing.o ../lib/locator.o ../lib/libxymonclientcomm.a ../lib/libxymonclient.a -lrt -lpcre $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
The crazy part is when I compare the results of making with --client and --server. I can only find one difference. A --client build has created the application bin/xymond_client

Is this really the only difference? If so, why is there a broken build process for the '--client' option? Why doesn't the '--server' option also build the xymond_client and leave it abandoned in the bin directory?


-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska