Re: Koffice 1.3 installs but won't launch -- Data

2004-03-13 Thread Ben Burton

Hi.

> {Using Xandros/Debian and KDE 3.1.4]
> 
> I am at my wits' end. I've tried everything and nothing works.

Since you're compiling your own koffice from source and installing it in
a separate prefix, you're possibly best asking on the koffice lists
(e.g., [EMAIL PROTECTED]).

I personally don't know about how to avoid the perils of installing KDE apps
in multiple prefixes (the debian packages all use the same --prefix=/usr).

Ben.




Koffice 1.3 installs but won't launch -- Data

2004-03-13 Thread Benjamin Sher
Dear friends:

{Using Xandros/Debian and KDE 3.1.4]

I am at my wits' end. I've tried everything and nothing works.

Here is the relevant passage from the Koffice Source Installation Guide:

(http://www.koffice.org/download/source.php)

BEGIN

Choosing a prefix, i.e. where to install KOffice: you have two choices.
 Either you just compiled KDE (in particular kdelibs) into its own prefix,
 then you should use the same prefix for koffice, or you want to install
 KOffice into its own prefix. If you do that, you'll have to make sure to
 tell KDE about where you installed KOffice. See the note below. You'll also
 have to make sure you don't have another version of KOffice installed in the
 KDE prefix ; they would conflict. It's ok to have two versions of KOffice
 installed, but then none should be in the "kde prefix". The other solution
 is to have two versions of KDE installed, with a version of KOffice in each
 one.

Note: if you used ./configure --prefix to install KOffice in a different
location than the rest of KDE, you'll need to add this to /etc/kderc :

[Directories]
prefixes=/the/prefix/I/used/for/koffice

Another solution is to export KDEDIRS=/the/prefix/I/used/for/koffice:/the/
normal/kdedir

Once you told KDE about where KOffice is, you need to run kbuildsycoca, which
updates the system configuration cache in KDE, or to restart KDE.

You should now be able to start each individual application, such as kspread,
kchart, kpresenter, karbon, kexi, kformula, kword, kivio and kugar, or run
the integrated koshell for easy access to all of the applications.

END

I definitely do NOT want to install Koffice in the same location where KDE
 is. I want it in /usr/local/kde in order to avoid any conflicts. This is
 also where I installed the kdeutils, and they all work flawlessly. No error
 messages whatsoever. Compare:

[EMAIL PROTECTED]:~$ /usr/local/kde/bin/kcharselect

with

[EMAIL PROTECTED]:~$ /usr/local/kde/bin/kword
koffice (lib kofficecore): ERROR: Couldn't find the native MimeType in
 kword's desktop file. Check your installation !
[EMAIL PROTECTED]:~$

Yet, both koffice and kdeutils are located in the same directory and were
installed the exact same way with ./configure:

[EMAIL PROTECTED]:/usr/local/kde/bin$ ls -la
total 1942
drwxr-xr-x2 root root  784 2004-03-13 19:04 .
drwxr-xr-x7 root root  168 2004-03-11 05:59 ..
-rwxr-xr-x1 root root13866 2004-03-11 05:43 ark
-rwxr-xr-x1 root root 5971 2004-03-13 17:39 karbon
-rwxr-xr-x1 root root 5508 2004-03-11 05:44 kcalc
-rwxr-xr-x1 root root68489 2004-03-11 05:44 kcharselect
-rwxr-xr-x1 root root 5795 2004-03-13 17:46 kchart
-rwxr-xr-x1 root root56773 2004-03-11 05:44 kdepasswd
-rwxr-xr-x1 root root50267 2004-03-11 05:44 kdessh
-rwxr-xr-x1 root root   237892 2004-03-11 05:46 kdf
-rwxr-xr-x1 root root 5660 2004-03-11 05:47 kedit
-rwxr-xr-x1 root root77961 2004-03-11 05:47 kfloppy
-rwxr-xr-x1 root root 5811 2004-03-13 17:48 kformula
-rwxr-xr-x1 root root   788231 2004-03-11 05:50 khexedit
-rwxr-xr-x1 root root 5796 2004-03-13 17:54 kivio
-rwxr-xr-x1 root root   181563 2004-03-11 05:51 kjots
-rwxr-xr-x1 root root 5908 2004-03-11 05:52 klaptopdaemon
-rwxr-xr-x1 root root23182 2004-03-13 18:32 koconverter
-rwxr-xr-x1 root root14707 2004-03-13 17:24 koscript
-rwxr-xr-x1 root root 5867 2004-03-13 17:56 koshell
-rwxr-xr-x1 root root 5080 2001-08-04 12:02 kprconverter.pl
-rwxr-xr-x1 root root 5811 2004-03-13 18:05 kpresenter
-rwxr-xr-x1 root root 5612 2004-03-11 05:58 ksim
-rwxr-xr-x1 root root 5795 2004-03-13 18:15 kspread
-rwxr-xr-x1 root root11939 2004-03-13 18:33 kthesaurus
-rwxr-xr-x1 root root81594 2004-03-11 05:58 ktimer
-rwxr-xr-x1 root root 5811 2004-03-13 18:21 kudesigner
-rwxr-xr-x1 root root 5795 2004-03-13 18:18 kugar
-rwxr-xr-x1 root root   233283 2004-03-11 05:46 kwikdisk
-rwxr-xr-x1 root root 5795 2004-03-13 18:30 kword
[EMAIL PROTECTED]:/usr/local/kde/bin$

[EMAIL PROTECTED]:~/L-Files/Downloads/Tars/koffice-1.3$ ls
acinclude.m4   configure.files   INSTALL kugar   README
aclocal.m4 configure.in  install-sh  kword   servicetypes
admin  configure.in.bot  interfaces  lib stamp-h1
AUTHORSconfigure.in.in   karbon  libtool stamp-h.in
autocorrectCOPYING   kchart  Makefilesubdirs
config.h   COPYING.LIB   kformulaMakefile.am templates
config.h.inCVS   kivio   Makefile.am.in  tools
config.h.in~   debiankoshell Makefile.in
config.log doc   kounavail