Firstly i have compiled and installed kdelibs.
Then i tried to compile kdebase package. But ./configure script stops on error saying that the important program kde-config is not found.

This is not caused by wrong setting for any environment variables because kde-config does not really exists in /usr/bin (prefix for kdelibs is set to /usr).
Unfortunately i'me now on another machine and have not access to the linux box, this is why i do not post here any logs
Will be very thankful for any good ideas
