LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can MozillaFirebird run on TWM windows system? (https://www.linuxquestions.org/questions/linux-newbie-8/can-mozillafirebird-run-on-twm-windows-system-133197/)

takaki 01-09-2004 05:31 PM

Can MozillaFirebird run on TWM windows system?
 
I use TWM windows system(not sure this is a correct name) on Fedora Core and I want to use MozillaFirebird. I downloaded the MozillaFirebird file and untar it to /home/tak/MozillaFirebird. And I copied MozillaFirebird to /usr/local/bin. When I type:

$ MozillaFirebird

The following message shows:

Cannot find mozilla runtime directory. Exiting


First of all, can MozillaFirebird run on TWM windows system?
If so, how do I do that?

I think I need to move the entire directory /home/tak/MozillaFirebird to /usr/local or /usr/local/bin but I do not know how to move/copy the directory to another location. Please help.

Sincerely,

tak

ilikejam 01-09-2004 05:44 PM

Hi.

Try linking MozillaFirebird instead of copying.

i.e. ln -s /home/tak/MozillaFirebird/MozillaFirebird /usr/bin/MozillaFirebird

Dave

unimaginative 01-09-2004 05:48 PM

yes
 
the window system is irrelevant, you need the file /pathoffirebird/MozillaFirebird in the directory that it came in
to access the system so that it says you can type MozillaFirebird and launch it, just do these steps

Code:

cp ~/.bashrc ~/.bashrcb
this creates a backup of the file you will be editing
Code:

kwrite ~/.bashrc
this will open an easy to use, beginners editor

go to an empty line, delete any "#" symbols on it

Code:

export PATH=$PATH:/*insertdirectoryoffirebird*
im not going to confuse you by telling you what this does, not yet anyway

save the file

when you are at xterm again, type
Code:

export PATH=$PATH:*whereverthefirebirddirectoryis*
now you can type MozillaFirebird, yay!

let me know if you have any questions

takaki 01-09-2004 10:40 PM

Hi Thank you for your reply.

I tried the ways both of you suggested, but I still get the same error:
Cannot find mozilla runtime directory. Existing.

Scruff 01-09-2004 11:38 PM

Re: Can MozillaFirebird run on TWM windows system?
 
Quote:

Originally posted by takaki
I use TWM windows system(not sure this is a correct name) on Fedora Core and I want to use MozillaFirebird. I downloaded the MozillaFirebird file and untar it to /home/tak/MozillaFirebird. And I copied MozillaFirebird to /usr/local/bin. When I type:

$ MozillaFirebird

The following message shows:

Cannot find mozilla runtime directory. Exiting


First of all, can MozillaFirebird run on TWM windows system?
If so, how do I do that?

I think I need to move the entire directory /home/tak/MozillaFirebird to /usr/local or /usr/local/bin but I do not know how to move/copy the directory to another location. Please help.

Sincerely,

tak

Yes you do need to copy the entire directory if you want Firebird to reside in /usr/local/bin. You can do this with the following command:
$ cp -a ~/MozillaFirebird /usr/local/bin (this assumes the MF folder still contains ALL of the necessary files)

Now the advice given by unimaginative should work. If it doesn't, try using the entire path to test it: $ /usr/local/bin/MozillaFirebird/MozillaFirebird

takaki 01-10-2004 06:16 AM

Scruff,

Thank you very much. It works now!

Sincerely,

tak

Scruff 01-10-2004 07:36 AM

Cool :)

unimaginative 01-10-2004 03:34 PM

Re: Re: Can MozillaFirebird run on TWM windows system?
 
Quote:

Originally posted by Scruff
Yes you do need to copy the entire directory if you want Firebird to reside in /usr/local/bin. You can do this with the following command:
$ cp -a ~/MozillaFirebird /usr/local/bin (this assumes the MF folder still contains ALL of the necessary files)

Now the advice given by unimaginative should work. If it doesn't, try using the entire path to test it: $ /usr/local/bin/MozillaFirebird/MozillaFirebird

lol, that's the easy way!
i can't believe i didn't think about that

let me tell you what the problem is so you can avoid it on in the future,
some programs you don't have to compile, they are an executionable file when in that directory,

your /usr/local/bin is in something called your path, you cannot type a name of a program if it is not in your path

press
Code:

echo $PATH
to see what directories are in your path, since /usr/local/bin is in your path, you can execute all programs from their, what my instructions did was to put the path of your installation into your PATH, for example my path is /opt/fire/MozillaFirebird, so i put in
Code:

export PATH=$PATH:/opt/fire
to add that directory to the path

for know, you might find it easiest to use ilikejam's approach, as it is the most simple, but it is just as effective
note that when you actually start to compile programs, most will do what Scruff said automatically


All times are GMT -5. The time now is 06:49 AM.