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

List:       kde-devel
Subject:    Re: Latest snapshot
From:       Stephan Kulow <coolo () itm ! mu-luebeck ! de>
Date:       1997-12-30 12:59:05
[Download RAW message or body]

Russ Steffen wrote:
> 
> Some problems with the lastest snapshot:
> 
> kdebase:
>         kcontrol/bell/bell.cpp, line 92 missing parens
fixed in my sources. Forgot to commit. Sorry

>         kfm/Makefile, variable kde_confdir set to nothing
>         kfm/Makefile, variable kde_mimedir set to nothing
>         kdehelp/search/Makefile, kde_cgidir set to nothing
>         kdehelp/index/Makefile, kde_cgidir set to nothing
>         kfind/Makefile, kde_icondir not set
>         kpanel/pics/Makefile, kde_minidir not set
Well, I think, it's time, I tell you, what I have done, when I came
home from my holiday trip ;)
kdelibs contains the defaults for this paths and they are compiled
into libkdecore. When you configure kdebase, configure will create
a little KDE application determines the paths this way. This little
problem looks like this:

#include <kapp.h>
#include <stdio.h>
int main(int argc, char **argv) {
KApplication a(argc, argv);
printf("kde_htmldir=\"%s\"\n", a.kde_htmldir().data());
printf("kde_appsdir=\"%s\"\n", a.kde_appsdir().data());
printf("kde_icondir=\"%s\"\n", a.kde_icondir().data());
printf("kde_minidir=\"%s\"\n", a.kde_minidir().data());
printf("kde_datadir=\"%s\"\n", a.kde_datadir().data());
printf("kde_locale=\"%s\"\n", a.kde_localedir().data());
printf("kde_cgidir=\"%s\"\n", a.kde_cgidir().data());
printf("kde_confdir=\"%s\"\n", a.kde_configdir().data());
printf("kde_mimedir=\"%s\"\n", a.kde_mimedir().data());
printf("kde_toolbardir=\"%s\"\n", a.kde_toolbardir().data());
printf("kde_wallpaperdir=\"%s\"\n", a.kde_wallpaperdir().data());
printf("kde_bindir=\"%s\"\n", a.kde_bindir().data());         
printf("kde_partsdir=\"%s\"\n", a.kde_partsdir().data());
} 

While I write this, I find a dangerous bug to instance a 
KApplication, but anyway... (I have now a conftestrc in my .kde ;)

The output of this program is used to define the values in your
Makefiles. So, if you claim, kde_confdir is empty, the value
of KApplication::kde_configdir() was empty. This refers to 
KDE_CONFIGDIR to be defined in kdelibs/config.h by the kdelibs
configure.

Taken away bugs in the configure scripts, I would say, that
several problems could accour (and I already thought about
several, when I wrote this macros). The most probable is, that
you don't have a DISPLAY connection, when you configure kdebase.
This one can be avoided in not instancing KApplication. In fact,
I don't know, why I did it this way ;(


> 
>         Those where the problems that stoped make, after fixing these
>         and re-running "make install", a bunch of stuff ended up in /
>         instead of $KDEDIR. What a mess.
> 
> kdemultimedia:
>         kmid/Makefile, line 71, should read ./install.sh, for those of
>         us who don't put "." in the path.
> 
kmid's installation is very different from all other applications
and I hope, that Antonio will bring out a new version very soon,
that fixes this. But til then, I will add the dot ;)

Greets, Stephan

-- 
Everyone makes mistakes -- but we are more experienced at it
                                      anonymous KDE developer

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

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