The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
PZ help :configure: error: cannot find output from flex; giving up bullet350 SUN Solaris 0 11-29-2007 02:24 AM
[need help] error after configure network card at v890 sparc bucci SUN Solaris 2 10-11-2006 11:28 PM
How to configure DNS q30 UNIX for Advanced & Expert Users 6 06-03-2002 12:31 AM
./configure error macaddictg4 UNIX for Dummies Questions & Answers 4 09-28-2001 05:43 PM
How do I configure TCP/IP gguzman IP Networking 11 08-30-2001 07:46 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-12-2002
Registered User
 

Join Date: Jun 2002
Posts: 4
./configure error

my compiler won' t let me configure. This is what occurs when I type ./configure

Alex@BADPERSON /postgresql-7.2.1
$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking which template to use... win
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

I am running cygwin on windows XP

Alex@BADPERSON /postgresql-7.2.1
$ uname -spmr
CYGWIN_NT-5.1 1.3.10(0.51/3/2) i686 unknown

How can i fix this cc error?
Forum Sponsor
  #2  
Old 06-12-2002
Registered User
 

Join Date: Feb 2002
Posts: 29
Looks like it can not find the cc command in any path that is listed in the $PATH variable.

Type in:

"echo $PATH" and see what directories are being searched for the command.
  #3  
Old 06-12-2002
Registered User
 

Join Date: Jun 2002
Posts: 4
i got gcc from ftp://mirrors.laffeycomputer.com/pub...ses/index.html

however, when i type ./configure after extracting and bunzip2ing the file, i get

Alex@BADPERSON /gcc-3.0
$ ./configure
Configuring for a i686-pc-cygwin host.
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava
(Any other directories should still work fine.)
Created "Makefile" in /gcc-3.0 using "mh-frag"
cc: not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

when i type echo $PATH, i get
/usr/local/bin:/usr/bin:/bin:/cygdrive/d/Perl/bin/:/cygdrive/c/PROGRA~1/Kerberos
:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/W
bem:/cygdrive/c/matlabr12/bin/win32:/cygdrive/c/Program Files/Symantec/pcAnywher
e/

does anyone know how i can get gcc to work for cygwin, why the hell cygwin doesn't include a compiler with it's download and installation, and how to solve the cc problem
  #4  
Old 06-14-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
Use the Cygwin installer from http://sources.redhat.com/cygwin/ Choose "gcc" and the install program which ensure that you get all the dependancies.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0