LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-04-2016, 06:52 PM   #1
interested_penguin
LQ Newbie
 
Registered: Dec 2015
Distribution: Slackware64 14.2
Posts: 17

Rep: Reputation: Disabled
How do I compile KDE 4 KCModule on Slackware?


I want to install the KDE 4 KCModule ( https://www.linux-apps.com/p/1127862/ ) to handle my wacom tablet settings on KDE4 but as there are no slackbuilds how would I go about compiling it?(I've got a full slackware64 install with multilib)

Last edited by interested_penguin; 12-04-2016 at 07:03 PM.
 
Old 12-04-2016, 07:04 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
According to the README in their git, it's pretty straightforward...

Code:
# or install with

$ mkdir build
$ cd build
$ cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release
$ make
$ make install
First you'd need to either download the latest release from that page (under the files tab) or clone the git and then run the above commands.

Code:
git clone https://anongit.kde.org/wacomtablet.git
If you want to look at creating a SlackBuild yourself, have a look at SBo's cmake template.


Apparently it's just called wacomtablet, and there's already a SlackBuild for it. I'm not sure why they have KCModule in the description (or the project page you linked to is for wacomtablet and not KCModule).
 
1 members found this post helpful.
Old 12-04-2016, 07:11 PM   #3
interested_penguin
LQ Newbie
 
Registered: Dec 2015
Distribution: Slackware64 14.2
Posts: 17

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by bassmadrigal View Post
According to the README in their git, it's pretty straightforward...

Code:
# or install with

$ mkdir build
$ cd build
$ cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release
$ make
$ make install
First you'd need to either download the latest release from that page (under the files tab) or clone the git and then run the above commands.

Code:
git clone https://anongit.kde.org/wacomtablet.git
If you want to look at creating a SlackBuild yourself, have a look at SBo's cmake template.


Apparently it's just called wacomtablet, and there's already a SlackBuild for it. I'm not sure why they have KCModule in the description (or the project page you linked to is for wacomtablet and not KCModule).
IM VERY THANKFUL FOR YOU ANSWER!Yes it seems weird to name it differently and when I tried to compile it trough their README all I got were errors, so time to compile it trough Slackbuilds.
 
Old 12-04-2016, 07:17 PM   #4
interested_penguin
LQ Newbie
 
Registered: Dec 2015
Distribution: Slackware64 14.2
Posts: 17

Original Poster
Rep: Reputation: Disabled
I couldn't compile it trough Slackbuilds.I get the following error:
Quote:
CMake Error at CMakeLists.txt:7 (find_package):
Could not find a package configuration file provided by "ECM" (requested
version 1.6.0) with any of the following names:

ECMConfig.cmake
ecm-config.cmake

Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
to a directory containing one of the above files. If "ECM" provides a
separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
EDIT:This only happens when compiling the 3.0.0-beta1 but the one provided trough Slackbuilds works fine

Last edited by interested_penguin; 12-04-2016 at 07:20 PM.
 
Old 12-04-2016, 07:24 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
You need extra-cmake-modules
 
2 members found this post helpful.
  


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] Slackware 14.1 x64 -- Qt 5.2.1 -- Failing to compile 32bit code. KDE applets issues. hitormiss Slackware 7 04-04-2014 10:09 AM
Trying to compile kde 3.4.2 on Etch. Problem: kde-config program not found Yury Debian 4 03-30-2010 04:32 PM
kde 3.2.2 compile jxn Linux - Newbie 2 04-24-2004 10:58 AM
Cannot Get KDE to compile raid517 Linux - Software 4 06-19-2003 08:37 AM

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

All times are GMT -5. The time now is 04:01 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