LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How do I compile KDE 4 KCModule on Slackware? (https://www.linuxquestions.org/questions/slackware-14/how-do-i-compile-kde-4-kcmodule-on-slackware-4175594795/)

interested_penguin 12-04-2016 06:52 PM

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)

bassmadrigal 12-04-2016 07:04 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).

interested_penguin 12-04-2016 07:11 PM

Quote:

Originally Posted by bassmadrigal (Post 5637996)
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.

interested_penguin 12-04-2016 07:17 PM

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

willysr 12-04-2016 07:24 PM

You need extra-cmake-modules


All times are GMT -5. The time now is 12:08 AM.