LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 01-20-2010, 03:18 AM   #1
sriram_nittala
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
configure: error: C compiler cannot create executables watashiwaotaku7 Linux - General 7 10-22-2009 09:40 AM
configure: error: C compiler cannot create executables Geneset Linux - Newbie 7 07-13-2007 03:11 PM
configure: error: C compiler cannot create executables redsnapperke Linux - Software 11 06-05-2006 08:10 AM
configure/compiler error MrSnrub Linux - Newbie 2 03-18-2006 03:50 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration