Ad Widget

Collapse

Compiling Zabbix 1.9.4 on AIX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • c.fabre
    Junior Member
    • Jun 2011
    • 4

    #1

    Compiling Zabbix 1.9.4 on AIX

    Hi guys,

    I'm trying to install Zabbix 1.9.4 with support for Java Proxy on AIX 6.1.

    Step 1:
    # ./configure --enable-java

    SUCCESS
    Enable Java proxy: yes
    Java proxy details:
    Java compiler: javac
    Java archiver: jar

    LDAP support: no
    IPv6 support: no

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

    Step 2:
    # make install
    Reports the following error:

    Making install in src
    Making install in libs
    Making install in zbxcrypto
    gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
    In file included from /usr/include/sys/corral.h:25,
    from /usr/include/libperfstat.h:28,
    from ../../../include/sysinc.h:285,
    from ../../../include/common.h:23,
    from md5.c:54:
    /usr/include/netinet/in6_var.h:65: error: array type has incomplete element type
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.
    make: 1254-004 The error code from the last command is 1.


    Stop.

    Can anyone help me?

    Thanks,
    Cesar
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    please try with svn head of trunk (or daily 1.9 snapshot).
    if that also fails, please, report on the tracker.
    Zabbix 3.0 Network Monitoring book

    Comment

    • c.fabre
      Junior Member
      • Jun 2011
      • 4

      #3
      Hi guys,

      The second step "Step 2" was resolved by applying an update from IBM. See:


      Now, another error is occurring:

      # make install

      Making all in src
      Making all in libs
      Making all in zbxcrypto
      gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5. o md5.c
      Assembler:
      /tmp//ccub8xGh.s: line 2640: 1252-040 The specified expression is not valid.
      Make sure that all symbols are defined.
      Check the rules on symbols used in an arithmetic expression
      concerning relocation.
      /tmp//ccub8xGh.s: line 2645: 1252-040 The specified expression is not valid.
      Make sure that all symbols are defined.
      Check the rules on symbols used in an arithmetic expression
      concerning relocation.
      make: 1254-004 The error code from the last command is 1.


      Stop.
      make: 1254-004 The error code from the last command is 1.


      Stop.
      make: 1254-004 The error code from the last command is 1.


      Stop.
      make: 1254-004 The error code from the last command is 1.


      Stop.


      Any idea for this problem?


      Thanks,
      Cesar

      Comment

      • hirschnf
        Member
        • Jan 2010
        • 56

        #4
        Compiling on AIX 7.1

        I have a similar problem too. We want to run a zabbix agent 1.8.5 on a AIX 7.1.
        The configure command looks good (I think) but when we do the make command I got the following messages:
        Code:
        Making all in src
        Making all in libs
        Making all in zbxcrypto
                gcc -DHAVE_CONFIG_H -I. -I../../../include      -g -O2   -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
        In file included from /usr/include/sys/corral.h:28,
                         from /usr/include/libperfstat.h:31,
                         from ../../../include/sysinc.h:285,
                         from ../../../include/common.h:23,
                         from md5.c:54:
        /usr/include/netinet/in6_var.h:68: error: array type has incomplete element type
        make: 1254-004 The error code from the last command is 1.
        Stop.
        make: 1254-004 The error code from the last command is 1.
        Stop.
        make: 1254-004 The error code from the last command is 1.
        Stop.
        make: 1254-004 The error code from the last command is 1.
        Stop.
        Is there a way to solve the problem or has somebody an idea for the next step?

        Comment

        • mfkhan
          Junior Member
          • Sep 2011
          • 1

          #5
          Similar Answer Required

          Were you able to find anything on this open ldap error in utils.c

          Comment

          • hirschnf
            Member
            • Jan 2010
            • 56

            #6
            have a look here:


            Hope it helps.

            Comment

            Working...