Xymon Mailing List Archive search

Trying to compile xymon-client on CentOS 5.5 64 bit fails

list Darin D [eit] Dugan
Tue, 13 Jul 2010 09:30:41 -0500
Message-Id: <user-21b5261d1347@xymon.invalid>

Doesn't address your desire for a trunk build, but I used Buchan's package for the last RHEL 5.5 x64 machine I set up. Instructions follow, pulled from a few messages he has sent in the past. (devmon would be optional of course)


# wget http://staff.telkomsa.net/packages/Xymon.repo -O /etc/yum.repos.d/xymon.repo

# yum install xymon devmon


If mrtg is selected by yum, cancel, and run instead:


# yum install perl-SNMP_Session xymon devmon


(the mrtg package shouldn't provide perl(SNMP_Session), as it is in the wrong location for scripts to 'use SNMP_Session' without overriding PERL5LIB or

similar)


You should notice that *all* the packages required on top of a basic

Centos5/RHEL5 install are provided in the repo, including rrdtool ...


Cheers.

From: Carl Melgaard [mailto:user-cdea55422fa4@xymon.invalid]
Sent: Tuesday, July 13, 2010 7:22 AM
To: 'xymon at xymon.com'
Subject: [xymon] Trying to compile xymon-client on CentOS 5.5 64 bit fails

Hi,

I was trying to compile the recent 4.4.0-trunk into a working CentOS 5.5 64bit client, but fails to do so:

[melgaard at scamhq trunk]$ make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath," PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" ZLIBINCDIR="-I/usr/include" HOBBITZLIB="-L/usr/lib -lz" NETLIBS="" BBTOPDIR="/home/xymon" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="xxx" BBHOSTOS="" LOCALCLIENT="no" make -C lib client
make[1]: Entering directory `/home/melgaard/download/trunk/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/melgaard/download/trunk/include -DCLIENTONLY=1 -I. -I../include   -c -o sendmsg.o sendmsg.c
sendmsg.c:91: error: âTALK_SSLWRITE_RECEIVEâ undeclared here (not in a function)
make[1]: *** [sendmsg.o] Error 1
make[1]: Leaving directory `/home/melgaard/download/trunk/lib'
make: *** [lib-client] Error 2

Anyone had luck in compiling this?

/melgaard