[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: KDEDIRS, etc & kbuildsycoca
From:       "SCTaiji" <taiji () pandora ! be>
Date:       2003-10-31 21:41:42
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello David,

Just wanted to give you an update...

I think I solved my problem, 

> It sounds like KDEDIRS isn't set (or not correctly) when your KDE starts.
> So it rebuilds ksycoca without the koffice prefix in it.
> You have to make sure KDEDIRS is set correctly - the safest way is
> to set it at the top of /opt/kde3/bin/startkde.

> The instructions on koffice.org also explain how you can add that prefix
> to /etc/kderc, which is even better since it means you don't have to edit
> startkde (which the next KDE upgrade will replace).

I added my prefix to /etc/kderc, but that didn't help, only after running \
kbuildsycoca things worked again.

Then I had a look around in my /usr/local/bin dir and I found a startkde and a \
startkde.lib file. The startkde.lib file let you set some parameters, so I put my \
kdedir and kdedirs definitions in there. After restarting the situation was still the \
same. (Long start cycle indicating a rebuild of the sycoca data).

I looked at startkde next. I have a suse 8.2 distribution and there is a lot of \
hardcoding in this file! I also saw the following lines :

unset KDEDIR
unset KDEDIRS
unset QTDIR

I transformed those into comments, and that does the trick. I can start all of the \
koffice applications now.

> > I'm still fumbling around with my self-compiled version of the koffice
> > beta4...
> ... when RC 1 is out already :)

I guess I can repeat the whole process now with the RC 1 version :)

Regards

Marc


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello David,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Just wanted to give you an update...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I think I solved my problem, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&gt;It sounds like KDEDIRS isn't set (or not correctly) when your KDE 
starts.<BR>&gt;So it rebuilds ksycoca without the koffice prefix in 
it.<BR>&gt;You have to make sure KDEDIRS is set correctly - the safest way 
is<BR>&gt;to set it at the top of /opt/kde3/bin/startkde.<BR><BR>&gt;The 
instructions on koffice.org also explain how you can add that prefix<BR>&gt;to 
/etc/kderc, which is even better since it means you don't have to 
edit<BR>&gt;startkde (which the next KDE upgrade will replace).</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I added my prefix to /etc/kderc, but that didn't 
help, only after running kbuildsycoca things worked again.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Then I had a look around in my /usr/local/bin dir 
and I found a startkde and a startkde.lib file. The startkde.lib file let you 
set some parameters, so I put my kdedir and kdedirs definitions in there. After 
restarting the situation was still the same. (Long start cycle indicating a 
rebuild of the sycoca data).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I looked at startkde next. I have a suse 8.2 
distribution and there is a lot of hardcoding in this file! I also saw the 
following lines :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>unset KDEDIR</FONT></DIV>
<DIV><FONT face=Arial size=2>unset KDEDIRS</FONT></DIV>
<DIV><FONT face=Arial size=2>unset QTDIR</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I transformed those into comments, and that does 
the trick. I can start all of the koffice applications now.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&gt;&gt; I'm still fumbling around with my self-compiled version of the 
koffice<BR>&gt;&gt; beta4...<BR>&gt;... when RC 1 is out already :)<BR></DIV>
<DIV><FONT face=Arial size=2>I guess I can repeat the whole process now with the 
RC 1 version :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Marc</FONT></DIV>
<DIV><BR><BR></DIV></BODY></HTML>


____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic