Need help installing wacom configuration GUI

Hello,
I need some help compiling the GUI to configure Wacom tablets (I have a Wacom Bamboo).
You may know that in Plasma 5.x, that GUI does not exist (but it does in Plasma 4.x). I have looked online what I can do and thanks to https://wiki.archlinux.org/index.php/Wacom_tablet#Using_kcm-wacomtablet I found 2 links (it is the same package) : https://store.kde.org/p/1127862 and https://aur.archlinux.org/packages/kcm-wacomtablet-frameworks-git/ which are, supposedly, a beta port of the wacom configuration gui, and I need help installing it. (in the ~4 years I have used Linux, I have never successfully managed to build/make/compile anything lol! so maybe I am simply missing a package (doubt it), and the solution will be simple and quick).

I am currently running OpenSUSE in VirtualBox to try it, until I manage to install this GUI then I can make the jump. Please assume that my installation is vanilla (only the codecs are installed).

So I have downloaded the tarball, extracted it, installed the cmake package and followed the readme included in the tarball. unfortunately, one line in the readme gives me an error.

Complete installation instructions :

$ mkdir build
$ cd build
$ cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release
$ make
$ make install

This line gives me a problem :

linux-bl8i:/home/azazaz/Desktop/wacomtablet-3.0.0~beta1/build # cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:4 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:4 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/azazaz/Desktop/wacomtablet-3.0.0~beta1/build/CMakeFiles/CMakeOutput.log".
See also "/home/azazaz/Desktop/wacomtablet-3.0.0~beta1/build/CMakeFiles/CMakeError.log"

I have done some googling but it wasn’t very helpful to me ; I do not believe the packages to be broken as comments (even fairly recent) say that it works fine … so I must be missing packages or dependencies but I am not good enough to tell which or what exactly.

Help me please.
Thanks in advance.


– The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:4 (project):
No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable “CC” or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:4 (project):
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.



You have no C/C++ compiler installed. Do you have gcc and gcc-c++ installed?

http://download.opensuse.org/repositories/home:/mrbadguy:/wacom/openSUSE_Leap_42.2/x86_64/kcm_tablet-3.0.0.b1-6.13.x86_64.rpm

Thanks a lot, but this package has dependencies. I googled the missing dependencies, it had other dependencies, which had dependencies, which had dependencies, and it kept going for 5 or 6 of them. Still, I kept tracking them until I reached one that simply didn’t install. I must not be doing it the right way, am I?

I indeed did not have those. Please remember my installation is basically vanilla (the one you get immediately after installing, without any changes or packages added), and apparently, those do not come by default in OpenSUSE.
So, I have installed those, ran the problematic line again, and got another error message. I googled it and saw I needed the extra-cmake-modules package. I have installed those, ran the line again and new error message, which this time I am unable to solve by myself:

CMake Error at CMakeLists.txt:17 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" with any of
  the following names:

    Qt5Config.cmake
    qt5-config.cmake

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



I installed kcm_tablet from “home:mrbadguy:wacom” without any problem, there were no missing dependencies, although I’m running Tumbleweed and not 42.2.

These are the dependencies, it all looks fairly “standard” to me but I may be wrong :wink:


kcm_tablet - KDE Config Module for Wacom Tablets


Version:
3.0.0.b1-6.20

Provides:
application()
application(kde_wacom_tabletfinder.desktop)
kcm_tablet = 3.0.0.b1-6.20
kcm_tablet(x86-64) = 3.0.0.b1-6.20

Prerequires:
/bin/sh

Requires:
libX11.so.6()(64bit)
libXi.so.6()(64bit)
libXrandr.so.2()(64bit)
libKF5ConfigCore.so.5()(64bit)
libKF5ConfigWidgets.so.5()(64bit)
libKF5CoreAddons.so.5()(64bit)
libKF5DBusAddons.so.5()(64bit)
libKF5GlobalAccel.so.5()(64bit)
libKF5I18n.so.5()(64bit)
libKF5Notifications.so.5()(64bit)
libKF5Plasma.so.5()(64bit)
libKF5WidgetsAddons.so.5()(64bit)
libKF5WindowSystem.so.5()(64bit)
libKF5XmlGui.so.5()(64bit)
libQt5Core.so.5()(64bit)
libQt5Core.so.5(Qt_5)(64bit)
libQt5Core.so.5(Qt_5.7)(64bit)
libQt5DBus.so.5()(64bit)
libQt5DBus.so.5(Qt_5)(64bit)
libQt5Gui.so.5()(64bit)
libQt5Gui.so.5(Qt_5)(64bit)
libQt5Widgets.so.5()(64bit)
libQt5Widgets.so.5(Qt_5)(64bit)
libQt5X11Extras.so.5()(64bit)
libQt5X11Extras.so.5(Qt_5)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
libxcb-randr.so.0()(64bit)
libxcb.so.1()(64bit)
xf86-input-wacom >= 0.10.11
/bin/sh

Recommends:
xrandr >= 1.2

You’ll have to wait for one more knowledgeable than I… sorry.

I got curious and made a VM with Tumbleweed … and you’re right, it installs on Tumbleweed. I can’t say the same of Leap … :stuck_out_tongue:
still, thanks for your help!

And what dependency problems did you have exactly?
I just tried on my 42.2 system here and had no problem installing it…

For compiling, you’d need to install a bunch of -devel packages.
Judging from the above package, those seem to be required:
extra-cmake-modules
kcoreaddons-devel
ki18n-devel
kglobalaccel-devel
kconfig-devel
kxmlgui-devel
kwidgetsaddons-devel
kwindowsystem-devel
knotifications-devel
kdbusaddons-devel
kdoctools-devel
plasma-framework-devel

xf86-input-wacom-devel
libXi-devel
libXrandr-devel

libQt5Core-devel
libQt5Gui-devel
libQt5DBus-devel
libQt5Widgets-devel
libqt5-qtx11extras-devel
libqt5-qtdeclarative-devel

I just tried again just in case, but no, I am missing dependencies … but no, still no luck.
the kcm_tablet-3.0.0 package needs libQt5Core.so.5(QT_5.7)(64bit).
libQt5Core.so.5(QT_5.7)(64bit) needs libQt5Gui.so.5(Qt_5_PRIVATE_API)(64bit)
libQt5Gui.so.5(Qt_5_PRIVATE_API)(64bit) needs glxinfo
I can’t find a glxinfo package (well I can on rpmfind.net … but those don’t work)

Just to be sure … can this be related to me running it in a VM and not directly in a real setup?

Ok, you’re right.

This package is apparently built against KDE:Qt5. (and I’m using this here)
Sorry, overlooked this earlier…

You can add this repo too, but this would also require you to add KDE:Frameworks5 too and upgrade your Plasma to 5.10 beta…

Btw, this once again shows that it would be better to post actual error messages instead of just saying it doesn’t work. :wink:

If you want, I can try to build the package for standard 42.2.

I can’t find a glxinfo package (well I can on rpmfind.net … but those don’t work)

It’s part of the package “Mesa-demo-x”, as the following command would tell you: :wink:

cnf glxinfo

The same is true for other commands that couldn’t be found btw, run “cnf cmdname” to see what package you may have to install to be able to run that command.
(bash should tell you that even, “cnf” is short for “command-not-found”…)

I’d prefer not to upgrade to Plasma 5.10 since it’s in beta - I’d rather stay on the stable version of Plasma if possible, so if you don’t mind I’d love it if you could build it for me … I’d do it myself but as you can tell, despite my googlefu and good intentions, it’s giving me problems :stuck_out_tongue:

and thanks for the cnf tip … I have been using ubuntu or mint up until now and I want to distro hop to another family (I chose OpenSUSE for that reason) to see how it works over there, therefore I am not totally familiar with those cool features it has to offer.

Well, just because it’s labelled “beta” doesn’t mean it’s unstable really.
And the release is less than a week away, next Tuesday…

But I can understand that.

so if you don’t mind I’d love it if you could build it for me … I’d do it myself but as you can tell, despite my googlefu and good intentions, it’s giving me problems :stuck_out_tongue:

Ok, I’ll do, stay tuned.
Won’t take too long, unless there’s a problem with building it against plain 42.2…

and thanks for the cnf tip … I have been using ubuntu or mint up until now and I want to distro hop to another family (I chose OpenSUSE for that reason) to see how it works over there, therefore I am not totally familiar with those cool features it has to offer.

That’s not really openSUSE specific AFAIK.
Although I might be mistaken on that one… :wink:

It built fine and you should be able to get it from here:
http://software.opensuse.org//download.html?project=home%3Awolfi323%3Abranches%3Ahome%3Amrbadguy%3Awacom&package=kcm_tablet
(as soon as OBS decides to publish it… :wink: )

Thanks, and thanks for your time.
I just installed it. There is a little good and a lot of bad, I am glad I am doing these tests in a VM lol!
The good :
the Wacom Tablet Settings window appear fine. I am unable to test whether it actually works, because…

The bad :
Plasma 5 now is broken. I do not get any window decorations or desktop anymore. I can not resize windows anymore either. I can not tell if other things broke or not, but I think not.
I can not select any Window Decorations in the settings, because none appear anymore. I can download new ones but they won’t appear.

I did have to do some vendor changes during the installation and I think it is the reason why this happened … can I fix it somehow?

I don’t mind installing plasma 5.9 on my Leap, to be honest, knowing that is is basically coming out of beta imminently, especially if it can help me get the widget. I am just worried it may create instabilities somewhere maybe.

Hm?
Vendor changes? What vendor changes?
There is only that one package in the repo I created.

For further help, please post your repo list, and the list of packages you installed lately…

zypper lr -d
head -30 /var/log/zypp/history


Maybe you added that other repo too, that is built for KDE:Frameworks5 and installed kcm_tablet from there?

Edit:
Oops, sorry. I built my package against KDE:Framework5 too by mistake.
If you added that repo, you’d need to do a full switch to it to fix it, or remove the added repos and run “zypper dup” to switch back to standard 42.2.
But please post your repo list for further help:

zypper lr -d

I rebuilt the package against standard 42.2 now.

There were vendor changes related to Plasma 5 - I didn’t catch the names unfortunately. I have been a been too hasty and just restored an earlier snapshot and tried your new package and fortunately, the new one works perfectly! (therefore I can’t give you the list you requested, but since the problem is gone, I think it is not so important anymore.)

there is still one problem left but I don’t think you can do anything about it now and it’s the widget that is flawed … whenever I change any setting at all, the button binding changes. for example, when I try to use the stylus, since no action is set to react on “what happens when stylus touches tablet” (called “button 1” in the widget - and not present in the plasma 4 widget), nothing happens. I can only set mouse (or keyboard) keys to it but those don’t detect pressure.

I know I can manually (via terminal and xsetwacom) assign the keys I want to change but despite my best efforts I can’t for now

Still, thanks for all your help! :stuck_out_tongue: that was really helpful!

I can’t edit my post anymore, but I kept playing with the widget.
turns out, all I had to do was create a new profile and not use the default one … in my defence, it wasn’t obvious and I thought I could simply edit the default one. :stuck_out_tongue:

Anyway all works fine now! Thanks a lot again for the help!