Error compiling Xymon Client in client mode
Hi,
I'm trying to compile to compile the Xymon client in client mode (configuration files on the client). I'm using xymon 4.3.10. I'm compiling on ubuntu lucid with pcre and pcre-dev installed. I'm stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.
Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I didn't find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated.
Here are the detailed steps I made : xymon-4.3.10# ./configure --client
Configuration script for Xymon client
This script asks a few questions and builds a Makefile to compile Xymon
Checking your make-utility
Xymon normally keeps all of the client configuration files on the Xymon server. If you prefer, it is possible to use a local client configuration file instead - if so, answer 'client' to the next question. NB: Local configuration requires the PCRE libs on each host.
Server side client configuration, or client side [server] ? client
Checking for the PCRE libraries Checking for PCRE ... Compiling with PCRE library works OK Linking with PCRE library works OK
Checking for Large File Support ... Large File Support OK
Checking for clock_gettime() requiring librt ... clock_gettime() requires librt
What userid will be running Xymon [xymon] ?
Found passwd entry for user xymon:x:1005:1000:Xymon user:/home/xymon:/bin/sh
Where do you want the Xymon installation [/home/xymon] ?
OK, will configure to use /home/xymon as the Xymon toplevel directory
What is the IP-address of your Xymon server [127.0.0.1] ?
** NOTE: Using 127.0.0.1 (loopback), but it is probably not what you want **
Using Linux Makefile settings
Created Makefile with the necessary information to build Xymon Some defaults are used, so do look at the Makefile before continuing.
Configuration complete - now run make -s (GNU make) to build the tools
Edited Makefile to add PCRE include dir
xymon-4.3.10# make
MAKE="make" CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" pwd/build/genconfig.sh
Checking for socklen_t
Checking for snprintf
Checking for vsnprintf
Checking for rpc/rpcent.h
Checking for sys/select.h
Checking for u_int32_t typedef
Checking for PATH_MAX definition
Checking for SHUT_RD/WR/RDWR definitions
Checking for strtoll()
config.h created
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I/usr/include" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib client
make[1]: Entering directory /root/xymon-4.3.10/lib' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -o test-endianness test-endianness.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o osdefs.o osdefs.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o cgiurls.o cgiurls.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -DCLIENTONLY -c -o color-client.o color.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o crondate.o crondate.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o digest.o digest.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o encoding.o encoding.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -DXYMONTOPDIR=\"/home/xymon\" -DXYMONLOGDIR=\"\" -DXYMONHOSTNAME=\"\" -DXYMONHOSTIP=\"127.0.0.1\" -DXYMONHOSTOS=\"\" -DBUILD_HOME=\"/home/xymon/client\" -c -o environ-client.o environ.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o errormsg.o errormsg.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o holidays.o holidays.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o ipaccess.o ipaccess.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o md5.o md5.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o memory.o memory.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o misc.o misc.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o msort.o msort.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include ./test-endianness-c -o rmd160c.o rmd160c.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include ./test-endianness-c -o sha1.o sha1.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o sha2.o sha2.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o sig.o sig.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o stackio.o stackio.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o strfunc.o strfunc.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o suid.o suid.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -DCLIENTONLY -c -o timefunc-client.o timefunc.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o tree.o tree.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -I/usr/include -c -o matching.o matching.c ar cr libxymonclient.a osdefs.o cgiurls.o color-client.o crondate.o digest.o encoding.o environ-client.o errormsg.o holidays.o ipaccess.o md5.o memory.o misc.o msort.o rmd160c.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc-client.o tree.o matching.o ranlib libxymonclient.a || echo "" gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o loadhosts.o loadhosts.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o sendmsg.o sendmsg.c ar cr libxymonclientcomm.a loadhosts.o sendmsg.o ranlib libxymonclientcomm.a || echo "" gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o run.o run.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -I../include -c -o timing.o timing.c ar cr libxymontime.a run.o timing.o ranlib libxymontime.a || echo "" make[1]: Leaving directory/root/xymon-4.3.10/lib'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" ZLIBLIBS="" LIBRTDEF="-lrt" XYMONHOME="/home/xymon/client" make -C common client
make[1]: Entering directory /root/xymon-4.3.10/common' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymon.o xymon.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -o ../client/xymon xymon.o ../lib/libxymonclientcomm.a -lrt ../lib/libxymonclient.a gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymonlaunch.o xymonlaunch.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -o ../client/xymonlaunch xymonlaunch.o ../lib/libxymontime.a -lrt ../lib/libxymonclient.a gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymoncmd.o xymoncmd.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -o ../client/xymoncmd xymoncmd.o ../lib/libxymonclient.a gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymongrep.o xymongrep.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -o ../client/xymongrep xymongrep.o ../lib/libxymonclientcomm.a -lrt ../lib/libxymonclient.a gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymoncfg.o xymoncfg.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -o ../client/xymoncfg xymoncfg.o ../lib/libxymonclient.a gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymondigest.o xymondigest.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -o ../client/xymondigest xymondigest.o ../lib/libxymonclientcomm.a -lrt ../lib/libxymonclient.a make[1]: Leaving directory /root/xymon-4.3.10/common'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONHOME="/home/xymon/client" make -C build all
make[1]: Entering directory /root/xymon-4.3.10/build' gcc -o merge-lines -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include merge-lines.c gcc -o merge-sects -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include merge-sects.c gcc -o setup-newfiles -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include setup-newfiles.c ../lib/libxymonclient.a gcc -o renamevars -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include renamevars.c gcc -o renametasks -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include renametasks.c make[1]: Leaving directory /root/xymon-4.3.10/build'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" RPATHOPT="-Wl,--rpath," RRDDEF="" RRDINCDIR="" PCREINCDIR="-I/usr/include" NETLIBS="" RRDLIBS="" PCRELIBS="-L -lpcre" ZLIBINCDIR="" ZLIBLIBS="" XYMONTOPDIR="/home/xymon" XYMONHOME="/home/xymon/client" XYMONVAR="" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="" XYMONUSER="xymon" CGIDIR="" SECURECGIDIR="" XYMONHOSTURL="" XYMONCGIURL="" SECUREXYMONCGIURL="" MAILPROGRAM=""mail"" RUNTIMEDEFS="" INSTALLWWWDIR="/home/xymon/client/www" INSTALLETCDIR="/home/xymon/client/etc" make -C xymond client
make[1]: Entering directory /root/xymon-4.3.10/xymond' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymond_client.o xymond_client.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymond_worker.o xymond_worker.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o xymond_buffer.o xymond_buffer.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/root/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include -c -o client_config.o client_config.c make[1]: *** No rule to make target ../lib/xymonclient.a', needed by ../client/xymond_client'. Stop. make[1]: Leaving directory /root/xymon-4.3.10/xymond'
make: *** [xymond-client] Error 2
root at jmeter01:~/xymon-4.3.10#
root at jmeter01:~/xymon-4.3.10# vi client/Makefile
root at jmeter01:~/xymon-4.3.10# vi xymon
xymond/ xymongen/ xymonnet/ xymonproxy/
root at jmeter01:~/xymon-4.3.10# vi xymond/
Makefile client_config.h do_alert.h rrd/ xymon-mailack.8 xymond_alert.c xymond_channel.c xymond_filestore.c xymond_ipc.h xymond_sample.8 xymonreports.sh.DIST
alerts.cfg.5 combo.cfg.5 do_rrd.c rrdcachectl.c xymon-mailack.c xymond_buffer.c xymond_client.8 xymond_history.8 xymond_locator.c xymond_sample.c xymonweb.5
analysis.cfg.5 combostatus.1 do_rrd.h trimhistory.8 xymon.sh.DIST xymond_buffer.h xymond_client.c xymond_history.c xymond_rootlogin.pl xymond_worker.c
client/ combostatus.c etcfiles/ trimhistory.c xymond.8 xymond_capture.8 xymond_distribute.8 xymond_hostdata.8 xymond_rrd.8 xymond_worker.h
client-local.cfg.5 convertnk.c moverrd.sh.DIST webfiles/ xymond.c xymond_capture.c xymond_distribute.c xymond_hostdata.c xymond_rrd.c xymonfetch.8
client_config.c do_alert.c new-daemon.txt wwwfiles/ xymond_alert.8 xymond_channel.8 xymond_filestore.8 xymond_ipc.c xymond_rrd.h xymonfetch.c
root at jmeter01:~/xymon-4.3.10# vi xymond/Makefile
root at jmeter01:~/xymon-4.3.10# make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="-I/usr/include" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib client
make[1]: Entering directory /root/xymon-4.3.10/lib' make[1]: Nothing to be done for client'.
make[1]: Leaving directory /root/xymon-4.3.10/lib' CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" ZLIBLIBS="" LIBRTDEF="-lrt" XYMONHOME="/home/xymon/client" make -C common client make[1]: Entering directory /root/xymon-4.3.10/common'
make[1]: Nothing to be done for client'. make[1]: Leaving directory /root/xymon-4.3.10/common'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" RPATHOPT="-Wl,--rpath," SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt" XYMONHOME="/home/xymon/client" make -C build all
make[1]: Entering directory /root/xymon-4.3.10/build' make[1]: Nothing to be done for all'.
make[1]: Leaving directory /root/xymon-4.3.10/build' CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -Ipwd/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I/usr/include" LDFLAGS="" RPATHOPT="-Wl,--rpath," RRDDEF="" RRDINCDIR="" PCREINCDIR="-I/usr/include" NETLIBS="" RRDLIBS="" PCRELIBS="-L -lpcre" ZLIBINCDIR="" ZLIBLIBS="" XYMONTOPDIR="/home/xymon" XYMONHOME="/home/xymon/client" XYMONVAR="" XYMONLOGDIR="" XYMONHOSTNAME="" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="" XYMONUSER="xymon" CGIDIR="" SECURECGIDIR="" XYMONHOSTURL="" XYMONCGIURL="" SECUREXYMONCGIURL="" MAILPROGRAM=""mail"" RUNTIMEDEFS="" INSTALLWWWDIR="/home/xymon/client/www" INSTALLETCDIR="/home/xymon/client/etc" make -C xymond client make[1]: Entering directory /root/xymon-4.3.10/xymond'
make[1]: *** No rule to make target ../client/xymond_client', needed by client'. Stop.
make[1]: Leaving directory `/root/xymon-4.3.10/xymond'
make: *** [xymond-client] Error 2
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
Hello,
I'm still stucked on this problem. ./configure -client + client side configuration does not compile.
Does someone have any idea ?
Thanks
Florent Deschamps
De : xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com Envoyé : mardi 18 décembre 2012 11:08 À : xymon at xymon.com Objet : [Xymon] Error compiling Xymon Client in client mode
Hi,
I'm trying to compile to compile the Xymon client in client mode (./configure -client, + client side configuration). I'm using xymon 4.3.10. I'm compiling on ubuntu lucid with pcre and pcre-dev installed. I'm stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.
Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I didn't find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated.
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how?
From: fdeschamps.ext at orange.com [mailto:fdeschamps.ext at orange.com] Sent: Thursday, January 03, 2013 04:15 AM To: xymon at xymon.com <xymon at xymon.com> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Hello,
I’m still stucked on this problem. ./configure –client + client side configuration does not compile.
Does someone have any idea ?
Thanks
Florent Deschamps
De : xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com Envoyé : mardi 18 décembre 2012 11:08 À : xymon at xymon.com Objet : [Xymon] Error compiling Xymon Client in client mode
Hi,
I’m trying to compile to compile the Xymon client in client mode (./configure –client, + client side configuration). I’m using xymon 4.3.10. I’m compiling on ubuntu lucid with pcre and pcre-dev installed. I’m stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.
Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I didn’t find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated.
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
A rule is missing in one of the Makefile and it can’t compile xymond_client.
The final error is :
make[1]: Entering directory /home/fdeschamps/xymon-4.3.10/xymond' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_client.o xymond_client.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_worker.o xymond_worker.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_buffer.o xymond_buffer.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o client_config.o client_config.c make[1]: *** No rule to make target ../lib/xymonclient.a', needed by ../client/xymond_client'. Stop. make[1]: Leaving directory /home/fdeschamps/xymon-4.3.10/xymond'
make: *** [xymond-client] Error 2
The complete output is here : http://pastebin.com/58hm9cXP
Florent Deschamps
De : Novosielski, Ryan [mailto:novosirj at umdnj.edu] Envoyé : jeudi 3 janvier 2013 15:49 À : DESCHAMPS Florent Ext DMGP/PORTAIL; 'xymon at xymon.com' Objet : Re: [Xymon] Error compiling Xymon Client in client mode
I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how?
From: fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> [mailto:fdeschamps.ext at orange.com] Sent: Thursday, January 03, 2013 04:15 AM To: xymon at xymon.com<mailto:xymon at xymon.com> <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Hello,
I’m still stucked on this problem. ./configure –client + client side configuration does not compile.
Does someone have any idea ?
Thanks
Florent Deschamps
De : xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> Envoyé : mardi 18 décembre 2012 11:08 À : xymon at xymon.com<mailto:xymon at xymon.com> Objet : [Xymon] Error compiling Xymon Client in client mode
Hi,
I’m trying to compile to compile the Xymon client in client mode (./configure –client, + client side configuration). I’m using xymon 4.3.10. I’m compiling on ubuntu lucid with pcre and pcre-dev installed. I’m stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.
Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I didn’t find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated.
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
I get the same result when trying to do the same thing (with v4.3.4 and v4.3.10). I think that there's a bug in the way the client is built when using client-side configuration, and nobody uses it anymore so it hasn't been tested for a very long time.
It seems that if you first configure for client-side config, it will not create the lib/xymonclient.a file required. However, if you first configure for server-side config and make, then re-configure for client-side config and make again, this problem goes away.
There are two more problems, it seems: The file xymond/Makefile requires an adjustment for using libxymonclient instead of xymonclient, and some libraries need to be forced to link against it also. So the following adjusted entry in xymond/Makefile worked for me:
../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 -lpcre* $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I note that some of the libraries should have been pulled in with $(PCRELIBS) and $(LIBRTDEF) but these don't seem to have been defined when in client-config mode.
J
On 4 January 2013 02:17, <fdeschamps.ext at orange.com> wrote:
A rule is missing in one of the Makefile and it can’t compile xymond_client.****
The final error is :****
make[1]: Entering directory `/home/fdeschamps/xymon-4.3.10/xymond'****
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_client.o xymond_client.c****
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_worker.o xymond_worker.c****
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_buffer.o xymond_buffer.c****
gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o client_config.o client_config.c****
make[1]: *** No rule to make target
../lib/xymonclient.a', needed by../client/xymond_client'. Stop.****make[1]: Leaving directory `/home/fdeschamps/xymon-4.3.10/xymond'****
make: *** [xymond-client] Error 2****
The complete output is here : http://pastebin.com/58hm9cXP****
*Florent Deschamps*****
*De :* Novosielski, Ryan [mailto:novosirj at umdnj.edu] *Envoyé :* jeudi 3 janvier 2013 15:49 *À :* DESCHAMPS Florent Ext DMGP/PORTAIL; 'xymon at xymon.com' *Objet :* Re: [Xymon] Error compiling Xymon Client in client mode****
I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how?
*From*: fdeschamps.ext at orange.com [mailto:fdeschamps.ext at orange.com<fdeschamps.ext at orange.com>]
*Sent*: Thursday, January 03, 2013 04:15 AM *To*: xymon at xymon.com <xymon at xymon.com> *Subject*: Re: [Xymon] Error compiling Xymon Client in client mode
Hello,****
I’m still stucked on this problem.****
./configure –client + client side configuration does not compile.****
Does someone have any idea ?****
Thanks****
*Florent Deschamps*****
*De :* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com<xymon-bounces at xymon.com>] *De la part de* fdeschamps.ext at orange.com *Envoyé :* mardi 18 décembre 2012 11:08 *À :* xymon at xymon.com *Objet :* [Xymon] Error compiling Xymon Client in client mode****
Hi,****
I’m trying to compile to compile the Xymon client in client mode (./configure –client, + client side configuration).****
I’m using xymon 4.3.10. I’m compiling on ubuntu lucid with pcre and pcre-dev installed.****
I’m stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.****
Indeed, in xymond/Makefile :****
../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a****
$(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a$(PCRELIBS) $(NETLIBS) $(LIBRTDEF)****
I didn’t find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile)****
Any help would be appreciated.****
****_________________________________________________________________________________________________________________________****
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc****
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler****
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,****
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.****
This message and its attachments may contain confidential or privileged information that may be protected by law;****
they should not be distributed, used or copied without authorisation.****
If you have received this email in error, please notify the sender and delete this message and its attachments.****
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.****
Thank you.****
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
I could swear I've configured the client side only very recently and did not have difficulty. Supporting evidence is that my Xymon server is SPARC and my Xymon NET machines are x86 and my clients are both Solarises and Linux. Would seem to me at least once I've tried a client-only type between all that, but I'm willing to do it again. What OS is this?
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Thursday, January 03, 2013 11:21 PM To: fdeschamps.ext at orange.com <fdeschamps.ext at orange.com> Cc: xymon at xymon.com <xymon at xymon.com> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
I get the same result when trying to do the same thing (with v4.3.4 and v4.3.10). I think that there's a bug in the way the client is built when using client-side configuration, and nobody uses it anymore so it hasn't been tested for a very long time.
It seems that if you first configure for client-side config, it will not create the lib/xymonclient.a file required. However, if you first configure for server-side config and make, then re-configure for client-side config and make again, this problem goes away.
There are two more problems, it seems: The file xymond/Makefile requires an adjustment for using libxymonclient instead of xymonclient, and some libraries need to be forced to link against it also. So the following adjusted entry in xymond/Makefile worked for me:
../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 -lpcre $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I note that some of the libraries should have been pulled in with $(PCRELIBS) and $(LIBRTDEF) but these don't seem to have been defined when in client-config mode.
J
On 4 January 2013 02:17, <fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com>> wrote: A rule is missing in one of the Makefile and it can’t compile xymond_client.
The final error is :
make[1]: Entering directory /home/fdeschamps/xymon-4.3.10/xymond' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_client.o xymond_client.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_worker.o xymond_worker.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_buffer.o xymond_buffer.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o client_config.o client_config.c make[1]: *** No rule to make target ../lib/xymonclient.a', needed by ../client/xymond_client'. Stop. make[1]: Leaving directory /home/fdeschamps/xymon-4.3.10/xymond'
make: *** [xymond-client] Error 2
The complete output is here : http://pastebin.com/58hm9cXP
Florent Deschamps
De : Novosielski, Ryan [mailto:novosirj at umdnj.edu<mailto:novosirj at umdnj.edu>] Envoyé : jeudi 3 janvier 2013 15:49 À : DESCHAMPS Florent Ext DMGP/PORTAIL; 'xymon at xymon.com<mailto:xymon at xymon.com>' Objet : Re: [Xymon] Error compiling Xymon Client in client mode
I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how?
From: fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> [mailto:fdeschamps.ext at orange.com] Sent: Thursday, January 03, 2013 04:15 AM To: xymon at xymon.com<mailto:xymon at xymon.com> <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Hello,
I’m still stucked on this problem. ./configure –client + client side configuration does not compile.
Does someone have any idea ?
Thanks
Florent Deschamps
De : xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> Envoyé : mardi 18 décembre 2012 11:08 À : xymon at xymon.com<mailto:xymon at xymon.com> Objet : [Xymon] Error compiling Xymon Client in client mode
Hi,
I’m trying to compile to compile the Xymon client in client mode (./configure –client, + client side configuration). I’m using xymon 4.3.10. I’m compiling on ubuntu lucid with pcre and pcre-dev installed. I’m stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.
Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I didn’t find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated.
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
The OS we are using are Debian or Ubuntu.
Florent Deschamps
De : Novosielski, Ryan [mailto:novosirj at umdnj.edu] Envoyé : vendredi 4 janvier 2013 07:40 À : 'jlaidman at rebel-it.com.au'; DESCHAMPS Florent Ext DMGP/PORTAIL Cc : 'xymon at xymon.com' Objet : Re: [Xymon] Error compiling Xymon Client in client mode
I could swear I've configured the client side only very recently and did not have difficulty. Supporting evidence is that my Xymon server is SPARC and my Xymon NET machines are x86 and my clients are both Solarises and Linux. Would seem to me at least once I've tried a client-only type between all that, but I'm willing to do it again. What OS is this?
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Thursday, January 03, 2013 11:21 PM To: fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> <fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com>> Cc: xymon at xymon.com<mailto:xymon at xymon.com> <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
I get the same result when trying to do the same thing (with v4.3.4 and v4.3.10). I think that there's a bug in the way the client is built when using client-side configuration, and nobody uses it anymore so it hasn't been tested for a very long time.
It seems that if you first configure for client-side config, it will not create the lib/xymonclient.a file required. However, if you first configure for server-side config and make, then re-configure for client-side config and make again, this problem goes away.
There are two more problems, it seems: The file xymond/Makefile requires an adjustment for using libxymonclient instead of xymonclient, and some libraries need to be forced to link against it also. So the following adjusted entry in xymond/Makefile worked for me:
../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 -lpcre $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I note that some of the libraries should have been pulled in with $(PCRELIBS) and $(LIBRTDEF) but these don't seem to have been defined when in client-config mode.
J
On 4 January 2013 02:17, <fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com>> wrote: A rule is missing in one of the Makefile and it can’t compile xymond_client.
The final error is :
make[1]: Entering directory /home/fdeschamps/xymon-4.3.10/xymond' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_client.o xymond_client.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_worker.o xymond_worker.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_buffer.o xymond_buffer.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o client_config.o client_config.c make[1]: *** No rule to make target ../lib/xymonclient.a', needed by ../client/xymond_client'. Stop. make[1]: Leaving directory /home/fdeschamps/xymon-4.3.10/xymond'
make: *** [xymond-client] Error 2
The complete output is here : http://pastebin.com/58hm9cXP
Florent Deschamps
De : Novosielski, Ryan [mailto:novosirj at umdnj.edu<mailto:novosirj at umdnj.edu>] Envoyé : jeudi 3 janvier 2013 15:49 À : DESCHAMPS Florent Ext DMGP/PORTAIL; 'xymon at xymon.com<mailto:xymon at xymon.com>' Objet : Re: [Xymon] Error compiling Xymon Client in client mode
I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how?
From: fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> [mailto:fdeschamps.ext at orange.com] Sent: Thursday, January 03, 2013 04:15 AM To: xymon at xymon.com<mailto:xymon at xymon.com> <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Hello,
I’m still stucked on this problem. ./configure –client + client side configuration does not compile.
Does someone have any idea ?
Thanks
Florent Deschamps
De : xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> Envoyé : mardi 18 décembre 2012 11:08 À : xymon at xymon.com<mailto:xymon at xymon.com> Objet : [Xymon] Error compiling Xymon Client in client mode
Hi,
I’m trying to compile to compile the Xymon client in client mode (./configure –client, + client side configuration). I’m using xymon 4.3.10. I’m compiling on ubuntu lucid with pcre and pcre-dev installed. I’m stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.
Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I didn’t find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated.
Xymon mailing list Xymon at xymon.com<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
Thank you ! Your method worked for me too. I will continue my tests of xymon client with that, hoping that it will be fixed in a future release.
Florent Deschamps
De : Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Envoyé : vendredi 4 janvier 2013 05:21 À : DESCHAMPS Florent Ext DMGP/PORTAIL Cc : xymon at xymon.com Objet : Re: [Xymon] Error compiling Xymon Client in client mode
I get the same result when trying to do the same thing (with v4.3.4 and v4.3.10). I think that there's a bug in the way the client is built when using client-side configuration, and nobody uses it anymore so it hasn't been tested for a very long time.
It seems that if you first configure for client-side config, it will not create the lib/xymonclient.a file required. However, if you first configure for server-side config and make, then re-configure for client-side config and make again, this problem goes away.
There are two more problems, it seems: The file xymond/Makefile requires an adjustment for using libxymonclient instead of xymonclient, and some libraries need to be forced to link against it also. So the following adjusted entry in xymond/Makefile worked for me:
../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 -lpcre $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I note that some of the libraries should have been pulled in with $(PCRELIBS) and $(LIBRTDEF) but these don't seem to have been defined when in client-config mode.
J
On 4 January 2013 02:17, <fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com>> wrote: A rule is missing in one of the Makefile and it can't compile xymond_client.
The final error is :
make[1]: Entering directory /home/fdeschamps/xymon-4.3.10/xymond' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_client.o xymond_client.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_worker.o xymond_worker.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_buffer.o xymond_buffer.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o client_config.o client_config.c make[1]: *** No rule to make target ../lib/xymonclient.a', needed by ../client/xymond_client'. Stop. make[1]: Leaving directory /home/fdeschamps/xymon-4.3.10/xymond'
make: *** [xymond-client] Error 2
The complete output is here : http://pastebin.com/58hm9cXP
Florent Deschamps
De : Novosielski, Ryan [mailto:novosirj at umdnj.edu<mailto:novosirj at umdnj.edu>] Envoyé : jeudi 3 janvier 2013 15:49 À : DESCHAMPS Florent Ext DMGP/PORTAIL; 'xymon at xymon.com<mailto:xymon at xymon.com>' Objet : Re: [Xymon] Error compiling Xymon Client in client mode
I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how?
From: fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> [mailto:fdeschamps.ext at orange.com] Sent: Thursday, January 03, 2013 04:15 AM To: xymon at xymon.com<mailto:xymon at xymon.com> <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Hello,
I'm still stucked on this problem. ./configure -client + client side configuration does not compile.
Does someone have any idea ?
Thanks
Florent Deschamps
De : xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> Envoyé : mardi 18 décembre 2012 11:08 À : xymon at xymon.com<mailto:xymon at xymon.com> Objet : [Xymon] Error compiling Xymon Client in client mode
Hi,
I'm trying to compile to compile the Xymon client in client mode (./configure -client, + client side configuration). I'm using xymon 4.3.10. I'm compiling on ubuntu lucid with pcre and pcre-dev installed. I'm stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.
Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I didn't find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated.
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
Thanks, compiling the server worked for me to get a good client for both 4.3.3 and 4.3.10. Best regards.
Eric Poinsignon Unix systems engineer
Temenos , Odyssey Financial Technologies S.A*, Av. des Baumettes 23, 1020 Renens, SWITZERLAND
Phone:
+41 (0) 21 310 09 25
Fax::
+41 (0) 21 310 00 99
Email:
epoinsignon at temenos.com
Web:
www.temenos.com<http://www.temenos.com/>
- a member of the Temenos group of companies
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of fdeschamps.ext at orange.com Sent: Friday, January 04, 2013 10:05 AM To: Jeremy Laidman Cc: xymon at xymon.com Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Thank you ! Your method worked for me too. I will continue my tests of xymon client with that, hoping that it will be fixed in a future release.
Florent Deschamps
De : Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Envoyé : vendredi 4 janvier 2013 05:21 À : DESCHAMPS Florent Ext DMGP/PORTAIL Cc : xymon at xymon.com<mailto:xymon at xymon.com> Objet : Re: [Xymon] Error compiling Xymon Client in client mode
I get the same result when trying to do the same thing (with v4.3.4 and v4.3.10). I think that there's a bug in the way the client is built when using client-side configuration, and nobody uses it anymore so it hasn't been tested for a very long time.
It seems that if you first configure for client-side config, it will not create the lib/xymonclient.a file required. However, if you first configure for server-side config and make, then re-configure for client-side config and make again, this problem goes away.
There are two more problems, it seems: The file xymond/Makefile requires an adjustment for using libxymonclient instead of xymonclient, and some libraries need to be forced to link against it also. So the following adjusted entry in xymond/Makefile worked for me:
../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 -lpcre $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I note that some of the libraries should have been pulled in with $(PCRELIBS) and $(LIBRTDEF) but these don't seem to have been defined when in client-config mode.
J
On 4 January 2013 02:17, <fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com>> wrote: A rule is missing in one of the Makefile and it can't compile xymond_client.
The final error is :
make[1]: Entering directory /home/fdeschamps/xymon-4.3.10/xymond' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_client.o xymond_client.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_worker.o xymond_worker.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_buffer.o xymond_buffer.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o client_config.o client_config.c make[1]: *** No rule to make target ../lib/xymonclient.a', needed by ../client/xymond_client'. Stop. make[1]: Leaving directory /home/fdeschamps/xymon-4.3.10/xymond'
make: *** [xymond-client] Error 2
The complete output is here : http://pastebin.com/58hm9cXP
Florent Deschamps
De : Novosielski, Ryan [mailto:novosirj at umdnj.edu<mailto:novosirj at umdnj.edu>] Envoyé : jeudi 3 janvier 2013 15:49 À : DESCHAMPS Florent Ext DMGP/PORTAIL; 'xymon at xymon.com<mailto:xymon at xymon.com>' Objet : Re: [Xymon] Error compiling Xymon Client in client mode
I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how?
From: fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> [mailto:fdeschamps.ext at orange.com] Sent: Thursday, January 03, 2013 04:15 AM To: xymon at xymon.com<mailto:xymon at xymon.com> <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Hello,
I'm still stucked on this problem. ./configure -client + client side configuration does not compile.
Does someone have any idea ?
Thanks
Florent Deschamps
De : xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> Envoyé : mardi 18 décembre 2012 11:08 À : xymon at xymon.com<mailto:xymon at xymon.com> Objet : [Xymon] Error compiling Xymon Client in client mode
Hi,
I'm trying to compile to compile the Xymon client in client mode (./configure -client, + client side configuration). I'm using xymon 4.3.10. I'm compiling on ubuntu lucid with pcre and pcre-dev installed. I'm stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it.
Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I didn't find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated.
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified.
Thank you. The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. Any use or disclosure of the contents of this e-mail/attachments by a not intended recipient is unauthorized and may be unlawful. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of TEMENOS. We recommend that you check this e-mail and any attachments against viruses. TEMENOS accepts no liability for any damage caused by any malicious code or virus transmitted by this e-mail. The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. Any use or disclosure of the contents of this e-mail/attachments by a not intended recipient is unauthorized and may be unlawful. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of TEMENOS. We recommend that you check this e-mail and any attachments against viruses. TEMENOS accepts no liability for any damage caused by any malicious code or virus transmitted by this e-mail.
So I tried to run xymon client with local configuration files, and bumped into another problem. I finally found what it was : it was a bug in the script bin/xymonclient.sh. In local mode, it creates a report with a timestamp of zero, leading to a duplicate message. I had to modify the script the following way : if test "$LOCALMODE" = "yes"; then TIMESTAMP=`date +%s` echo "@@client#1|$TIMESTAMP|127.0.0.1|$MACHINEDOTS|$SERVEOSTYPE" >> $MSGTMPFILE fi Florent Deschamps De : xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com Envoyé : vendredi 4 janvier 2013 10:05 À : Jeremy Laidman Cc : xymon at xymon.com Objet : Re: [Xymon] Error compiling Xymon Client in client mode Thank you ! Your method worked for me too. I will continue my tests of xymon client with that, hoping that it will be fixed in a future release. Florent Deschamps De : Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Envoyé : vendredi 4 janvier 2013 05:21 À : DESCHAMPS Florent Ext DMGP/PORTAIL Cc : xymon at xymon.com<mailto:xymon at xymon.com> Objet : Re: [Xymon] Error compiling Xymon Client in client mode I get the same result when trying to do the same thing (with v4.3.4 and v4.3.10). I think that there's a bug in the way the client is built when using client-side configuration, and nobody uses it anymore so it hasn't been tested for a very long time. It seems that if you first configure for client-side config, it will not create the lib/xymonclient.a file required. However, if you first configure for server-side config and make, then re-configure for client-side config and make again, this problem goes away. There are two more problems, it seems: The file xymond/Makefile requires an adjustment for using libxymonclient instead of xymonclient, and some libraries need to be forced to link against it also. So the following adjusted entry in xymond/Makefile worked for me: ../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 -lpcre $(PCRELIBS) $(NETLIBS) $(LIBRTDEF) I note that some of the libraries should have been pulled in with $(PCRELIBS) and $(LIBRTDEF) but these don't seem to have been defined when in client-config mode. J On 4 January 2013 02:17, <fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com>> wrote: A rule is missing in one of the Makefile and it can't compile xymond_client. The final error is : make[1]: Entering directory `/home/fdeschamps/xymon-4.3.10/xymond' gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_client.o xymond_client.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_worker.o xymond_worker.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o xymond_buffer.o xymond_buffer.c gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/fdeschamps/xymon-4.3.10/include -DCLIENTONLY=1 -DLOCALCLIENT=1 -I /usr/lib -c -o client_config.o client_config.c make[1]: *** No rule to make target `../lib/xymonclient.a', needed by `../client/xymond_client'. Stop. make[1]: Leaving directory `/home/fdeschamps/xymon-4.3.10/xymond' make: *** [xymond-client] Error 2 The complete output is here : http://pastebin.com/58hm9cXP Florent Deschamps De : Novosielski, Ryan [mailto:novosirj at umdnj.edu<mailto:novosirj at umdnj.edu>] Envoyé : jeudi 3 janvier 2013 15:49 À : DESCHAMPS Florent Ext DMGP/PORTAIL; 'xymon at xymon.com<mailto:xymon at xymon.com>' Objet : Re: [Xymon] Error compiling Xymon Client in client mode I've not seen anywhere where you posted any actual output from your attempts. I'm assuming the compile fails, but how? From: fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> [mailto:fdeschamps.ext at orange.com] Sent: Thursday, January 03, 2013 04:15 AM To: xymon at xymon.com<mailto:xymon at xymon.com> <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Error compiling Xymon Client in client mode Hello, I'm still stucked on this problem. ./configure -client + client side configuration does not compile. Does someone have any idea ? Thanks Florent Deschamps De : xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com> [mailto:xymon-bounces at xymon.com] De la part de fdeschamps.ext at orange.com<mailto:fdeschamps.ext at orange.com> Envoyé : mardi 18 décembre 2012 11:08 À : xymon at xymon.com<mailto:xymon at xymon.com> Objet : [Xymon] Error compiling Xymon Client in client mode Hi, I'm trying to compile to compile the Xymon client in client mode (./configure -client, + client side configuration). I'm using xymon 4.3.10. I'm compiling on ubuntu lucid with pcre and pcre-dev installed. I'm stuck at the build of xymond_client, where it needs xymonclient.a but there is no rule to build it. Indeed, in xymond/Makefile : ../client/xymond_client: $(CLIENTOBJS) ../lib/xymonclient.a $(CC) -o $@ $(RPATHOPT) $(CLIENTOBJS) ../lib/xymonclient.a $(PCRELIBS) $(NETLIBS) $(LIBRTDEF) I didn't find any rules to build xymonclient.a (only a libxymonclient.a in lib/Makefile) Any help would be appreciated. _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you. _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
I get the same result when trying to do the same thing (with v4.3.4 and v4.3.10). I think that there's a bug in the way the client is built when using client-side configuration, and nobody uses it anymore so it hasn't been tested for a very long time.
It seems that if you first configure for client-side config, it will not create the lib/xymonclient.a file required. However, if you first configure for server-side config and make, then re-configure for client-side config and make again, this problem goes away.
There are two more problems, it seems: The file xymond/Makefile requires an adjustment for using libxymonclient instead of xymonclient, and some libraries need to be forced to link against it also. So the following adjusted entry in xymond/Makefile worked for me:
../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 -lpcre* $(PCRELIBS) $(NETLIBS) $(LIBRTDEF)
I note that some of the libraries should have been pulled in with $(PCRELIBS) and $(LIBRTDEF) but these don't seem to have been defined when in client-config mode.
FWIW, I have recently built the client for use on a number of Ubuntu installs at work...of course, I had no problem building them there. :-)
Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Building the client with server side configuration is ok. This is when we choose client side configuration (at ./configure time) that there is a problem.
Florent Deschamps
-----Message d'origine----- De : Mike Burger [mailto:mburger at bubbanfriends.org] Envoyé : vendredi 4 janvier 2013 13:53 À : Jeremy Laidman Cc : DESCHAMPS Florent Ext DMGP/PORTAIL; xymon at xymon.com Objet : Re: [Xymon] Error compiling Xymon Client in client mode
FWIW, I have recently built the client for use on a number of Ubuntu installs at work...of course, I had no problem building them there. :-)
Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
Oh I think I was misunderstanding. You're not talking about configuring the client only, you're talking about configuring a client that is set to have the configuration files on each client instead of centralized. Am I right?
----- Original Message ----- From: fdeschamps.ext at orange.com [mailto:fdeschamps.ext at orange.com] Sent: Friday, January 04, 2013 09:10 AM To: Mike Burger <mburger at bubbanfriends.org>; Jeremy Laidman <jlaidman at rebel-it.com.au> Cc: xymon at xymon.com <xymon at xymon.com> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Building the client with server side configuration is ok. This is when we choose client side configuration (at ./configure time) that there is a problem.
Florent Deschamps
-----Message d'origine----- De : Mike Burger [mailto:mburger at bubbanfriends.org] Envoyé : vendredi 4 janvier 2013 13:53 À : Jeremy Laidman Cc : DESCHAMPS Florent Ext DMGP/PORTAIL; xymon at xymon.com Objet : Re: [Xymon] Error compiling Xymon Client in client mode
FWIW, I have recently built the client for use on a number of Ubuntu installs at work...of course, I had no problem building them there. :-)
Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
That's right
We have a lot of servers to monitor and to have the monitoring servers to compute the probes may be a bit too much. Plus we have other (ext) probes that are already written to be run localy, so we have already local configurations. (migrating from Big Brother) I'm comparing the 2 solutions at the moment.
Florent Deschamps
-----Message d'origine----- De : Novosielski, Ryan [mailto:novosirj at umdnj.edu] Envoyé : vendredi 4 janvier 2013 15:31 À : DESCHAMPS Florent Ext DMGP/PORTAIL; 'mburger at bubbanfriends.org'; 'jlaidman at rebel-it.com.au' Cc : 'xymon at xymon.com' Objet : Re: [Xymon] Error compiling Xymon Client in client mode
Oh I think I was misunderstanding. You're not talking about configuring the client only, you're talking about configuring a client that is set to have the configuration files on each client instead of centralized. Am I right?
----- Original Message ----- From: fdeschamps.ext at orange.com [mailto:fdeschamps.ext at orange.com] Sent: Friday, January 04, 2013 09:10 AM To: Mike Burger <mburger at bubbanfriends.org>; Jeremy Laidman <jlaidman at rebel-it.com.au> Cc: xymon at xymon.com <xymon at xymon.com> Subject: Re: [Xymon] Error compiling Xymon Client in client mode
Building the client with server side configuration is ok. This is when we choose client side configuration (at ./configure time) that there is a problem.
Florent Deschamps
-----Message d'origine----- De : Mike Burger [mailto:mburger at bubbanfriends.org] Envoyé : vendredi 4 janvier 2013 13:53 À : Jeremy Laidman Cc : DESCHAMPS Florent Ext DMGP/PORTAIL; xymon at xymon.com Objet : Re: [Xymon] Error compiling Xymon Client in client mode
FWIW, I have recently built the client for use on a number of Ubuntu installs at work...of course, I had no problem building them there. :-)
Mike Burger http://www.bubbanfriends.org
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.
participants (5)
-
epoinsignon@temenos.com
-
fdeschamps.ext@orange.com
-
jlaidman@rebel-it.com.au
-
mburger@bubbanfriends.org
-
novosirj@umdnj.edu