[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Trying to compile xymon-client on CentOS 5.5 64 bit fails
- To: "xymon (at) xymon.com" <xymon (at) xymon.com>
- Subject: RE: Trying to compile xymon-client on CentOS 5.5 64 bit fails
- From: "Dugan, Darin D [EIT]" <dddugan (at) iastate.edu>
- Date: Tue, 13 Jul 2010 09:30:41 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
- References: <3BD667CCFBD0D04CA2BC3D57D01B642630AC9B3DF7 (at) HORMXB103VM1.onerm.dk>
- Thread-index: AcsihgJ5AFOYo3orRl+kikNVmlR1lwAEW/og
- Thread-topic: Trying to compile xymon-client on CentOS 5.5 64 bit fails
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:Carl.Melgaard (at) STAB.RM.DK]
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