On Thursday 15 September 2005 23:08, Edward Cawley wrote:

> When I tried to run the fgjs in terminal I got the following
> Ed-Cawleys-Computer:~ ecawley$ /Volumes/MacintoshHD\
> Two/FlightGear-0.9.8/src/Input/fgjs.cxx
> -bash: /Volumes/MacintoshHD Two/FlightGear-0.9.8/src/Input/fgjs.cxx:
> Permission denied

If I'm reading the above right, it looks like you're trying to run the source 
code for fgjs.  This is unlikely to work with C++ :-)

You want to find the fgjs "binary" (compiled program) ideally.  This will be 
in a "bin" directory, along with fgfs.  Can you search your computer for the 
file fgfs?  Have a look at the "bin" folder it's in, and see if there isn't 
also a fgjs.

If there really isn't a fgjs binary supplied with the 0.9.8 mac version, you'd 
need to compile the source files it seems you've found to get a working 
executable.  This could be a bit adventurous for someone who hadn't done that 
sort of thing before...  I'll perhaps see if I can lay my hands on a Mac to 
check the situation for you sometime if you're still stuck.

> I think it's because I'm not at the root level ? I think I read a
> simple fix, but I can't find it.

The reason you're getting "permission denied" is likely that the cxx file 
you're trying to execute is not an executable, does not therefore have 
execute permissions set and so you can't execute it.  Being root in this case 
wouldn't help.

Hope you made some sense out of the above,

AJ

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to