[Xymon] Compiling xymon-4.3.19 on Solaris 10

Greg Earle earle at isolar.DynDNS.ORG
Tue Aug 18 13:24:44 CEST 2015


> On Aug 17, 2015, at 4:14 PM, Scott.Rebman at hhsc.state.tx.us wrote:
> 
> Jeremy,
> 
> Thanks for the info provided.
> 
> This is the output of crle with no options:
> 
> Default configuration file (/var/ld/ld.config) not found
>  Platform:     32-bit MSB SPARC
>  Default Library Path (ELF):   /lib:/usr/lib  (system default)
>  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)
> 
> I will try the other methods and let you know what worked out.

Why build 4.3.19 when 4.3.21 is out?

You should definitely use "crle" to create a "/var/ld/ld.config" so you can
pick up those PCRE libraries.  I just built 4.3.21 on a Solaris 10 1/13 box
yesterday with

--
sol10testmule:1:1001 [/] # crle

Configuration file [version 4]: /var/ld/ld.config  
  Default Library Path (ELF):   /lib:/usr/lib:/usr/sfw/lib:/opt/mysql/lib/mysql:/usr/local/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)

Command line:
  crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/sfw/lib:/opt/mysql/lib/mysql:/usr/local/lib
--

If you run something similar with "/usr/local/lib" in the argument list, it
should pick up libpcre.so.0 after that.  You could even throw your RRD path
path (i.e. /usr/local/rrdtool-1.2.19/lib) in there as well, for good measure.

Speaking of Solaris, make sure "/usr/bin" is at the front of $PATH when
you do the build. Xymon unfortunately in a couple of places hard-codes
the direct use of "sed" and "tr" (without making them be settable variables
e.g. "${SED}"/"${TR}"), and the only pair that work properly are the ones
in "/usr/bin".  (For example, if you put "/usr/xpg4/bin" in front, then
"sed" will work - but "tr" does not.  If you have "/usr/ucb" in front, the
"sed" it will pick up won't work.  "/usr/bin/sed" and "/usr/bin/tr" both
work properly.)

	- Greg






More information about the Xymon mailing list