No acceptable c compiler error while building freeglut-2.8.1

After doing some searching in how to getting started with opengl, i found that i probably missing some library. And so i downloaded this freeglut library from the official page, http://freeglut.sourceforge.net/index.php#download

After downloading, i use my cygwin and cd to the unzipped or untar-ed freeglut folder and run the ./configure command. and i received this error message:


configure: error: in `/cygdrive/c/users/owner/desktop/freeglut-2.8.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details


I am current using window 8, and i didn't see any mingw shell in my mingw folder, so i can't use mingw... Currently using notron antivirus, not sure if this can also be the root of this problem...

Or I have to change the 'PATH' system variable? (my PATH value is set to c:\cygwin\bin)

Or it is also possible to use the codeblock itself to build this library?
config.log, i will divide it into 2 saperate posts

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by freeglut library configure 2.8.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure 

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

hostname = OwnerPC
uname -m = i686
uname -r = 1.7.18(0.263/5/3)
uname -s = CYGWIN_NT-6.2-WOW64
uname -v = 2013-04-19 10:39

/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: /usr/bin


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

configure:2273: checking for a BSD-compatible install
configure:2341: result: /usr/bin/install -c
configure:2352: checking whether build environment is sane
configure:2402: result: yes
configure:2543: checking for a thread-safe mkdir -p
configure:2582: result: /usr/bin/mkdir -p
configure:2595: checking for gawk
configure:2611: found /usr/bin/gawk
configure:2622: result: gawk
configure:2633: checking whether make sets $(MAKE)
configure:2659: result: no
configure:2792: checking for gcc
configure:2822: result: no
configure:2885: checking for cc
configure:2932: result: no
configure:2988: checking for cl.exe
configure:3018: result: no
configure:3042: error: in `/cygdrive/c/users/owner/desktop/freeglut-2.8.1':
configure:3044: error: no acceptable C compiler found in $PATH
See `config.log' for more details
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
## ---------------- ##
## Cache variables. ##
## ---------------- ##

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_XMKMF_set=
ac_cv_env_XMKMF_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_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=no

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

ACLOCAL='${SHELL} /cygdrive/c/users/owner/desktop/freeglut-2.8.1/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR=''
AUTOCONF='${SHELL} /cygdrive/c/users/owner/desktop/freeglut-2.8.1/missing --run autoconf'
AUTOHEADER='${SHELL} /cygdrive/c/users/owner/desktop/freeglut-2.8.1/missing --run autoheader'
AUTOMAKE='${SHELL} /cygdrive/c/users/owner/desktop/freeglut-2.8.1/missing --run automake-1.11'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='cygpath -w'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXPORT_FLAGS=''
FGREP=''
GL_LIBS=''
GREP=''
HEADER=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBM=''
LIBOBJS=''
LIBRARY=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIBUSBHID=''
LIBXI=''
LIBXXF86VM=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /cygdrive/c/users/owner/desktop/freeglut-2.8.1/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='freeglut'
PACKAGE_BUGREPORT='freeglut-bugs@lists.sourceforge.net'
PACKAGE_NAME='freeglut library'
PACKAGE_STRING='freeglut library 2.8.1'
PACKAGE_TARNAME='freeglut'
PACKAGE_URL=''
PACKAGE_VERSION='2.8.1'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
STRIP=''
VERSION='2.8.1'
VERSION_INFO=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /cygdrive/c/users/owner/desktop/freeglut-2.8.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/mkdir -p'
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 "freeglut library"
#define PACKAGE_TARNAME "freeglut"
#define PACKAGE_VERSION "2.8.1"
#define PACKAGE_STRING "freeglut library 2.8.1"
#define PACKAGE_BUGREPORT "freeglut-bugs@lists.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "freeglut"
#define VERSION "2.8.1"

configure: exit 1
In your cygwin type PATH and print the output of that line. I think you don't have the compiler in your path.
Topic archived. No new replies allowed.