[Gambas-user] Executable
ron
ronstk at ...239...
Mon Sep 6 09:22:43 CEST 2004
On Monday 06 September 2004 08:39, Chas.Bigham wrote:
> BUDI ARIEF GUSANDI wrote:
>
> > Hi...
> >
> > 1. I try to make executable from executable menu in IDE. I choose
> > desktop directory as destination of the exec. file. But when i go to
> > the desktop, the file doesn't exist...Why ?
> > 2. If i make exec. file to the same dir, that works, but when i call
> > the file from shell. It shows Command Not Found..any can help ?
> >
> > Thanks
> >
> > Budi
> >
> >
> when you call the exec file frm the console(command shell) you will need
> to use a ./ in front of your exec file name(ex: ./MyGambasExecFile or
> /path/to/exec/file/./MyExecFileName)...alternatively, you may also copy
> your executable to /bin or /usr/bin and then you can exec it from the
> console as normal(ex: MyExecFileName).....i'm not exactly sure why
> gambas won't create the executable on your desktop tho...sorry i can't
> help you there.....
>
Little corection
for /path/to/exec/file/./MyExecFileName it hould be
/path/to/exec/file/MyExecFileName without ./ in front of you exe.
./ is only need if you want to run and the current directory is the one
your exe is in.
A copy is no need but a symlink and after every update of your program
works.
Second at my box a symlink in the /home/ron/bin works too.
For me another strange thing is in konqueror, clicking on the exe does not
work, in Midnight commander pressing enter does.
For some reason konqueror does not the exe the way it should do.
More information about the User
mailing list