On Monday 10 September 2007, Marco Mangiante wrote: > Hello, > > after compiled successfully qtcopy, kdesupport and kdelibs (I hope so), I > tried to compile the kdepimlibs module, but when I do the command cmake kde > I receive the error: > > CMake Error: ERROR: Could not find KDE4 kde4-config > > I see if I have the file, and it is in the directory > /home/kde-devel/kde/build/KDE/kdelibs/bin, so it is present. > > Can someone help me to understand why I obtain this error? kdepimlibs build assumes that you have done "make install" in kdelibs and that prefix/bin is in your path. prefix in this case is the directory you passed to cmake's -DCMAKE_INSTALL_PREFIX parameter For example if you did this when building the earlier modules (always use the same prefix for all modules) cmake -DCMAKE_INSTALL_PREFIX=/home/kde-devel/install you should the do something like this export PATH=/home/kde-devel/install/bin:$PATH I attach the shell enviroment helper I am using Before doing KDE trunk (development branch) related things I always source this in the current shell % source kdetrunkenv As you can see the two paths at the beginning need to be set correctly, everyhting else is relative to them Cheers, Kevin -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring
QTDIR=/dvl/kde/trunk/install KDEDIR=/dvl/kde/trunk/install KDEDIRS=$KDEDIR PATH=$KDEDIR/bin:$QTDIR/bin:$PATH LD_LIBRARY_PATH=$KDEDIR/lib:$LD_LIBRARY_PATH PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDEDIR/lib/pkgconfig export QTDIR KDEDIRS PATH LD_LIBRARY_PATH PKG_CONFIG_PATH XDG_DATA_DIRS=$KDEDIR/share:/usr/local/share:/usr/share export XDG_DATA_DIRS
Attachment:
signature.asc
Description: This is a digitally signed message part.
___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.