install zabbix on ubuntu

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:

      configure:2906: looking for aux files: compile config.guess config.sub missing install-sh
      configure:2919:  trying ./
      configure:2948:   ./compile found
      configure:2948:   ./config.guess found
      configure:2948:   ./config.sub found
      configure:2948:   ./missing found
      configure:2930:   ./install-sh found
      configure:3078: checking for a BSD-compatible install
      configure:3151: result: /usr/bin/install -c
      configure:3162: checking whether build environment is sane
      configure:3217: result: yes
      configure:3374: checking for a race-free mkdir -p
      configure:3418: result: /usr/bin/mkdir -p
      configure:3425: checking for gawk
      configure:3446: found /usr/bin/gawk
      configure:3457: result: gawk
      configure:3468: checking whether make sets $(MAKE)
      configure:3491: result: yes
      configure:3521: checking whether make supports nested variables
      configure:3539: result: yes
      configure:3676: Configuring Zabbix 6.0.0
      configure:3679: checking whether make sets $(MAKE)
      configure:3702: result: yes
      configure:3721: checking build system type
      configure:3736: result: x86_64-pc-linux-gnu
      configure:3756: checking host system type
      configure:3770: result: x86_64-pc-linux-gnu
      configure:3860: checking for cc
      configure:3881: found /usr/bin/cc
      configure:3892: result: cc
      configure:3923: checking for C compiler version
      configure:3932: cc --version >&5
      cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
      Copyright (C) 2019 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      
      configure:3943: $? = 0
      configure:3932: cc -v >&5
      Using built-in specs.
      COLLECT_GCC=cc
      COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
      OFFLOAD_TARGET_NAMES=nvptx-none:hsa
      OFFLOAD_TARGET_DEFAULT=1
      Target: x86_64-linux-gnu
      Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
      Thread model: posix
      gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 
      configure:3943: $? = 0
      configure:3932: cc -V >&5
      cc: error: unrecognized command line option '-V'
      cc: fatal error: no input files
      compilation terminated.
      configure:3943: $? = 1
      configure:3932: cc -qversion >&5
      cc: error: unrecognized command line option '-qversion'; did you mean '--version'?
      cc: fatal error: no input files
      compilation terminated.
      configure:3943: $? = 1
      configure:3932: cc -version >&5
      cc: error: unrecognized command line option '-version'
      cc: fatal error: no input files
      compilation terminated.
      configure:3943: $? = 1
      configure:3963: checking whether the C compiler works
      configure:3985: cc    conftest.c  >&5
      /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
      (.text+0x16): undefined reference to `__libc_csu_fini'
      /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init'
      /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main'
      collect2: error: ld returned 1 exit status
      configure:3989: $? = 1
      configure:4029: result: no
      configure: failed program was:
      | /* confdefs.h */
      | #define PACKAGE_NAME "Zabbix"
      | #define PACKAGE_TARNAME "zabbix"
      | #define PACKAGE_VERSION "6.0.0"
      | #define PACKAGE_STRING "Zabbix 6.0.0"
      | #define PACKAGE_BUGREPORT ""
      | #define PACKAGE_URL ""
      | #define PACKAGE "zabbix"
      | #define VERSION "6.0.0"
      | /* end confdefs.h.  */
      | 
      | int
      | main (void)
      | {
      | 
      |   ;
      |   return 0;
      | }
      configure:4034: error: in `/tmp/zabbix-6.0.0':
      configure:4036: error: C compiler cannot create executables
      See `config.log' for more details
      

            Assignee:
            Zabbix Support Team
            Reporter:
            yinyaliang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: