Sametime Installation error with MOZILLA_FIVE_HOME
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# export $MOZILLA_FIVE_HOME
bash: export: `/usr/lib/firefox': not a valid identifier
MOZILLA_FIVE_HOME is the name of the environment variable. $MOZILLA_FIVE_HOME will be replaced with the contents of MOZILLA_FIVE_HOME. Don't use a $ when using export:
Code:
export MOZILLA_FIVE_HOME
The environment variable will only effect programs running from within the shell with the variable set. Setting that variable in one shell, and running Sametime (whatever that is) from a different shell or from some menu is equivalent to having not set the variable at all.
I realized that myself and exported using export MOZILLA_FIVE_HOME with the same output..
I'm assuming you mean the "Access to valid Mozilla browser required" error.
Quote:
Sametime uses Eclipse is there something I have to set within eclipse?
Maybe. Check the documentation.
Is Sametime run by Eclipse itself? You could try running eclipse (from a shell) in an environment with MOZILLA_FIVE_HOME set.
Code:
$ MOZILLA_FIVE_HOME=/usr/lib/firefox eclipse
By the way, I just noticed that the commands that you've posted are all on prompts ending with a # as opposed to a $. While a $ signifies a normal user, the # usually signifies running the command as root... you're not running eclipse as root are you?
No, most the work was done from $ and just tried with # once to see if it was the same with both users.
running: MOZILLA_FIVE_HOME=/usr/lib/firefox ./eclipse still gives me the same output as before although it blinks once before giving the error (strange).
CLFRB2002I: Located default properties /opt/IBM/sametime/sametime.properties
[08/29/2006 15:58:16] [com.ibm.collaboration.realtime.application.RTCApplication.checkBrowserWidget] ::SEVERE:: Access to valid Mozilla browser required. Please set MOZILLA_FIVE_HOME environment variable to point to GTK2+xft Mozilla browser and restart Sametime
Why did I point MOZILLA_FIVE_HOME to that directory?
Within the sametime folder there was a script named locate-mozgtk2xfg.sh within there, I saw it was looking for libgtkembedmoz[.]so
So I just did a locate libgtkembedmoz and found where it was and tada.. I should however probably keep my MOZILLA_FIVE_HOME set to /usr/lib/firefox and create a ln in there to the libgtkembedmoz.so listed above.
On my system, that library is in /usr/lib/mozilla-1.7.13/libgtkembedmoz.so ... so it seems that asking for the location of mozilla itself will only work on certain installations... they should be more specific.
If you have contact information, I'd suggest informing them of this problem and the simple fix.
The icon (which points to /usr/bin/sametime) still reports the error in post #1, If I go /usr/bin/./sametime (it runs fine) if I go /usr/bin/sametime (it runs fine), if I go /opt/IBM/sametime/./sametime (it runs fine) if I click on the shortcut icon.. no go (properties says /usr/bin/sametime)
Also, the MOZILLA_FIVE_HOME resets itself once I log off of the Terminal so it would have to be reset every single time I reboot or what not (how can I set that on logon) Also, i ln -s'ed the file from /usr/lib/firefox to the libgtkembedmoz.so file in xul... and it would not accept the symbolic link (when searching for the GTK..)
I guess this is really going to have to be a question for IBM Developers and not really myself eh..
Thanks for your help.. any insight on the last 2 findings?
The icon (which points to /usr/bin/sametime) still reports the error in post #1, If I go /usr/bin/./sametime (it runs fine) if I go /usr/bin/sametime (it runs fine), if I go /opt/IBM/sametime/./sametime (it runs fine) if I click on the shortcut icon.. no go (properties says /usr/bin/sametime)
Also, the MOZILLA_FIVE_HOME resets itself once I log off of the Terminal so it would have to be reset every single time I reboot or what not (how can I set that on logon) Also, i ln -s'ed the file from /usr/lib/firefox to the libgtkembedmoz.so file in xul... and it would not accept the symbolic link (when searching for the GTK..)
These probably describe the same problem. Clicking the icon will run sametime in an environment without that variable set. All environment variables are only available to a single shell (environment) and child processes of that shell.
If you want environment variables to be persistant from one boot to the next, edit your /etc/profile or ~/.profile and add
Code:
export MOZILLA_FIVE_HOME=/whatever/path/works
The /etc/profile file is executed by all shells when any user logs in (this is the "system-wide" profile). The ~/.profile file is executed by all shells when that specific user logs in.
Quote:
Is this the same as other distro's? How about Ubuntu?
I don't know about Ubuntu. I can tell you it's different in Slackware, though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.