StarOffice Help!
I've installed StarOffice 5.2 to /usr/local
When I go to launch star office under my regular account I get the following error: /usr/local/StarOffice52/user/sofficerc StarOffice 5.2 requires this file to be executed correctly. With the aid of the setup program it may be restored. Anyway... I run the repair program and it doesn't work. The thing is though, the file sofficerc is there! When I run StarOffice as root it works fine. I assume there's a problem with permissions, If anyone could help me out I'd really appreciate it, Thanks! Aaron |
Is this a single-user installation, or will more than one person have access?
The reason that I ask is that if it is a single-user install, installing in the user's ~/ directory worked perfectly on my machine; installing there could be a way around the problem. If this is a multi-user install, you may be correct with your guess on permissions, or perhaps a missing/incorrect PATH.... |
You need to do a network install with the -net switch as root to /usr/local, then each user has to do a local install ( <10mb) to their home directory. The full instructions are on about page 30 of the install pdf.
|
Not sure if the idea was pinched from StarOffice, but OpenOffice has a similar problem. I found this to work (with OpenOffice):
Install as root, single user to /usr/local/soffice52 (actually, mine's in /usr/share/OpenOffice638). Make sure it works as root. As root copy the file ~/.sofficerc (or whatever) to the home directory of each user on the system and change the owner to them! Now, on my system, if I try and run OpenOffice as a normal user, it works! |
I tried that and it still didn't seem to work, here's what I did...
Installed StarOffice 5.2 as root to /usr/local/office52 then copied /usr/local/office52/user/sofficerc to /home/Aaron changed the owner of sofficerc to Aaron, and group to Aaron. Did I need to change something else? |
Hmm, not sure. I'm almost certain that the file you ought to be copying into the home directories is a hidden one in the root's home directory. If you go to the command prompt, move to the root's home directory (presumably /root), and type ls -la then you will be given a list of all the files in '/root', including any hidden ones (those beginning with a '.'). If there are any there that look like it may have something to do with StarOffice, then copy that file to the users directories, and make them the owner.
If that doesn't work, try opening the file in a text editor. It may have a line saying something like 'user=root', in which case you should change this line to 'user=Aaron'. I'm affraid I can't remember if this is necessary. I'm not at my Linux box at the moment, and I last (re)installed StarOffice/OpenOffice quite a while ago. Sorry buddy. |
Change owner
I had the same problem, but I just fixed it with one simple command. I don't know if it will work for you, but you could try this:
chown -R user.user ~/office52 where 'user' is current user (you). good luck |
Just today I was faced with the same problem. I chosed the simlest way for single-user installation: installed SO into the user's home directory. It worked and it will probably not cause any side-effects (i.e. no functions will fail later due to missing privileges). Although I admit that it is not the most secure solution...
|
Get rid of your current Staroffice installation. Go to your user directory and be sure to delete the following hidden file:
.sversionrc Then reinstall Staroffice, using the /net option: ./<SO binary> /net That will install the suite for multiple users. Then go to your user directory and type: /usr/local/office52/program/bin/setup That ought to do it. |
All times are GMT -5. The time now is 04:42 AM. |