Hi guys, I' m new to this mailing list and to the KDE community. I' m a newby in KDE development but I have a not so bad knowledge of Linux. I don't know if this is the right place to post these kind of requests and if it is not the case I'd ask you to point me where can I post it. I was trying to build kde following instructions at
https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source#Run_kdesrc-build I executed exactly all steps reported there and installed all required packages from official distro repository except for cmake 2.8.12 that I found at https://kojipkgs.fedoraproject.org/packages/cmake/2.8.12/3.fc21/x86_64/cmake-2.8.12-3.fc21.x86_64.rpm and installed with yum localinstall. My host is a CentOS 7 x64 VMware virtual machine. First few modules are built correctly without any problem using kdesrc-build but build process stops on kcoreaddons with the following error: Building CXX object src/lib/CMakeFiles/KF5CoreAddons.dir/KF5CoreAddons_automoc.cpp.o Linking CXX shared library libKF5CoreAddons.so /usr/bin/ld: cannot find -lThreads::Threads collect2: error: ld returned 1 exit status gmake[2]: *** [src/lib/libKF5CoreAddons.so.5.21.0] Errore 1 gmake[1]: *** [src/lib/CMakeFiles/KF5CoreAddons.dir/all] Errore 2 gmake: *** [all] Errore 2 while the following is the cmake log I find # kdesrc-build running: 'cmake' '/home/lfranco/devel/kde/src/frameworks/kcoreaddons' '-DCMAKE_BUILD_TYPE:STRING=debug' '-DKDE4_BUILD_TESTS=true' '-DBUILD_TESTING=TRUE' '-DCMAKE_BUILD_TYPE:STRING=debug' '-DCMAKE_CXX_FLAGS:STRING=-std=c++11 -pipe -DQT_STRICT_ITERATORS -DQURL_NO_CAST_FROM_STRING -DQT_NO_HTTP -DQT_NO_FTP -Wformat -Werror=format-security -Werror=return-type -Wno-variadic-macros -Wlogical-op -Wmissing-include-dirs ' '-DCMAKE_INSTALL_PREFIX=/home/lfranco/devel/kde/usr' # from directory: /home/lfranco/devel/kde/build/frameworks/kcoreaddons -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Could NOT find FAM (missing: FAM_INCLUDE_DIR FAM_LIBRARIES) -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found -- Looking for include files sys/types.h, sys/mman.h -- Looking for include files sys/types.h, sys/mman.h - found -- Looking for getgrouplist -- Looking for getgrouplist - found -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Found SharedMimeInfo: /usr/bin/update-mime-database (found suitable version "1.1", minimum required is "0.70") -- Performing Test HAVE_QFILESYSTEMWATCHER -- Performing Test HAVE_QFILESYSTEMWATCHER - Success -- -- The following OPTIONAL packages have been found: * Threads * SharedMimeInfo (required version >= 0.70) , A database of common MIME types , <http://freedesktop.org/wiki/Software/shared-mime-info/> Allows KDE applications to determine file types -- The following REQUIRED packages have been found: * ECM (required version >= 5.20.0) , Extra CMake Modules. , <https://projects.kde.org/projects/kdesupport/extra-cmake-modules> * Qt5Core * Qt5 (required version >= 5.3.0) -- The following OPTIONAL packages have not been found: * FAM , File alteration notification support via a separate service , <http://oss.sgi.com/projects/fam> Provides file alteration notification facilities using a separate service. FAM provides additional support for NFS. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: KDE4_BUILD_TESTS -- Build files have been written to: /home/lfranco/devel/kde/build/frameworks/kcoreaddons Before starting kdesrc-build execution I setted up the environmet variable as requested in one of the notes in the tutorial as follow: export CMAKE_PREFIX_PATH=/usr/lib64/cmake/Qt5 Any idea of what could be the problem and how to fix it? Can someone point me to some documentation that could help to solve the problem? Any help will be greatly appreciated. Best regards, raffaele.