Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I installed a Cygwin system on my windows XP platform, following is what I get when use './configure':
<pre lang="css">$ sh ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for mawk... no
checking for gawk... gawk
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH



Does someone know what the cause of the error, and how to solve it?

I already have vs2005 installed on my PC, someone suggested lacking of a "GCC" compiler causes all the trouble, but I wonder VS2005 must have a compiler, so, why it still fails?

Thanks in advance
Posted
Updated 7-May-10 23:00pm
v2

I doubt Cygwin will use the Microsoft compiler.
You probably should download the gcc compiler (the Cygwin setup will do it for you).
:)
 
Share this answer
 
Use the cygwin setup program again to add the GCC package. It should set up your $PATH variable for you. This is far safer than just downloading the archive.
 
Share this answer
 
You are probably missing required bits of Cygwin. Why are you using ./configure directly? The GUI download normally takes care of all that for you. And yes, the bit you are missing is most probably the GCC compiler. You should select it in your Cygwin installer.
 
Share this answer
 
I have downloaded a gcc zip file, then unzip it under the same directory of the cygwin files.Restart the configure command again but still failed,the error information is as follow:
CSS
$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for mawk... no
checking for gawk... gawk
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900