[Xymon] Client install gone wrong

Josh Luthman josh at imaginenetworksllc.com
Mon Dec 16 21:33:44 CET 2013


You need pcre-libs or pcre-devel.


Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373


On Mon, Dec 16, 2013 at 3:27 PM, Diep, David (OCTO-Contractor) <
David.Diep at dc.gov> wrote:

> Josh,
>
>
>
> How would I test?  From what I can tell, I have pcre installed:
>
>
>
> [root at vipservd xymon-4.3.12]# pcretest
>
> PCRE version 7.8 2008-09-05
>
> [root at vipservd xymon-4.3.12]# rpm -qa | grep pcre
>
> pcre-7.8-3.1.el6.s390x
>
> pcre-devel-7.8-3.1.el6.s390x
>
>
>
>
>
>
>
> *From:* Josh Luthman [mailto:josh at imaginenetworksllc.com]
> *Sent:* Monday, December 16, 2013 3:06 PM
> *To:* Diep, David (OCTO-Contractor)
> *Cc:* xymon at xymon.com
> *Subject:* Re: [Xymon] Client install gone wrong
>
>
>
> You're missing the PCRE libraries at the very least.
>
>
>
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
>
>
> On Mon, Dec 16, 2013 at 2:36 PM, Diep, David (OCTO-Contractor) <
> David.Diep at dc.gov> wrote:
>
> Hi guys,
>
>
>
> Is there a link to where the instructions are for a client install?  I
> tried this and it eventually gives me an error:
>
>
>
> 1.       Downloaded and extracted xymon-4.3.12
>
> 2.       In the xymon-4.3.12 directory and executed: ./configure --client
>
> 3.       I then executed: make && make install
>
> 4.       This is the result:
>
>
>
> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include
> -DCLIENTONLY=1 -DLOCALCLIENT=1 -I" LDFLAGS="" OSDEF="-DLINUX"
> RPATHOPT="-Wl,--rpath," PCREINCDIR="-I" ZLIBINCDIR="" SSLFLAGS=""
> SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="-lrt"
> XYMONTOPDIR="/home/xymon" XYMONLOGDIR="" XYMONHOSTNAME=""
> XYMONHOSTIP="10.82.10.54" XYMONHOSTOS="" LOCALCLIENT="yes" make -C lib
> client
>
> make[1]: Entering directory `/xymon-4.3.12/lib'
>
> gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/xymon-4.3.12/include
> -DCLIENTONLY=1 -DLOCALCLIENT=1 -I -I../include  -I -c -o matching.o
> matching.c
>
> /usr/lib/gcc/s390x-redhat-linux/4.4.6/../../../../lib64/crt1.o: In
> function `_start':
>
> (.text+0x34): undefined reference to `main'
>
> /tmp/ccnSm0vn.o: In function `freeregex':
>
> /xymon-4.3.12/lib/matching.c:66: undefined reference to `pcre_free'
>
> /tmp/ccnSm0vn.o: In function `timematch':
>
> /xymon-4.3.12/lib/matching.c:198: undefined reference to `within_sla'
>
> /tmp/ccnSm0vn.o: In function `matchregex':
>
> /xymon-4.3.12/lib/matching.c:58: undefined reference to `pcre_exec'
>
> /tmp/ccnSm0vn.o: In function `pickdata':
>
> /xymon-4.3.12/lib/matching.c:165: undefined reference to `pcre_exec'
>
> /xymon-4.3.12/lib/matching.c:172: undefined reference to
> `pcre_copy_substring'
>
> /xymon-4.3.12/lib/matching.c:183: undefined reference to `dbgprintf'
>
> /tmp/ccnSm0vn.o: In function `compileregex_opts':
>
> /xymon-4.3.12/lib/matching.c:31: undefined reference to `dbgprintf'
>
> /xymon-4.3.12/lib/matching.c:32: undefined reference to `pcre_compile'
>
> /xymon-4.3.12/lib/matching.c:34: undefined reference to `errprintf'
>
> /tmp/ccnSm0vn.o: In function `compile_exprs':
>
> /xymon-4.3.12/lib/matching.c:146: undefined reference to `pcre_free'
>
> /xymon-4.3.12/lib/matching.c:145: undefined reference to `errprintf'
>
> /xymon-4.3.12/lib/matching.c:147: undefined reference to `xfreenullstr'
>
> /xymon-4.3.12/lib/matching.c:147: undefined reference to `errprintf'
>
> collect2: ld returned 1 exit status
>
> make[1]: *** [matching.o] Error 1
>
> make[1]: Leaving directory `/xymon-4.3.12/lib'
>
> make: *** [lib-client] Error 2
>
>
>
> What am I doing wrong?
>
>
>
> *David Diep*
>
>
>
> Look out for those in need this winter. When the temperature or wind chill
> is 32°F or below, the District issues a Hypothermia Alert. For assistance
> during an Alert, call the Shelter Hotline<http://dhs.dc.gov/page/hypothermia-alert-plan>at *1-800-535-7252
> <1-800-535-7252>* or *311*.
>
>
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20131216/3350c24b/attachment.html>


More information about the Xymon mailing list