Ad Widget

Collapse

Error ./configure --enable-server AIX 5.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    #1

    Error ./configure --enable-server AIX 5.3

    Hi,

    I tried to compile zabbix-server but it fails with error.

    Any ideas ?


    configure:3333: gcc conftest.c >&5
    gcc: error trying to exec 'cc1': execvp: No such file or directory
    configure:3337: $? = 1
    configure:3375: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "zabbix"
    | #define VERSION "1.8.9"
    | /* end confdefs.h. */

    config.log:

    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by configure, which was
    generated by GNU Autoconf 2.67. Invocation command line was

    $ ./configure --enable-server --with-mysql

    ## --------- ##
    ## Platform. ##
    ## --------- ##

    hostname = fbs01m1h
    uname -m = 000E2E81D900
    uname -r = 3
    uname -s = AIX
    uname -v = 5

    /usr/bin/uname -p = powerpc
    /bin/uname -X = unknown

    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = 5.3.0.0
    /bin/universe = unknown

    PATH: /usr/bin
    PATH: /etc
    PATH: /usr/sbin
    PATH: /usr/ucb
    PATH: /home/yk0101n/bin
    PATH: /usr/bin/X11
    PATH: /sbin
    PATH: .


    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##

    configure:2393: checking for a BSD-compatible install
    configure:2461: result: ./install-sh -c
    configure:2472: checking whether build environment is sane
    configure:2522: result: yes
    configure:2663: checking for a thread-safe mkdir -p
    configure:2702: result: ./install-sh -c -d
    configure:2715: checking for gawk
    configure:2745: result: no
    configure:2715: checking for mawk
    configure:2745: result: no
    configure:2715: checking for nawk
    configure:2731: found /usr/bin/nawk
    configure:2742: result: nawk
    configure:2753: checking whether make sets $(MAKE)
    configure:2775: result: yes
    configure:2856: Configuring
    configure:2859: checking whether make sets $(MAKE)
    configure:2881: result: yes
    configure:2898: checking build system type
    configure:2912: result: powerpc-ibm-aix5.3.0.0
    configure:2932: checking host system type
    configure:2945: result: powerpc-ibm-aix5.3.0.0
    configure:3015: checking for gcc
    configure:3031: found /usr/bin/gcc
    configure:3042: result: gcc
    configure:3271: checking for C compiler version
    configure:3280: gcc --version >&5
    gcc (GCC) 4.6.1
    Copyright (C) 2011 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:3291: $? = 0
    configure:3280: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix5.3.0.0/4.6.1/lto-wrapper
    Target: powerpc-ibm-aix5.3.0.0
    Configured with: ../gcc-4.6.1/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-threads --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0
    Thread model: aix
    gcc version 4.6.1 (GCC)
    configure:3291: $? = 0
    configure:3280: gcc -V >&5
    gcc: error: unrecognized option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3291: $? = 1
    configure:3280: gcc --version >&5
    gcc (GCC) 4.6.1
    Copyright (C) 2011 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:3291: $? = 0
    configure:3311: checking whether the C compiler works
    configure:3333: gcc conftest.c >&5
    gcc: error trying to exec 'cc1': execvp: No such file or directory
    configure:3337: $? = 1
    configure:3375: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "zabbix"
    | #define VERSION "1.8.9"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3380: error: in `/local/software-für-zabbix/zabbix-1.8.9':
    configure:3382: error: C compiler cannot create executables
    See `config.log' for more details

    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##

    ac_cv_build=powerpc-ibm-aix5.3.0.0
    ac_cv_env_CC_set=''
    ac_cv_env_CC_value=''
    ac_cv_env_CFLAGS_set=''
    ac_cv_env_CFLAGS_value=''
    ac_cv_env_CPPFLAGS_set=''
    ac_cv_env_CPPFLAGS_value=''
    ac_cv_env_CPP_set=''
    ac_cv_env_CPP_value=''
    ac_cv_env_IKSEMEL_CFLAGS_set=''
    ac_cv_env_IKSEMEL_CFLAGS_value=''
    ac_cv_env_IKSEMEL_LIBS_set=''
    ac_cv_env_IKSEMEL_LIBS_value=''
    ac_cv_env_LDFLAGS_set=''
    ac_cv_env_LDFLAGS_value=''
    ac_cv_env_LIBS_set=''
    ac_cv_env_LIBS_value=''
    ac_cv_env_PKG_CONFIG_LIBDIR_set=''
    ac_cv_env_PKG_CONFIG_LIBDIR_value=''
    ac_cv_env_PKG_CONFIG_PATH_set=''
    ac_cv_env_PKG_CONFIG_PATH_value=''
    ac_cv_env_PKG_CONFIG_set=''
    ac_cv_env_PKG_CONFIG_value=''
    ac_cv_env_build_alias_set=''
    ac_cv_env_build_alias_value=''
    ac_cv_env_host_alias_set=''
    ac_cv_env_host_alias_value=''
    ac_cv_env_target_alias_set=''
    ac_cv_env_target_alias_value=''
    ac_cv_host=powerpc-ibm-aix5.3.0.0
    ac_cv_prog_AWK=nawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes

    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##

    ACLOCAL='${SHELL} /local/software-für-zabbix/zabbix-1.8.9/missing --run aclocal-1.11'
    AGENT_FALSE=''
    AGENT_LDFLAGS=''
    AGENT_LIBS=''
    AGENT_TRUE=''
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /local/software-für-zabbix/zabbix-1.8.9/missing --run tar'
    ARCH=''
    AUTOCONF='${SHELL} /local/software-für-zabbix/zabbix-1.8.9/missing --run autoconf'
    AUTOHEADER='${SHELL} /local/software-für-zabbix/zabbix-1.8.9/missing --run autoheader'
    AUTOMAKE='${SHELL} /local/software-für-zabbix/zabbix-1.8.9/missing --run automake-1.11'
    AWK='nawk'
    CC='gcc'
    CCDEPMODE=''
    CFLAGS=''
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DB_CPPFLAGS=''
    DB_LDFLAGS=''
    DB_LIBS=''
    DEFS=''
    DEPDIR=''
    ECHO_C='\c'
    ECHO_N=''
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    GREP=''
    ICONV_CFLAGS=''
    ICONV_LDFLAGS=''
    IKSEMEL_CFLAGS=''
    IKSEMEL_LIBS=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    IODBC_CFLAGS=''
    IODBC_LDFLAGS=''
    IODBC_LIBS=''
    JABBER_CPPFLAGS=''
    JABBER_FALSE=''
    JABBER_LDFLAGS=''
    JABBER_LIBS=''
    JABBER_TRUE=''
    LDAP_CPPFLAGS=''
    LDAP_LDFLAGS=''
    LDFLAGS=''
    LIBCURL_CFLAGS=''
    LIBCURL_LDFLAGS=''
    LIBCURL_LIBS=''
    LIBOBJS=''
    LIBS=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /local/software-für-zabbix/zabbix-1.8.9/missing --run makeinfo'
    MKDIR_P='./install-sh -c -d'
    MYSQL_CFLAGS=''
    MYSQL_CONFIG=''
    MYSQL_LDFLAGS=''
    MYSQL_LIBS=''
    MYSQL_VERSION=''
    OBJEXT=''
    ODBC_CFLAGS=''
    ODBC_LDFLAGS=''
    ODBC_LIBS=''
    OPENIPMI_CFLAGS=''
    OPENIPMI_LDFLAGS=''
    OPENIPMI_LIBS=''
    ORACLE_CPPFLAGS=''
    ORACLE_LDFLAGS=''
    ORACLE_LIBS=''
    ORACLE_OCI_CFLAGS=''
    ORACLE_OCI_LDFLAGS=''
    ORACLE_OCI_LIBS=''
    ORACLE_OCI_VERSION=''
    PACKAGE='zabbix'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_URL=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PG_CONFIG=''
    PKG_CONFIG=''
    PKG_CONFIG_LIBDIR=''
    PKG_CONFIG_PATH=''
    POSTGRESQL_CPPFLAGS=''
    POSTGRESQL_LDFLAGS=''
    POSTGRESQL_VERSION=''
    PROXY_FALSE=''
    PROXY_LDFLAGS=''
    PROXY_LIBS=''
    PROXY_TRUE=''
    RANLIB=''
    RESOLV_LIBS=''
    SERVER_FALSE=''
    SERVER_LDFLAGS=''
    SERVER_LIBS=''
    SERVER_TRUE=''
    SET_MAKE=''
    SHELL='/bin/sh'
    SNMP_CFLAGS=''
    SNMP_CPPFLAGS=''
    SNMP_LDFLAGS=''
    SNMP_LIBS=''
    SQLITE3_CPPFLAGS=''
    SQLITE3_LDFLAGS=''
    SQLITE3_VERSION=''
    SSH2_CFLAGS=''
    SSH2_LDFLAGS=''
    SSH2_LIBS=''
    STRIP=''
    UNIXODBC_CFLAGS=''
    UNIXODBC_LDFLAGS=''
    UNIXODBC_LIBS=''
    VERSION='1.8.9'
    WITH_ODBC_FALSE=''
    WITH_ODBC_TRUE=''
    _libcurl_config=''
    _libnetsnmp_config=''
    _libodbc_config=''
    ac_ct_CC='gcc'
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include=''
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='powerpc-ibm-aix5.3.0.0'
    build_alias=''
    build_cpu='powerpc'
    build_os='aix5.3.0.0'
    build_vendor='ibm'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='powerpc-ibm-aix5.3.0.0'
    host_alias=''
    host_cpu='powerpc'
    host_os='aix5.3.0.0'
    host_vendor='ibm'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /local/software-für-zabbix/zabbix-1.8.9/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(top_builddir)/./install-sh -c -d'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='NONE'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    /* confdefs.h */
    #define PACKAGE_NAME ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define PACKAGE_STRING ""
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_URL ""
    #define PACKAGE "zabbix"
    #define VERSION "1.8.9"

    configure: exit 77
  • Guest

    #2
    solved

    something for the gcc wasn't installed.

    Comment

    Working...