LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   error while installing unixODBC-2.2.14 on AIX 5.3 -configure: error: C compiler canno (https://www.linuxquestions.org/questions/aix-43/error-while-installing-unixodbc-2-2-14-on-aix-5-3-configure-error-c-compiler-canno-783419/)

sriram_nittala 01-20-2010 03:18 AM

error while installing unixODBC-2.2.14 on AIX 5.3 -configure: error: C compiler canno
 
Hi,

While installing unixODBC-2.2.14 on AIX 5.3 getting following error.Please help.


# ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) nawk
checking for bison... no
checking for byacc... no
checking for gcc... xlc_r
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
# apt-get install gettext
/bin/sh: apt-get: not found.
# pwd
/swdump/ODBC_CONNECTOR/unixODBC-2.2.14

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.61. Invocation command line was

$ ./configure

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

hostname = eccdcs1s
uname -m = 00C6D8CD4C00
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: /usr/bin/X11
PATH: /sbin
PATH: /usr/java14_64/jre/bin
PATH: /usr/java14_64/bin
PATH: /usr/TDAccess2.4.1
PATH: /usr/TDAccess2.7.3/cardout


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

configure:2076: checking for a BSD-compatible install
configure:2132: result: ./install-sh -c
configure:2143: checking whether build environment is sane
configure:2186: result: yes
configure:2251: checking for gawk
configure:2281: result: no
configure:2251: checking for mawk
configure:2281: result: no
configure:2251: checking for nawk
configure:2267: found /usr/bin/nawk
configure:2278: result: nawk
configure:2289: checking whether make sets $(MAKE)
configure:2310: result: yes
configure:2499: checking for gawk
configure:2526: result: nawk
configure:2541: checking for bison
configure:2571: result: no
configure:2541: checking for byacc
configure:2571: result: no
configure:2628: checking for gcc
configure:2655: result: xlc_r
configure:2893: checking for C compiler version
configure:2900: xlc_r --version >&5
./configure[2901]: xlc_r: not found
configure:2903: $? = 127
configure:2910: xlc_r -v >&5
./configure[2911]: xlc_r: not found
configure:2913: $? = 127
configure:2920: xlc_r -V >&5
./configure[2921]: xlc_r: not found
configure:2923: $? = 127
configure:2946: checking for C compiler default output file name
configure:2973: xlc_r -maix64 conftest.c >&5
./configure[2974]: xlc_r: not found
configure:2976: $? = 127
configure:3014: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "unixODBC"
| #define VERSION "2.2.14"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3020: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CCC_set=set
ac_cv_env_CCC_value=xlC_r
ac_cv_env_CC_set=set
ac_cv_env_CC_value=xlc_r
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-maix64
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXCPP_set=''
ac_cv_env_CXXCPP_value=''
ac_cv_env_CXXFLAGS_set=''
ac_cv_env_CXXFLAGS_value=''
ac_cv_env_CXX_set=''
ac_cv_env_CXX_value=''
ac_cv_env_F77_set=''
ac_cv_env_F77_value=''
ac_cv_env_FFLAGS_set=''
ac_cv_env_FFLAGS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_MOC_set=''
ac_cv_env_MOC_value=''
ac_cv_env_QTMAX_set=''
ac_cv_env_QTMAX_value=''
ac_cv_env_QTMIN_set=''
ac_cv_env_QTMIN_value=''
ac_cv_env_UIC_set=''


Regards,
Sriram


All times are GMT -5. The time now is 03:06 AM.