[SOLVED] slackbuild for smb4k-1.0.7 fails with a cmake error.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
slackbuild for smb4k-1.0.7 fails with a cmake error.
Running the slackbuild produces these errors:
Code:
CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:350 (cmake_minimum_required):
CMake 2.8.9 or higher is required. You are running version 2.8.8
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:12 (find_package)
upgraded package normally came into -Current, not in -Stable, unless there's a security issues or it's considered SO important to have it backported in -Stable.
'slackpkg clean-system' as normal maintenance. There was a new curl package updated with this process. So far, all is well.
I then ran sbopkg to look for updates to other packages. I have smb4k installed. There is an update to if, that is what won't compile, due to the cmake error. BTW, the same situation is present on the 32 bit version.
CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:350 (cmake_minimum_required):
CMake 2.8.9 or higher is required. You are running version 2.8.8
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:12 (find_package)
I just built smb4k-1.07 on a 14.0 64bit system without any problems, cmake version is 2.8.8, same as yours. I also checked the smb4k CMakeLists.txt file for the required version of cmake:
Code:
cmake_minimum_required( VERSION 2.6 )
The /usr/share/apps/cmake/modules/FindKDE4Internal.cmake file requires version 2.6.4:
Code:
cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)
Do the files in your system have the same lines? I'm wondering if there's something different in your FindKDE4Internal.cmake...
# this is required now by cmake 2.6 and so must not be skipped by if(KDE4_FOUND) below
cmake_minimum_required(VERSION 2.8.9 FATAL_ERROR)
I think I know what has happened. I updated to KDE 4.10.3,the newer version AlianBob has on his web site. So this appears to be a self inflicted problem. If you agree, I will mark this solved. I can live with the older version of smb4k, that is not a show stopper.
I had a fast look at willysr's suggestion, for a newer version of cmake. Is that a fairly safe thing to do, or am I likely to break other packages? Looks like going to current might be a faster, less risky solution. I'm not sure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.