./configure error


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ./configure error
# 1  
Old 06-12-2002
./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?
# 2  
Old 06-12-2002
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
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
Use the Cygwin installer from http://sources.redhat.com/cygwin/ Choose "gcc" and the install program which ensure that you get all the dependancies.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. High Performance Computing

FFTW - ./configure --enable-mpi error.

Hello I am trying to install fftw3.3.3 on an HPC system. The system has openmpi installed ( though we can choose between a variety of mpi distributions). However, while ./configure step of fftw, there is an error. The relevant section of the output is: checking whether to build shared... (3 Replies)
Discussion started by: abhi34101
3 Replies

2. Shell Programming and Scripting

[Solved] Configure: error: invalid value of canonical target

Hi Everyone, I am trying to connect GDB-7.5.50-1 to the target but I am getting an error configure: error: invalid value of canonical target .In addition I gave the command ./configure --target=xyz --build= xyz --host=xyz. Furthemore the host and the build system are compeletly running but... (0 Replies)
Discussion started by: Heeka
0 Replies

3. Red Hat

Error to configure Squirrelmail IMAP Proxy

Hi there.. :D I"m new in Linux. Trying to install squirrelmail-imap_proxy-1.2.7 on Red Hat WS 4. Errors from ./configure as shown below: # ./configure checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking... (5 Replies)
Discussion started by: che.din
5 Replies

4. Solaris

configure: error: no acceptable ld found in $PATH

When i configure apache(2.2.15) on solaris-8 server it producing following error <configure: error: no acceptable ld found in $PATH configure failed for srclib/apr > please help me any to fix this error. :confused: ---------- Post updated at 09:44 PM ---------- Previous update was... (0 Replies)
Discussion started by: kalpeer
0 Replies

5. Infrastructure Monitoring

configure nrpe and nagios error

   (1)check the service of nrpe   # libexec/check_nrpe -H 59.26.240.63   NRPE v2.8.1    (2)check the resource of nrpe's host   # libexec/check_nrpe -H 59.26.240.63 -c check_df   DISK OK - free space: / 8241 MB (77% inode=98%); /var 5239 MB (95% inode=99%); /usr 11971 MB (86%... (0 Replies)
Discussion started by: zhengsenlin
0 Replies

6. Ubuntu

./configure command Error while trying to install GCC compiler on unix machine

Hi, I need to install the GCC compiler on a my Linus machine. First step is to run the ./configure command and here we need to specify ./configure --target="target machine name (CPU type-Manufacturer-OS) or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
Discussion started by: viji19812001
11 Replies

7. Solaris

PZ help :configure: error: cannot find output from flex; giving up

While installing amanda server,i got the following error ## checking lex output file root... configure: error: cannot find output from flex; giving up. when i execute # which lex i got /usr/ccs/bin/lex setting the pathg does not work too After this i tried intalling flex in my /opt... (0 Replies)
Discussion started by: bullet350
0 Replies

8. Solaris

[need help] error after configure network card at v890 sparc

hi experts, i have some problem with my server v890, i had config the network with ce0,ce1 and eri0 but after reboot the server have this error messages display : WARNING: ce0: fault detected external to device; service degraded WARNING: ce0: xcvr addr:0x01 - link down configuring IPv4... (2 Replies)
Discussion started by: bucci
2 Replies

9. UNIX for Dummies Questions & Answers

./configure error

Hey, i'm trying to use httptunnel and it won't let me configure it. here's what the cmnd line gives me: pbg4% ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets... (4 Replies)
Discussion started by: macaddictg4
4 Replies
Login or Register to Ask a Question