Ad Widget

Collapse

Solaris 11.4 agent Support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrmurdock
    Member
    • Aug 2009
    • 85

    #1

    Solaris 11.4 agent Support

    maybe I cant see it, but, is there a search?

    I am trying to make from source a 3.4.15 agent on a Solaris 11.4 SPARC host (T4-2). I am getting a libpcre error. libpcre is under /usr/lib/64.
    using gcc
    gcc (GCC) 7.3.0

    and perl
    This is perl 5, version 22, subversion 1 (v5.22.1) built for sun4-solaris-thread-multi-64

    that comes with Solaris.
    checking for architecture... solaris (solaris2.11)
    checking for -m64 compilation flag... yes
    checking size of void *... 8
    checking for libpcre support... no
    configure: error: Unable to use libpcre (libpcre check failed)

    Has someone already compiled a agent?
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    Yah .. that is the problem that Sol 11.4 has pcre only 32 bit binary. You need to compile your own pcre and libevent as well.
    Someone should kick in the a*s Solaris guys that after more than 15 years ago releasing first OS 64bit kernel they still did not finish userland transformation to only 64bit :/
    Last edited by kloczek; 16-02-2019, 00:28.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • gert.derouck
      Member
      • Jan 2020
      • 69

      #3
      Configure is looking at the wrong places for sol11.4:

      root@rock002:/root/zab-source/zabbix-4.2.8# grep pcre.h ./configure
      if test -n "$_libpcre_dir_set" -o -f /usr/include/pcre.h; then
      elif test -f /usr/local/include/pcre.h; then
      elif test -f /usr/pkg/include/pcre.h; then
      elif test -f /opt/csw/include/pcre.h; then

      root@rock002:/root/zab-source/zabbix-4.2.8# find /usr -name pcre.h
      /usr/include/pcre/pcre.h

      root@rock002:/root/zab-source/zabbix-4.2.8# ./configure --with-libpcre-include=/usr/include/pcre/ --enable-agent

      Comment

      Working...