Building problems in trunk/kdebase

Alexander Neundorf neundorf at kde.org
Fri Dec 1 17:18:52 GMT 2006


On Thursday 30 November 2006 23:08, Andreas Pakulat wrote:
...
> [  0%] Building CXX object
> workspace/kcontrol/input/CMakeFiles/kcm_input.dir/mouse.o /usr/bin/c++  
...
> workspace/kcontrol/input/CMakeFiles/kcm_input.dir/mouse.o -c
> /home/andreas/KDE-work/4.0/kdebase/workspace/kcontrol/input/mouse.cpp In
> file included from
> /home/andreas/KDE-work/4.0/kdebase/workspace/kcontrol/input/mouse.h:49,
> from
> /home/andreas/KDE-work/4.0/kdebase/workspace/kcontrol/input/mouse.cpp:69:
> /home/andreas/KDE-work/4.0/kdebase/workspace/kcontrol/input/logitechmouse.h
>:37:17: error: usb.h: No such file or directory
...
> LIBUSB_INCLUDE_DIR is /usr/include
> LIBUSB_LIBRARY is /usr/lib/libusb.so

If LIBUSB_INCLUDE_DIR is /usr/include/, then this must come from a successful 
FIND_PATH() call. Is this after a "fresh" cmake run ? Or may it be possible 
that there once was a /usr/include/usb.h but it has been removed in the 
meantime ?

...
> There you go, although I'm not quite sure why you need that...
> Building C object
> workspace/kcheckpass/CMakeFiles/kcheckpass.dir/checkpass_pam.o /usr/bin/gcc
>  -Wno-long-long -ansi -Wundef -Wcast-align
...
> -DQT3_SUPPORT -DHAVE_CONFIG_H=1 -U_REENTRANT -o
> workspace/kcheckpass/CMakeFiles/kcheckpass.dir/checkpass_pam.o   -c
> /home/andreas/KDE-work/4.0/kdebase/workspace/kcheckpass/checkpass_pam.c
> /home/andreas/KDE-work/4.0/kdebase/workspace/kcheckpass/checkpass_pam.c:31:
>31: error: security/pam_appl.h: No such file or directory

...
> > There are checks, but it seems the results are not used everywhere.
>
> Same as above, /usr/include and /usr/lib/libpam.so.

Hmm, I don't understand this. There should be a /usr/include/pam/pam_appl.h
Does this still happen ? Does it also happen if you delete the CMakeCache.txt 
and run cmake again ?
If so, can you please insert some debug output (with MESSAGE(STATUS "...") ) 
in kdebase/cmake/modules/FindPAM.cmake to check the values of the various 
variables ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net




More information about the kde-core-devel mailing list