Running an application

Siraj Shaikh siraj.shaikh at gmail.com
Thu Mar 6 12:22:09 UTC 2008


On 05/03/2008, Nils Kassube <kassube at gmx.net> wrote:
>
> Siraj Shaikh wrote:
> > so I have done
> >
> > export FDRHOME=/home/user1/fdr-2.83-linux-academic
> >
> > and the command is taken fine by the system. After that, in the
> > "fdr-2.83-linux-academic" folder, there is a bin folder, in which
> > there is a file "fdr2" which is a "Link to shell script" which is what
> > I am supposed to click on to run the program. But when I do nothing
> > happens.
>
>
> No, it is not meant to be clicked but it is meant to be run from the
> shell. The problem is that the environment variable is not set when you
> click the file. I suggest you put the line
>
>
> export FDRHOME=/home/user1/fdr-2.83-linux-academic
>
>
> in the second line of the script. Then the beginning of the script would
> look like this:
>
> #!/bin/sh
>
> export FDRHOME=/home/user1/fdr-2.83-linux-academic
>
>
> I think you should change the other scripts in the same way, because they
> all expect the environment variable FDRHOME to be set.
>
>
> Thanks. This has worked. I changed the script file itself to add the
export line in there and it has worked. I simply double clicked on the
script and it worked fine after that.

Siraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080306/12d2012a/attachment.html>


More information about the ubuntu-users mailing list