Hi Jeremy

Firstly you need to check that you have user permission to run the executable.
The command

ls -a

will show a list of files in the current directory with their 
"read-write-execute (rwx)" permissions for the owner, group and user in 
consecutive order. If you're logged in as root, you should be able to run any 
program with "x" permission. However, if you're logged in as a user, you need 
to add "x" permission for the user (see chmod)

Having said all that, the most likely problem is that you're trying to run the 
executable in the current directory. To do that you need to preceed the 
executable file name with ./

i.e. type
./project1

(no need to type run or exec). Also don't forget, Linux is case sensitive. You 
must type the filename exactly as it is shown in the listing.

Todd.

On Tue, 29 May 2007 21:46, Jeremy Coulter wrote:
> Hi All.
> I have got Fedora installed in a virtual PC, and have installed Lazarus as
> I am looking at writing a small app. for Linux.
> The app. is a "program" or a console app. in Delphi.
> The app. compiles ok and seems to run, although nothing happens much, but
> if I go to a terminal window and try to run the app, it tells me the file
> doesnt exit.
> i did a dir -l and I cna see my app (its th biggest file) and noticed it
> has no extension...and I think thats right, but I am clearly running the
> file the wrong way.
> I tried exec project1 (which is the name of the wee app) and that didnt
> work, I tried run Project1 but nothing worked.
> As you have prob. worked out, Linux is not my area of expertease :-)
>
> Can somepn point me in th righ direction here?
>
> Thanks, jeremy
>
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.6.4/789 - Release Date: 04/05/2007
> 17:49
_______________________________________________
NZ Borland Developers Group Offtopic mailing list
Post: Offtopic@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/offtopic
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to