NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Welcome_1 - make[2]: mkdir: Command not found

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
Tracey
Posted via mailing list.





PostPosted: Fri Jun 15, 2012 2:10 pm    Post subject: Welcome_1 - make[2]: mkdir: Command not found Reply with quote

The sample program (Welcome_1) fails to compile with the following
error: make[2]: mkdir: Command not found
Can anyone tell me how I can fix this issue?

I installed Java, MinGW(full), NetBeans 6.9.1, and the updates to
NetBeans 6.9.1 (plus the offline documentation).

The [Build Info] and the [Compiler Info] is pasted below.

I am a newbie to C programming and NetBeans (6.9.1) using Windows 2000 SP4.

Any help will be greatly appreciated.
Thanks, Tracey

Build Info:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS=
..build-conf
make[1]: Entering directory `/d/My Documents/NetBeansProjects/Welcome_1'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk
dist/Debug/MinGW-Windows/welcome_1.exe
make[2]: Entering directory `/d/My Documents/NetBeansProjects/Welcome_1'
mkdir -p build/Debug/MinGW-Windows
make[2]: mkdir: Command not found
make[2]: *** [build/Debug/MinGW-Windows/welcome.o] Error 127
make[1]: *** [.build-conf] Error 2
make[2]: Leaving directory `/d/My Documents/NetBeansProjects/Welcome_1'
make[1]: Leaving directory `/d/My Documents/NetBeansProjects/Welcome_1'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 9s)



Compiler Info:
C Compiler: gcc.exe (GCC) 4.6.2
C++ Compiler: g++.exe (GCC) 4.6.2
Fortran Compiler: GNU Fortran (GCC) 4.6.2
Assembler: GNU assembler (GNU Binutils) 2.22
Make Tool: GNU Make 3.81
Debugger: GNU gdb (GDB) 7.4
QMake Tool: not found
CMake Tool: not found
I had to specifically choose [D:\MinGW\msys\1.0\bin\make.exe] instead of
[D:\MinGW\bin\mingw32-make.exe] (according to instructions on the web
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo