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

List:       koffice
Subject:    KDEDIRS, etc & kbuildsycoca
From:       Marc Heyvaert <marc.heyvaert () minfin ! fed ! be>
Date:       2003-10-31 7:39:12
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I'm still fumbling around with my self-compiled version of the koffice
beta4...

I managed to compile koffice successfuly with the prefix /usr/local wheras
kde resides in /opt/kde3 (suse 8.2 distro)

When I start my PC and log in as a user (/home/march) I could not start the
program because it did not appear in the menu and starting it from
/usr/local/bin brought up the application (e.g. kspread) without the
templates and without the full menu.

That was linked to some of my environment variables not being set. I solved
this one by

export KDEDIR=/opt/kde3
export KDEDIRS=/usr/local:/opt/kde3
kbuildsycoca

(I didn't set $KDEHOME, because echo reveiled it is already pointing to
/home/march/.kde3)

And it worked (well also crashed sometimes but I guess this is due to it
being the beta?).

Next I tried to set these changes permanently, first by changing the bashrc
file (I'm not 100% sure, I cannot check because I am at work now on a Win
2000 PC :-(  ) or something of that sort, later by adapting
/etc/profile.local. On every occasion, after reboot, the variables were set
(checked with echo $KDE...etc ) but in order to make things work I had to
run kbuildsycoca too.

Now my question is why? In the documents about the KDE directory tree and
the "running 2 versions of KDE" I saw nothing about this. Could somebody
help pls?

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.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>I'm still fumbling 
around with my self-compiled version of the koffice beta4...</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>I managed to compile 
koffice successfuly with the prefix /usr/local wheras kde resides in /opt/kde3 
(suse 8.2 distro)</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>When I start my PC and 
log in as a user (/home/march) I could not start the program because it did not 
appear in the menu and starting it from /usr/local/bin brought up the 
application (e.g. kspread) without the templates and without the full 
menu.</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>That was linked to some 
of my environment variables not being set. I solved this one 
by</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>export 
KDEDIR=/opt/kde3</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>export 
KDEDIRS=/usr/local:/opt/kde3</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond>kbuildsycoca</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>(I didn't set $KDEHOME, 
because echo reveiled it is already pointing to 
/home/march/.kde3)</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>And it worked (well also 
crashed sometimes but I guess this is due to it being the 
beta?).</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>Next I tried to set 
these changes permanently, first by changing the bashrc file (I'm not 100% sure, 
I cannot check because I am at work now on a Win 2000 PC :-(&nbsp; ) or 
something of that sort, later by adapting /etc/profile.local. On every occasion, 
after reboot, the variables were set (checked with echo $KDE...etc ) but in 
order to make things work I had to run kbuildsycoca too.</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT face=Garamond>Now my question is why? 
In the documents about the KDE directory tree and the "running 2 versions of 
KDE" I saw nothing about this. Could somebody help pls?</FONT></SPAN></DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203551707-31102003><FONT 
face=Garamond>Marc</FONT></SPAN></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