E endy macrumors newbie Original poster Nov 27, 2011 4 0 Nov 27, 2011 #1 My terminal command " ./ " not work only " sh " work fine. I want to compile gdb and nothing works because in Makefile exist a command "./" My mac has 10.6.8. Please help me...
My terminal command " ./ " not work only " sh " work fine. I want to compile gdb and nothing works because in Makefile exist a command "./" My mac has 10.6.8. Please help me...
maflynn macrumors Broadwell May 3, 2009 77,002 48,534 Nov 27, 2011 #2 ./ is not a command but rather the path. what happens when you type ls ./ in the terminal?
maflynn macrumors Broadwell May 3, 2009 77,002 48,534 Nov 27, 2011 #4 So what is the error message? You state it does not work, but what exactly occurs
E endy macrumors newbie Original poster Nov 27, 2011 4 0 Nov 27, 2011 #5 config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands config.status: executing depdir commands ./observer.sh h ./doc/observer.texi observer.h make[2]: ./observer.sh: Permission denied make[2]: *** [observer.h] Error 1 make[1]: *** [all-gdb] Error 2 make: *** [all] Error 2
config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands config.status: executing depdir commands ./observer.sh h ./doc/observer.texi observer.h make[2]: ./observer.sh: Permission denied make[2]: *** [observer.h] Error 1 make[1]: *** [all-gdb] Error 2 make: *** [all] Error 2
S ScoobyMcDoo macrumors 65816 Nov 26, 2007 1,188 37 Austin, TX Nov 27, 2011 #6 Not sure what you think ./ has to do with the actual error you got. And btw, ./ is not the same as ls. Anyway, you have a permissions problem. Find observer.sh and add execute permissions with "chmod +x observer.sh" command.
Not sure what you think ./ has to do with the actual error you got. And btw, ./ is not the same as ls. Anyway, you have a permissions problem. Find observer.sh and add execute permissions with "chmod +x observer.sh" command.
E endy macrumors newbie Original poster Nov 27, 2011 4 0 Nov 28, 2011 #7 "ls ./" output its same to "ls" output i mean.Thanks. its permisions problem. I solve it.