On Sat, 29 Oct 2005 03:32:17 +0000, Conor O'Tuama wrote:

> I am trying to install OpenOffice 2.0 on Slackware 10.1 and I have done
> as follows (in the RPMS directory):
> 
>               rmp2tgz *.rpm
>               installpkg *.tgz
> 
> but I get the error, when running 'openoffice.org-2.0' :
> 
> usr/bin/openoffice.org-2.0: line 2:
> /etc/openoffice.org-2.0/program/soffice: No such file or directory
> /usr/bin/openoffice.org-2.0: line 2: exec:
> /etc/openoffice.org-2.0/program/soffice: cannot execute: No such file or
> directory

In my Fedora Core 4 system (using FC4's OOo RPMs) /etc/openoffice.org-2.0
is a symbolic link to the OOo installation directory (that directory
contains program/). I guess that that link isn't being created by
installpkg, because the script that does it isn't converted by rpm2tgz.

If you run something like this as root, it will probably fix your problem.

  ln -s /usr/lib/openoffice.org2.0 openoffice.org-2.0

Interestingly, /usr/bin/openoffice.org-2.0 in my system is

====
#!/bin/sh
exec /usr/lib/openoffice.org2.0/program/soffice "$@"
====

with no reference to /etc/openoffice.org-2.0 at all, but that may be
because of some tweaks done by the FC4 packagers.  The link in /etc/
appears to be due to the copy of OOo 2.0.0 I previously installed using
OOo's RPMs.

Copy emailed to original poster.

-- 
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to