![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
./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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |