[Xymon] Building a new server - part 2
Roland Soderstrom
Rolands at logicaltech.com.au
Fri Nov 28 03:07:03 CET 2014
I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should work.
This is roughly what I do.
pkgutil -y -i coreutils
pkgutil -y -i gzip
pkgutil -y -i wget
pkgutil -y -a berkeleydb48
pkgutil -y -i freetype
pkgutil -y -i libart
pkgutil -y -i libpng15_15
pkgutil -y -i libtool
pkgutil -i -y gcc4core gcc4g++ gmake
pkgutil -i -y pcre libpcre_dev
pkgutil -i -y rrdtool rrdtool_dev
pkgutil -i -y openssl libssl_dev
pkgutil -i -y openldap_client openldap_dev
pkgutil -i -y fping
export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin
Make SURE /usr/local/<something> or /usr/sfw/<something> is not in any path.
export LD_LIBRARY_PATH=””
crle
which gmake
/opt/csw/bin/gmake
which ld
/usr/ccs/bin/ld
MAKE=gmake ; /configure
gmake
- Roland
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett
Sent: Friday, 28 November 2014 12:18 PM
To: Xymon mailinglist
Subject: [Xymon] Building a new server - part 2
OK, I was correct about the library packages.
Once I installed them, it resolved most of my problems, and the configure script completed OK.
On to the make. (Or gmake in my case)
And we hit the next hurdle.
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -o xymonnet xymonnet.o contest.o httptest.o httpresult.o ldaptest.o dns.o dns2.o httpcookies.o -L -lcares -L/opt/csw/lib -lldap -llber ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt ../lib/libxymon.a -L/opt/csw/lib -lpcre
Undefined first referenced
symbol in file
ares_process dns.o
ares_gethostbyname dns.o
ares_strerror dns.o
ares_init_options dns.o
ares_search dns.o
ares_fds dns.o
ares_destroy dns.o
ares_timeout dns.o
ares_expand_name dns2.o
ld: fatal: Symbol referencing errors. No output written to xymonnet
collect2: ld returned 1 exit status
Makefile:33: recipe for target 'xymonnet' failed
gmake[1]: *** [xymonnet] Error 1
gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet'
build/Makefile.rules:102: recipe for target 'xymonnet-build' failed
gmake: *** [xymonnet-build] Error 2
Any ideas?
Regards
Vernon
--
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141128/08ec1189/attachment.html>
More information about the Xymon
mailing list