[SOLVED] How do I compile KDE 4 KCModule on Slackware?
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.
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.
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).
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.