<div dir="ltr"><div><div><div>SUNWlibm delivers floatingpoint.h<br></div>Damn these limited install options!<br><br></div>And gmake completed successfully.<br></div>Now let's see if we can get the rest to work. :-)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 November 2014 at 10:50, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">And floatingpoint.h, I think is a Solaris library.<br>SUNWspro, I think.<br>Let me install that and check<font face="Verdana, Arial, Helvetica, sans-serif"><code><br></code></font></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 28 November 2014 at 10:47, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi Roland<br><br></div>Started over completely.<br></div>Used your pkgutil list, and it installed a few packages, mostly around the freetype and libart section.<br></div>I then did a gmake clean, remover the Makefile and ran configure from scratch.<br></div>It generated a Makefile. Then I ran gmake.<br></div>Hit the c-ares issue.<br>Added the -L path, and mentioned above, and we were off again.<br>Then I hit the rrdtool error.<br></div>Moved the /usr/ccs/bin/ld as mentioned, and we moved ahead again.<br></div>Then I hit this one..<br><span style="font-family:monospace">gcc -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/var/tmp/xymon-4.3.17/include -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -I/opt/csw/include -c -o perfdata.o perfdata.c<br>In file included from perfdata.c:20:0:<br>/opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/math.h:333:27: fatal error: floatingpoint.h: No such file or directory<br> #include <floatingpoint.h><br>                           ^<br>compilation terminated.<span><br>Makefile:130: recipe for target 'perfdata.o' failed<br>gmake[1]: *** [perfdata.o] Error 1<br>gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/web'<br>build/Makefile.rules:111: recipe for target 'web-build' failed<br>gmake: *** [web-build] Error 2<br></span></span><br><div><br><br><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 28 November 2014 at 10:29, Roland Soderstrom <span dir="ltr"><<a href="mailto:Rolands@logicaltech.com.au" target="_blank">Rolands@logicaltech.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">I think you miss a dependency.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">Use my CSW list.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">After finding which one you obviously need to redo configure so all Makefiles are corrected.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"><u></u> <u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"><span>-<span style="font:7.0pt "Times New Roman"">     
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">Roland<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Vernon Everett [mailto:<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>]
<br>
<b>Sent:</b> Friday, 28 November 2014 1:24 PM<br>
<b>To:</b> Roland Soderstrom<br>
<b>Cc:</b> Xymon mailinglist<br>
<b>Subject:</b> Re: [Xymon] Building a new server - part 2<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:115%">Hi Roland<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:115%">Thanks for the quick response.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">I have built Xymon on Solaris many times too, and agree, it should just work.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">I did find something interesting just a minute ago.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">Looking through the Makefile, to check what it's looking for, and notices something odd about the c-ares definitions. See below.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">Notice the CARESLIBS has no directory defined after the -L<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">I changed that to CARESLIBS = -L/opt/csw/lib -lcares<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">And we moved on.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:115%">Only to hit another one.<br>
<span style="font-family:"Courier New"">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 -I/opt/csw/include -I/opt/csw/include -DRRDTOOL12 -c -o do_rrd.o do_rrd.c<br>
gcc  -o xymond_rrd  xymond_rrd.o       xymond_worker.o do_rrd.o client_config.o ../lib/libxymontime.a -lrt ../lib/libxymoncomm.a  -L/usr/sfw/lib -lssl -lcrypto -lresolv -lsocket -lnsl -lrt -L/opt/csw/lib -lrrd  -L/opt/csw/lib -lpcre<br>
Undefined                       first referenced<br>
 symbol                             in file<br>
XRenderCreateLinearGradient         /opt/csw/lib/libcairo.so.2<br>
XRenderCreateRadialGradient         /opt/csw/lib/libcairo.so.2<br>
XRenderCreateSolidFill              /opt/csw/lib/libcairo.so.2<br>
ld: fatal: Symbol referencing errors. No output written to xymond_rrd<br>
collect2: ld returned 1 exit status<br>
Makefile:62: recipe for target 'xymond_rrd' failed<br>
gmake[1]: *** [xymond_rrd] Error 1<br>
gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymond'<br>
build/Makefile.rules:108: recipe for target 'xymond-build' failed<br>
gmake: *** [xymond-build] Error 2</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:115%">My next Xymon install will be on Linux!<br>
No exceptions!<br>
<br>
--- snip ---<br>
<br>
<span style="font-family:"Courier New""># C-ARES settings<br>
SYSTEMCARES = yes<br>
CARESINCDIR = -I/opt/csw/include<br>
<b><span style="color:red">CARESLIBS = -L -lcares</span></b><br>
RPATHVAL +=<br>
<br>
# PCRE settings<br>
PCREINCDIR = -I/opt/csw/include<br>
PCRELIBS = -L/opt/csw/lib -lpcre<br>
RPATHVAL += /opt/csw/lib<br>
<br>
# RRDtool settings<br>
RRDDEF = -DRRDTOOL12<br>
RRDINCDIR = -I/opt/csw/include<br>
RRDLIBS = -L/opt/csw/lib -lrrd<br>
RPATHVAL += /opt/csw/lib<br>
DORRD = yes<br>
#<br>
# OpenSSL settings<br>
SSLFLAGS = -DHAVE_OPENSSL -DHAVE_SSLV2_SUPPORT<br>
SSLINCDIR = -I/opt/csw/include<br>
SSLLIBS = -L/usr/sfw/lib -lssl -lcrypto<br>
RPATHVAL += /usr/sfw/lib<br>
DOSSL = yes</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">--- snip ---<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:115%"><u></u> <u></u></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">On 28 November 2014 at 10:07, Roland Soderstrom <<a href="mailto:Rolands@logicaltech.com.au" target="_blank">Rolands@logicaltech.com.au</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">I’ve compiled 4.3.17 on Solaris Sparc and x86 with OpenCSW, so it should work.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">This is roughly what I do.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -y -i coreutils</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -y -i gzip</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -y -i wget</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -y -a berkeleydb48</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -y -i freetype</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -y -i libart</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -y -i libpng15_15</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -y -i libtool</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -i -y gcc4core gcc4g++ gmake</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -i -y pcre libpcre_dev</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -i -y rrdtool rrdtool_dev</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -i -y openssl libssl_dev</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -i -y openldap_client openldap_dev</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">pkgutil -i -y fping</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">export PATH=/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin:/usr/ccs/bin</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">Make SURE /usr/local/<something> or /usr/sfw/<something> is not in any path.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">export LD_LIBRARY_PATH=””</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">crle</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">which gmake</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">/opt/csw/bin/gmake</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">which ld</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">/usr/ccs/bin/ld</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">MAKE=gmake ; /configure</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">gmake</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"> </span><u></u><u></u></p>
<p><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">-</span><span style="font-size:7.0pt;color:#005daa">     
</span><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa">Roland</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#005daa"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Xymon
 [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Vernon Everett<br>
<b>Sent:</b> Friday, 28 November 2014 12:18 PM<br>
<b>To:</b> Xymon mailinglist<br>
<b>Subject:</b> [Xymon] Building a new server - part 2</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">
OK, I was correct about the library packages.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">
Once I installed them, it resolved most of my problems, and the configure script completed OK.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">
On to the make. (Or gmake in my case)<br>
And we hit the next hurdle.<br>
<span style="font-family:"Courier New"">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<br>
Undefined                       first referenced<br>
 symbol                             in file<br>
ares_process                        dns.o<br>
ares_gethostbyname                  dns.o<br>
ares_strerror                       dns.o<br>
ares_init_options                   dns.o<br>
ares_search                         dns.o<br>
ares_fds                            dns.o<br>
ares_destroy                        dns.o<br>
ares_timeout                        dns.o<br>
ares_expand_name                    dns2.o<br>
ld: fatal: Symbol referencing errors. No output written to xymonnet<br>
collect2: ld returned 1 exit status<br>
Makefile:33: recipe for target 'xymonnet' failed<br>
gmake[1]: *** [xymonnet] Error 1<br>
gmake[1]: Leaving directory '/var/tmp/xymon-4.3.17/xymonnet'<br>
build/Makefile.rules:102: recipe for target 'xymonnet-build' failed<br>
gmake: *** [xymonnet-build] Error 2</span><br>
<br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:115%">
Any ideas?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:115%">
Regards<br>
Vernon<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">
-- <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">
"Accept the challenges so that you can feel the exhilaration of victory"<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">
- General George Patton<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="line-height:115%"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<p class="MsoNormal" style="line-height:115%">"Accept the challenges so that you can feel the exhilaration of victory"<u></u><u></u></p>
<div>
<p class="MsoNormal" style="line-height:115%">- General George Patton<u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear="all"><br>-- <br><div><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div></div>
</div>