[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling MICO (Koffice).
On Sun, 4 Oct 1998, Erez Boym wrote:
> Well ............
> As far as I understood from the KDE and KOffice installation manual I
> have all the environment lines in my ~/.profile file.
a few wild shots in the dark:
A. did you check that it actually works (i.e. in the shell from which you
try to run any koffice application, type: echo $KDEDIR - does it show the
right output?).
B. when you installed KDE, did you tell it to be installed in /opt? or you
installed it using a different path?
C. try to trace klyx (or kpaint, or k-whatever) using 'strace':
strace klyx > ~/log.trace 2>&1
then search the file for calls to 'open', and see which files it tries
to open. one of them will probably be the lost icons directory.
it might hint of yet another missing environment variable, or
something.
D. errr. check with a debugger, provided you compiled it all with '-g'
(i think this is how it's done by default, not sure), and know how
to read C/C++ code. thus it's better to first find where in the code it
reads these icons, or else you could spend hours on single-stepping
all over...
E. pray a little.... it might help.
and btw:
> #Sets PATHes
> PATH="$PATH:/usr/local/fm/"
> PATH="$PATH:/usr/local/bin"
> PATH="$PATH:/opt/kde/bin/"
> PATH="$PATH:/opt/kde/lib/"
why do you put the lib directory in your PATH? note related, just
wondering.
> #Sets Environment for QT
> . /usr/local/bin/kdeenv
perhaps also tell us what's in this 'kdeenv' file?
does it also contain the zillions of QT environment variables?
guy