tags:

views:

981

answers:

3

Hi all,

I want to install Kannel gateway on windowsXP.For that i downloaded the cygwin and installed.After that when i want to configure the kaneel i got the following errors.I set the PATH as C:\cygwin\bin;C:\libxml2-2.6.30+.win32\bin;

Running system checks ...
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

The log file is as follows.Please provide solution.

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

$ ./configure 

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

hostname = sreeni9
uname -m = i686
uname -r = 1.7.1(0.218/5/3)
uname -s = CYGWIN_NT-5.1
uname -v = 2009-12-07 11:48

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

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

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /cygdrive/c/WINDOWS/system32
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/System32/Wbem
PATH: /usr/bin
PATH: /cygdrive/c/libxml2-2.6.30+.win32/bin
PATH: /cygdrive/c/Program Files/Java/jdk1.6.0_16/bin
PATH: .


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

configure:2053: checking build system type
configure:2071: result: i686-pc-cygwin
configure:2093: checking host system type
configure:2108: result: i686-pc-cygwin
configure:2180: checking for gcc
configure:2210: result: no
configure:2277: checking for cc
configure:2324: result: no
configure:2380: checking for cl.exe
configure:2410: result: no
configure:2439: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

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

ac_cv_build=i686-pc-cygwin
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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=i686-pc-cygwin

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

AR=''
CC=''
CFLAGS=''
CONVERT=''
CPP=''
CPPFLAGS=''
DEFS=''
DOCDRAFTS=''
DOCSTARGET=''
DVIPS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXE_EXT=''
FIG2DEV=''
GREP=''
GW_VERSION=''
HTML_DSL=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
JADE=''
JADETEX=''
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LTLIBOBJS=''
MYSQL_CONFIG=''
OBJEXT=''
OPENSSL=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCRE_CONFIG=''
PDFJADETEX=''
PERL=''
PGSQL_CONFIG=''
PKGADD_NAME='Kannel - WAP and SMS gateway'
PKGADD_PKG='KANNELgateway'
PKGADD_VENDOR='www.kannel.org'
RANLIB=''
SDB_CONFIG=''
SHELL='/bin/sh'
SIZEOF_INT=''
SIZEOF_LONG=''
SIZEOF_LONG_LONG=''
SIZEOF_SHORT=''
SQLITE3=''
SQLITE=''
STARTSTOPDAEMONSRC=''
SUFFIX=''
TEX_DSL=''
VERSION='1.4.3'
XML_CONFIG=''
YACC=''
YFLAGS=''
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias=''
build_cpu='i686'
build_os='cygwin'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${prefix}/share/doc/kannel'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-cygwin'
host_alias=''
host_cpu='i686'
host_os='cygwin'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
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. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define GW_NAME "Kannel"
#define GW_VERSION "1.4.3"
#define VERSION "1.4.3"

configure: exit 1
+1  A: 

Sounds like you didn't install gcc when you installed cygwin. Rerun setup, selecting gcc for installation.

Ignacio Vazquez-Abrams
Sir,Give me the correct url to perfectly download the cygwin.
sekar.malepati
+1  A: 

Well, my first guess is that you haven't actually installed all of Cygwin. The default installation does not install every single package, just a subset.

That's why I always changed the install type to 'Full' when I'm running setup.exe.

Whether gcc is included in the standard install, I don't know, since I never install the standard one. However, it should be in /usr/bin/gcc, the same as my system, and which is on your path. Open up the bash shell and execute:

ls -al /usr/bin/gcc

to see if it's there.

paxdiablo
Sir,Give me the correct url to fully download cygwin.
sekar.malepati
http://www.cygwin.com/setup.exe is the setup program. When you run this, download _everything_ to local disk and burn to a DVD, then install _everything_ from there. That way, you only ever have to download once.
paxdiablo
A: 

@sekar,

Mind you don't get hopes up too high with Cygwin's gcc. There are quite a few coders and developers who, while they may have heard of GNU C++ and are vaguely familiar with how it works in other L/Unix distributions (Sun SPARC, HP/UX. Debian/Ubuntu, etc etc ad inf. ad naus.), these same folks may never have heard of Cygwin. Often one encounters a situation where "compile" flags are necessary, and these are not 100% guaranteed to work with Cygwin either.

Part of the Cygwin 'mission and purpose' was to give those already familiar with command-line Linux and Unix (as well as X11) a chance to 'keep their hand in,' as the saying goes, to not only not lose their skills and knowledge but improve and add on them. It is not, as one of the developers is wont to say in many if not all of his posts, meant to "run everything Unix under the sun, nor Linux either."

Hope this is helpful.

BZT

silversleevesx