Cygwin Make Error No Such File Or Directory
Contents |
-- "gcc: error: spawn: No such file or directory" From: David Friedman
Stddef.h No Such File Or Directory Cygwin
2014 11:19:37 -0500 (CDT) Subject: It's back -- "gcc: error: spawn: No such file cygwin path no such file or directory or directory" Authentication-results: sourceware.org; auth=none I just upgraded my gcc to 4.8.3 and tried a compilation, and got the error above. I see that cygwin gcc no such file or directory there's been some previous discussion of this error, including whether gcc is started from /usr/bin or /bin; tried both, no difference. See below: $ echo $PATH /usr/local/bin: /usr/bin: /bin: /usr/X11R6/bin: /cygdrive/c/WINDOWS/system32: /cygdrive/c/WINDOWS: /cygdrive/c/WINDOWS/system32/wbem: /cygdrive/c/program files/intel/dmix: . . . Tried starting gcc with -v option; here's the tail
Connect /tmp/.x11-unix/x0 No Such File Or Directory Cygwin
end of the result: . . . GNU C (GCC) version 4.8.3 (i686-pc-cygwin) compiled by GNU C version 4.8.3, GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a39cfdacc7868ff2412ca54ce8f22425 COLLECT_GCC_OPTIONS='-v' '-o' 'Qualcomm_enc_dec.exe' '-mtune=generic' '-march=i686' as -v -o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/cca1VHLo.o /cygdrive/c/DOCUME~1/friedman/LOCALS~1/Temp/ccuVhtdU.s gcc: error: spawn: No such file or directory And all I wanted to do was compile and run some C code. Any suggestions of workarounds? Thanks in advance for any useful ideas. David F. 2014 May 30 11:18 CDT -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Follow-Ups: Re: It's back -- "gcc: error: spawn: No such file or directory" From: Christopher Faylor Re: It's back -- "gcc: error: spawn: No such file or directory" From: David Friedman Index Nav: [DateIndex] [SubjectIndex] [AuthorIndex] [ThreadIndex] Message Nav: [DatePrev][DateNext] [ThreadPrev][ThreadNext]
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta cygwin terminal no such file or directory Discuss the workings and policies of this site About Us Learn more gcc error spawn no such file or directory cygwin about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack
Cygdrive No Such File Or Directory
Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, https://cygwin.com/ml/cygwin/2014-05/msg00532.html helping each other. Join them; it only takes a minute: Sign up Bash on cygwin: No such file or directory up vote 1 down vote favorite 1 commonMongo=s:/programs/mongodb/ dbpath=$commonMongo"data/" logFile=$commonMongo"log.txt" mongoProg=s:/programs/mongodb/mongodb/ mongoBin=$mongoProg"bin/" mongod=$mongoBin"mongod.exe" a=$1 if [ "$a" == "start" ];then "${mongod} --logpath ${logFile} --logappend --dbpath ${dbpath} &" elif [ "$a" == "repair" ];then "${mongod} --dbpath ${dbpath} --repair" else http://stackoverflow.com/questions/7629017/bash-on-cygwin-no-such-file-or-directory echo "Incorrect usage" fi ./init.sh: line 11: s:/programs/mongodb/mongodb/bin/mongod.exe --dbpath s:/programs/mongodb/data/ --repair: No such file or directory Calling the printed command works fine: s:/programs/mongodb/mongodb/bin/mongod.exe --dbpath s:/programs/mongodb/data/ --repair bash cygwin share|improve this question asked Oct 2 '11 at 20:30 MetaChrome 1,21931835 2 Fixed by not wrapping the command in double quotes. –MetaChrome Oct 2 '11 at 20:34 1 You should still wrap individual variables `"${mongod}"' & '"${logFIle}"' if they can contain spaces, but yes, the whole line in one set of quotes would cause the error you saw –nhed Oct 2 '11 at 23:28 add a comment| 2 Answers 2 active oldest votes up vote 6 down vote Cygwin will actually do magic for you if you put your DOS paths in quotes, for example cd "C:\Program Files\" share|improve this answer answered May 24 '12 at 21:08 RandomMonkey 33933 add a comment| up vote 4 down vote Cygwin does not recognize Windows drive letters such as s:, use /cygdrive/s instead. Your cygwin command should look like this: /cygdrive/s/programs/mongodb/mongodb/bin/mongod.exe --dbpath s
Support Search GitHub This repository Watch 1,160 Star 18,177 Fork 2,490 Microsoft/vscode Code Issues 2,653 Pull requests 40 Projects 1 Wiki Pulse Graphs https://github.com/Microsoft/vscode/issues/1982 New issue Keep getting error ENOENT: no such file or directory, lstat 'w:\cygdrive' #1982 Closed canozmen opened this Issue Jan 13, 2016 · 13 comments Projects None yet Labels bug needs more info Milestone No milestone Assignees joaomoreno 5 participants canozmen commented Jan 13, 2016 I started getting this error when a node project is open. Happens on a Windows no such 7 machine with regular node and cygwin installed. Is there any way to debug and see what is calling the lstat command on this malformed path? bpasero was assigned by isidorn Jan 14, 2016 Microsoft member bpasero commented Jan 14, 2016 Anything in the console? bpasero added bug needs more info labels Jan 14, 2016 bpasero added this to the Backlog no such file milestone Jan 14, 2016 canozmen commented Jan 14, 2016 You mean in the Debug Console? Nothing there. I keep getting the error periodically while a node project is open, not when I run the node app. So that makes me thinks this is about the linter / intellisense / etc. background workers. Microsoft member bpasero commented Jan 14, 2016 I meant the VS Code developer console (from Help menu | toggle developer tools) canozmen commented Jan 14, 2016 Yes I can see the same error there. Anyway I can see the stack trace with unminified code? ENOENT: no such file or directory, lstat 'w:\cygdrive': Error: ENOENT: no such file or directory, lstat 'w:\cygdrive', at Error (native) e.doShow @ workbench.main.js:63 e.show @ workbench.main.js:63 (anonymous function) @ workbench.main.js:63 e.show @ workbench.main.js:63 (anonymous function) @ workbench.main.js:62 t @ workbench.main.js:15 __dirname.undefined.t.Class.define.done @ workbench.main.js:6 p @ workbench.main.js:6 __dirname.undefined.F.enter @ workbench.main.js:6 __dirname.undefined.t.Class.define._run @ workbench.main.js:6 __dirname.undefined.t.Class.define._chainedError @ workbench.main.js:6 __dirname.undefined.D.enter.n @ workbench.main.js:6 p @ workbench.main.js:6 __dirname.undefined.F.enter @ workbench.main.js:6 __dirname.undefined.t.Class.define._run @ workbench.main.js:6 __dirname.undefined.t.Class.define._error @ workbench.main.js:6 (anonymous function) @ workbench.main.js:15 __dirname.undefined.t.Class.define.done @ workbench.main.js:6 p @ workbench.main.js:6 __dirname.undefined.F.enter @ workbench.main.js:6 __dirname.undefined.t