LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-24-2013, 01:08 PM   #1
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,236

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
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)
This is Slack 14, 64 bit. Not current.

The cmake package installed is:

ls /var/log/packages | grep cmake
-rw-r--r-- 1 root root 34639 Apr 16 13:39 cmake-2.8.8-x86_64-2
-rw-r--r-- 1 root root 659 Apr 17 2011 gccmakedep-1.0.2-noarch-2

I just ran slackpkg upgrade-all, there does not appear to be a newer version of cmake available.

Your thoughts on how to fix?
 
Old 06-24-2013, 05:47 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,679

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
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.
 
Old 06-24-2013, 06:10 PM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,236

Original Poster
Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Maybe I didn't make myself clear.

I did a 'slackpkg update'

'slackpkg install-new'

'slackpkg upgrade-all'

'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.
 
Old 06-24-2013, 06:17 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,679

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
a new curl is required since it fixed a security vulnerabilities

anyway, you can try to install newer cmake from AlienBOB's KTown repository:
http://alien.slackbook.org/ktown/14.0/4.10.4/x86/tools/ (32 bit)
http://alien.slackbook.org/ktown/14..../x86_64/tools/ (64 bit)
 
Old 06-24-2013, 11:20 PM   #5
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by camorri View Post
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)

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...
 
Old 06-25-2013, 06:03 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,236

Original Poster
Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
I looked hear,
Quote:
/usr/share/apps/cmake/modules/FindKDE4Internal.cmake
and I see
Quote:
# 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.

Every ones help is appreciated, thank-you.
 
Old 06-25-2013, 06:13 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,679

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
yes, the newer cmake is safe to be used
 
Old 06-25-2013, 08:20 AM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,236

Original Poster
Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
I installed the newer version of cmake as suggested by willysr. I was then able to use sbopkg and updated smb4k. This thread is solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] id3-0.78 homepage for source code 404 error - slackbuild fails BoydRice Slackware 3 12-19-2010 02:07 AM
cmake: Using find_package(Boost) when FindBoost.cmake is not in the default location damien_d Programming 3 10-27-2010 03:40 PM
[SOLVED] Conky SlackBuild fails agi93 Slackware 6 07-02-2010 05:21 PM
How do I hack a slackbuild of a cmake project to comply with Slackware64...? Alexvader Slackware 2 01-14-2010 07:27 AM
SMB4K on new mandriva doesn't see the share that the OLD install's smb4k did. unuser38 Linux - Networking 3 07-10-2006 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration