This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I receive the following error message when building the 'helloapp' sample project: make: /bin/sh: Command not found make: *** [.validate-impl] Error 127 Build failed. Exit value 2. Checking the version of compilers, make and gdb : - GNU gdb 6.5.50.200060706-cvs - GNU make 3.81 - g++ 3.4.4 - gcc 3.4.4 However cygwin reports "No setup information found". PATH is: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\cygwin\bin;C:\cygwin\usr\bin; C:\cygwin\bin\sh does exist. Regards, Akos
Reassigning to CND for evaluation.
Can you run the same make command from a Cygwin Bash Shell? If you get the same results then its a problem in your ~/.bashrc (or ~/.profile) file. Since netbeans is finding make you're Windows path does seem to be set up correctly. But there is no guarantee your Cygwin path is identical. If it does build correctly from the command line then I'm not sure what the problem might be.
See what is in C:\cygwin\bin (the bin directory should be equivalent to the \usr\bin directory). Try running the make command from a dos command window. Let me know what you see. This type of problem always comes down to an installation problem. We're working on making the C/C++ pack better at recognizing this type of problem but the best solution is often to take another look at our installation guide a http://www.netbeans.org/communitly/releases/55/cnd-install.html, especially the section titled "Installing and Setting Up the Compilers and Tools".
not reproducible any more
I solved this problem by installing MSYS Bash using "MinGW Installation Manager" Run, C:\MinGW\bin\mingw-get.exe and check the following MSYS > MSYS Base System > msys-bash(bin, doc, lic and lnk). Apply the changes. Now it should find the command.