Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

endy

macrumors newbie
Original poster
Nov 27, 2011
4
0
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 Haswell
May 3, 2009
73,478
43,405
./ is not a command but rather the path.
what happens when you type ls ./ in the terminal?
 

maflynn

macrumors Haswell
May 3, 2009
73,478
43,405
So what is the error message? You state it does not work, but what exactly occurs
 

endy

macrumors newbie
Original poster
Nov 27, 2011
4
0
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
 

ScoobyMcDoo

macrumors 65816
Nov 26, 2007
1,188
37
Austin, TX
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.
 

endy

macrumors newbie
Original poster
Nov 27, 2011
4
0
"ls ./" output its same to "ls" output i mean.Thanks. its permisions problem. I solve it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.