[1.5][gcc-3.4.4] python-2.5.4 distutils failed to compile c files

Joe Pham djpham@netzero.com
Thu May 7 02:54:00 GMT 2009

Using non-cygwin python-2.5.4, distutils failed to compile c files and generated the following error message:

error: command 'gcc' failed: No such file or directory

Apparently, distutils failed to locate the full path to gcc.exe because /bin/gcc.exe is an s-link instead of a regular file (os.path.isfile() returned False).  One simple work-around is to delete that s-link and copy /bin/gcc-3.exe to /bin/gcc.exe

Not sure if there is anything that could/should be done here, maybe just an FYI to those who might run into the same issue.

-Joe Pham
Deter possible thieves with a reliable new car alarm! Click now!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 27267 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090507/ad155017/attachment.obj>
-------------- next part --------------
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list