This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

configure: error: installation or configuration problem: C compiler cannot create executables



I've been searching the lists for a solution to this problem - I can
find the problem posted, but not 
the solution. 

While trying to run configure for expat in cygwin, the gcc compiler
check fails. I removed
my previous cygwin installation (including removing all cygwin and
cygnus registry keys and searching 
the file system for 'cyg'), emptied the recycle bin, restarted, and did
a full clean install of the latest cygwin, 
but it still happens.  I have the results of configure, gcc -v, and
cygcheck -s -r -v below.

Thank you in advance to anyone can help me to get this working.

Joan Friedman
 

/cygdrive/c/downloads/perl/workarea/expat-1.95.2 WOOLF $ ./configure
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
/cygdrive/c/downloads/perl/workarea/expat-1.95.2 WOOLF $ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
gcc version 2.95.3-5 (cygwin special)
/cygdrive/c/downloads/perl/workarea/expat-1.95.2 WOOLF $

/cygdrive/c/downloads/perl/workarea/expat-1.95.2 WOOLF $ cygcheck -s -r
-v

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue Sep 11 13:29:37 2001

WinNT Ver 5.0 build 2195 Service Pack 1

Path:   /usr/local/bin
        /usr/bin
        /bin
        /cygdrive/c/Program Files/Perl/bin
        /cygdrive/c/WINNT/system32
        /cygdrive/c/WINNT
        /cygdrive/c/WINNT/System32/Wbem
        /cygdrive/c/usr/bin
        .
        /cygdrive/c/java/jdk1.3/bin
        /cygdrive/c/Program Files/Ethereal/plugins/0.8.16
        /usr/local/lib
        /cygdrive/c
        /cygdrive/c/ERCDTMP
        /cygdrive/c/ERCDTMP/BIN
        /cygdrive/c/ERCDTMP/TOOLS/PT1
        /usr/bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

PWD = `/cygdrive/c/downloads/perl/workarea/expat-1.95.2'
USER = `friedman'
MAKE_MODE = `UNIX'
HOME = `/usr/jmf'

NUMBER_OF_PROCESSORS = `1'
PROMPT = `$P$G'
LOGONSERVER = `\\WOOLF'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
COMSPEC = `C:\WINNT\system32\cmd.exe'
!C: = `C:\Programs\cygwin\bin'
SYSTEMDRIVE = `C:'
HOSTNAME = `WOOLF'
PROCESSOR_REVISION = `0806'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
COMPUTERNAME = `WOOLF'
TOOLS = `c:\usr\bin'
WINDIR = `C:\WINNT'
USERPROFILE = `C:\Documents and Settings\friedman'
PS1 = `$PWD \h $ '
LIBS = `/usr/local/lib'
PROGRAMFILES = `C:\Program Files'
DEBUG = `true'
MACHTYPE = `i686-pc-cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
OS = `Windows_NT'
OLDPWD = `/cygdrive/c/downloads/perl'
BASH_ENV = `/usr/jmf/.bashrc'
PROCESSOR_ARCHITECTURE = `x86'
TEMP = `/cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp'
PROCESSOR_LEVEL = `6'
SYSTEMROOT = `C:\WINNT'
JAVAPATH = `c:\java\jdk1.3\bin'
TMP = `/cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp'
HOMEDRIVE = `C:'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
SHLVL = `1'
APPDATA = `C:\Documents and Settings\friedman\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
HOMEPATH = `\'
USERDOMAIN = `WOOLF'
ETHEREALPATH = `C:\Program Files\Ethereal\plugins\0.8.16'
USERNAME = `'
SHELL = `/bin/bash'
CVSROOT = `:pserver:friedman@jupiter.d3u.us.am.ericsson.se:/home/cvs'
HOSTTYPE = `i686'
OSTYPE = `CYGWIN_NT-5.0'
TERM = `cygwin'
_ = `/usr/bin/cygcheck'
TZ = `EST5EDT4,M4.1.0/2,M10.5.0/2'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\cygnus.bat
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\cygnus.bat\shell
  (default) = `cygnus'
  FriendlyCacheCTime = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:/Programs/cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:/Programs/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:/Programs/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A
c:  hd  NTFS   14496Mb  47% CP CS UN PA FC
d:  hd  FAT      799Mb   1% CP    UN           FILESHARE
g:  cd           N/A    N/A

C:\Programs\cygwin\bin  /usr/bin  system  binmode
C:\Programs\cygwin\lib  /usr/lib  system  binmode
C:\Programs\cygwin  /        system  binmode
c:    /cygdrive/c  user    binmode,noumount
d:    /cygdrive/d  user    binmode,noumount

Found: C:\Programs\cygwin\bin\bash.exe
Found: C:\Programs\cygwin\bin\cat.exe
Found: C:\Programs\cygwin\bin\cpp.exe
Found: C:\Programs\cygwin\bin\find.exe
Found: C:\Programs\cygwin\bin\gcc.exe
Found: C:\Programs\cygwin\bin\gdb.exe
Found: C:\Programs\cygwin\bin\ld.exe
Found: C:\Programs\cygwin\bin\ls.exe
Found: C:\Programs\cygwin\bin\make.exe
Found: C:\Programs\cygwin\bin\sh.exe

   56k 2000/12/03 C:\Programs\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0
sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/20 18:53
   45k 2001/04/25 C:\Programs\cygwin\bin\cygform5.dll - os=4.0 img=1.0
sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 1:28
   18k 2000/10/23 C:\Programs\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/22 22:26
   17k 2001/06/28 C:\Programs\cygwin\bin\cyghistory4.dll - os=4.0
img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 23:34
   21k 2001/06/28 C:\Programs\cygwin\bin\cyghistory5.dll - os=4.0
img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2001/6/27 22:27
   21k 2001/06/20 C:\Programs\cygwin\bin\cygintl.dll - os=4.0 img=1.0
sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 13:09
   81k 2000/12/05 C:\Programs\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0
sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/25 20:43
   35k 2000/12/05 C:\Programs\cygwin\bin\cygitk30.dll - os=4.0 img=1.0
sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/25 20:43
   45k 2001/07/04 C:\Programs\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0
sys=4.0
                  "cygjbig1.dll" v0.0 ts=2001/7/3 23:25
  119k 2001/06/06 C:\Programs\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0
sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2001/6/6 0:27
   26k 2001/04/25 C:\Programs\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0
sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 1:27
  156k 2001/04/25 C:\Programs\cygwin\bin\cygncurses++5.dll - os=4.0
img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29
  226k 2001/04/25 C:\Programs\cygwin\bin\cygncurses5.dll - os=4.0
img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 1:17
   15k 2001/04/25 C:\Programs\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0
sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 1:27
  163k 2001/05/06 C:\Programs\cygwin\bin\cygpng2.dll - os=4.0 img=1.0
sys=4.0
                  "cygpng2.dll" v0.0 ts=2001/5/6 0:05
  108k 2001/06/28 C:\Programs\cygwin\bin\cygreadline4.dll - os=4.0
img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 23:34
  135k 2001/06/28 C:\Programs\cygwin\bin\cygreadline5.dll - os=4.0
img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2001/6/27 22:27
  390k 2000/12/05 C:\Programs\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/25 20:39
    5k 2000/12/05 C:\Programs\cygwin\bin\cygtclpip80.dll - os=4.0
img=1.0 sys=4.0
   10k 2000/12/05 C:\Programs\cygwin\bin\cygtclreg80.dll - os=4.0
img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/25 20:39
  245k 2001/06/12 C:\Programs\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0
sys=4.0
                  "cygtiff3.dll" v0.0 ts=2001/6/12 13:25
  623k 2000/12/05 C:\Programs\cygwin\bin\cygtk80.dll - os=4.0 img=1.0
sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/25 20:43
   41k 2001/07/04 C:\Programs\cygwin\bin\cygXpm-noX4.dll - os=4.0
img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2001/7/3 21:21
   45k 2001/07/04 C:\Programs\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0
sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/19 21:45
   49k 2001/02/03 C:\Programs\cygwin\bin\cygz.dll - os=4.0 img=1.0
sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/3 15:35
  678k 2001/05/21 C:\Programs\cygwin\bin\cygwin1.dll - os=4.0 img=1.0
sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/5/20 23:28
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 2
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 39
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:
        build date: Sun May 20 23:28:17 EDT 2001
        shared id: cygwin1S3

Use -h to see help about each section
/cygdrive/c/downloads/perl/workarea/expat-1.95.2 WOOLF $

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]