Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running a binary from Terminal



Title: Running a binary from Terminal
Hi,

I need help on running a binary from the command line ... in the
terminal window ... bash shell ...

I have downloaded a MAC OS X compiled binary as a compressed
.gz file. The file is fgfs-0.9.3-11-22-03.gz, about 1.5MB,
see FlightGear.org, Download Application, search down to MAC section ;-))

It has been un-gz-ed, in a folder /Flightgear, thus I now have a file
fgfs-0.9.3-11-22-03, which is about 5.5MB.

I read in one of the readme's that I should do the command -
$ chmod +x fgfs-0.9.3-11-22-03

It seems you have to su:password, to do this? But it also
appears already marked 'x' by the stuffit unpacking, so
not sure if this command is necessary ...

And when I do a command
$ ls -l fgfs-0.9.3*
it shows that the file has been marked with an x in root,
user, and world, ie -rwxrwxrwx

But when I enter the name, as a command -
$ fgfs-0.9.3-11-22-03
the system reports 'command not found' ... yuk!

And have tried -
$ fgfs-0.9.3-11-22-03 --fg-root=/Flightgear/data
but nothing ...

And -
$ fgfs-0.9.3-11-22-03 --help

Can anyone help? Has anyone specifically run the
Flightgear MAC binary in OS X?

Thanks in anticipation ...

Kanlisha
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.