PDA

View Full Version : problem with making SeaMonkey multi-user


ryancw
06-13-2006, 07:22 PM
As a regular user (named test1) I downloaded the tar.gz version of SeaMonkey102. I followed the instructions from the "system requirements" SeaMonkey web page for "Manual installation with the tar.gz Archive." I installed it in test1's home directory. The browser seemed to work well, so I want to make it available to all users.

I found the "Multi-User Linux Installations" instructions on the same web page and tried to follow them. I thought that ~/test1 would be an odd place for an application, so I logged in as root and copied the tar.gz to /opt/seamonkey102. Then I followed the instructions to untar it to /opt/seamonkey102/seamonkey.

Then, still root, I created the scipt as recommended:

#!/bin/sh
dist_bin=`dirname $0`
MOZILLA_FIVE_HOME=$dist_bin
LD_LIBRARY_PATH=$dist_bin
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
$dist_bin/regxpcom
$dist_bin/regchrome
touch $dist_bin/chrome/user-skins.rdf $dist_bin/chrome/user-locales.rdf

I saved the above script as /opt/seamonkey102/seamonkey/MultiUserInstallScript. Then I made it executable with chmod u+x.

Then I ran the script, but got this error message:

[root@ryanlibranet:/opt/seamonkey102/seamonkey]# ./MultiUserInstallScript
$0
$0
touch: cannot touch `$0/chrome/user-skins.rdf': No such file or directory
touch: cannot touch `$0/chrome/user-locales.rdf': No such file or directory
[root@ryanlibranet:/opt/seamonkey102/seamonkey]#

Any advice? I don't know a thing about programming in the Bourne shell, but it looks to my untrained eye that the script wants the variable dist_bin to be the name of the directory in which the script sits (in my case, /opt/seamonkey102/seamonkey, but someone's not getting the message, and is thinking that the dist_bin is called $0.

kmoffat
06-15-2006, 03:16 PM
GUESS:
could be a problem with the type of quotes used in:

dist_bin=`dirname $0`

make sure they exactly match the type in the example. They may be the ones in the upper left of the keyboard on the ~ key.

ryancw
06-16-2006, 12:03 AM
Brilliant! It worked perfectly. I'm on SeaMonkey right now and loving it. Thank you so much.

kmoffat
06-16-2006, 01:15 AM
Lucky guess. Glad it worked!

mikekgr
06-19-2006, 10:01 AM
Do anybody know any .deb package for SeaMonkey (Official and/or Unofficil) ???

I hate to install packages not in deb ...

ryancw
06-19-2006, 10:33 AM
Do anybody know any .deb package for SeaMonkey (Official and/or Unofficil) ???

I hate to install packages not in deb ...

I know what you mean. But I could not find a .deb anywhere. If it's any reassurance, I downloaded the non-installer tar.gz version and followed the steps outlined on the SeaMonkey "system requirements" page, and described in more detail earlier in this thread. I put it in /opt. I ran the multi-user script (watch those quotation marks!). It has worked great. It does not seem to have messed up any other applications. SeaMonkey automatically accessed my existing mozilla suite profile in /home/ryancwrf. (There have been some comments about potential problems if SeaMonkey and an older Mozilla suite take turns accessing the same profile, so switching to SeaMonkey may best be thought of as an irreversible decision. But I don't think you'll regret it.)

mikekgr
06-19-2006, 05:27 PM
Dear ryancw,
many thanks for the info. I preffer to wait for the deb package in order to install to my test box.

benjaminq
06-20-2006, 04:39 AM
There is a rpm for Fedora. If it is LSB enough you can transform it int a .deb with alien.

I used alien to generate OOorg .debs before they were offering those themselves, it worked perfectly. For other RPMs your mileage may vary.

BEnjamin