Ad Widget

Collapse

zabbix support under s390

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leoh
    Member
    • Oct 2005
    • 47

    #1

    zabbix support under s390

    Have anyone compiled zabbix under s390???


    That is my system:

    generico:/var/tmp/zabbix/zabbix-1.0/src/zabbix_agent # uname -a
    Linux generico 2.4.21-295-default #1 SMP Wed Jun 29 16:10:13 UTC 2005 s390x unknown

    That is the output of make command.


    generico:/var/tmp/zabbix/zabbix-1.0/src/zabbix_agent # make
    gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall -lnsl
    sysinfo.c: In function `process':
    sysinfo.c:430: warning: cast from pointer to integer of different size
    ../../include/snprintf.c: In function `dopr':
    ../../include/snprintf.c:174: incompatible types in assignment
    ../../include/snprintf.c: In function `vasprintf':
    ../../include/snprintf.c:811: incompatible types in assignment
    ../../include/snprintf.c:819: incompatible types in assignment
    make: *** [all] Error 1
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Try the latest ZABBIX 1.1beta2 agent. It is compatible with 1.0.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • leoh
      Member
      • Oct 2005
      • 47

      #3
      I tried 1.1beta2 before but it is not compiling. For some stange reason that I have never seen before, make says that has "nothing to be done". Even after a "make clean" command.

      ---- output ----

      generico:/var/tmp/zabbix/zabbix-1.1beta2 # ./configure --prefix=/opt/zabbix
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for gawk... gawk
      checking whether make sets $(MAKE)... yes
      checking whether make sets $(MAKE)... (cached) yes
      checking build system type... s390x-ibm-linux-gnu
      checking host system type... s390x-ibm-linux-gnu
      checking for gcc... gcc
      checking for C compiler default output file name... a.out
      checking whether the C compiler works... yes

      .... cut

      config.status: creating src/libs/zbxsysinfo/solaris/Makefile
      config.status: creating src/libs/zbxsysinfo/osf/Makefile
      config.status: creating src/libs/zbxsysinfo/netbsd/Makefile
      config.status: creating src/libs/zbxsysinfo/unknown/Makefile
      config.status: creating include/config.h
      config.status: include/config.h is unchanged
      config.status: executing depfiles commands


      Configuration:

      Detected OS: linux-gnu
      Install path: /opt/zabbix
      Compiler: gcc
      Compiler flags: -g -O2
      Linker flags: -lresolv -lnsl

      ************************************************** *********
      * Now run 'make' *
      * *
      * Thank you for using ZABBIX! *
      * <http://www.zabbix.com> *
      ************************************************** *********

      generico:/var/tmp/zabbix/zabbix-1.1beta2 # make
      Making all in src
      make[1]: Entering directory `/var/tmp/zabbix/zabbix-1.1beta2/src'
      make[2]: Entering directory `/var/tmp/zabbix/zabbix-1.1beta2/src'
      make[2]: Nothing to be done for `all-am'.
      make[2]: Leaving directory `/var/tmp/zabbix/zabbix-1.1beta2/src'
      make[1]: Leaving directory `/var/tmp/zabbix/zabbix-1.1beta2/src'
      make[1]: Entering directory `/var/tmp/zabbix/zabbix-1.1beta2'
      make[1]: Nothing to be done for `all-am'.
      make[1]: Leaving directory `/var/tmp/zabbix/zabbix-1.1beta2'
      generico:/var/tmp/zabbix/zabbix-1.1beta2 #
      Script done on Wed Oct 19 00:51:17 2005

      Comment

      • James Wells
        Senior Member
        • Jun 2005
        • 664

        #4
        Greetings,
        Originally posted by leoh
        I tried 1.1beta2 before but it is not compiling. For some stange reason that I have never seen before, make says that has "nothing to be done". Even after a "make clean" command.
        When you run the configure command, you need to add --enable-server and / or --enable-agent to tell configure to turn on support for the server and / or the agent. Without these, the system builds just the user interface portion.
        Unofficial Zabbix Developer

        Comment

        • leoh
          Member
          • Oct 2005
          • 47

          #5

          Thanks both of you! Resolved!

          Comment

          Working...