Registered Member
|
I have the following system after the upgrade
using cmake shows the following warning
running make install results in
Thanks |
Registered Member
|
A trace of cmake shows
A trace of make shows
|
Registered Member
|
I managed to get rid of the cmake error truncating the line by specifying the following cmake options; this may not be correct, but it allows me to get the next step
cmake -Wdev -LH -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCMAKE_INSTALL_PREFIX=$HOME/kde -DCMAKE_BUILD_TYPE=Debug -DWITH_MYSQL_EMBEDDED=FALSE -j4 $HOME/kde/src/amarok When I now run 'make install' I get the following error
If I compare this to the make on my Ubuntu 19.04 installation (the one the doesn't find the plugins) I don't get any errors
|
Manager
|
do you have the correct MySQL packages for the build?
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
This is currently installed
|
Registered Member
|
I think I found the problem.
So what's the difference between the VM with a clean 19 Kubuntu and the upgraded 18 Kubuntu? There is no libmysqld-dev package in mysql 8 (seems to be the default in 19.*. I have so far not figured out what replaces libmysqld-dev, but currently the code compiles ok in the VM that was upgraded. |
Registered Member
|
I found the reason for the cmake failure
FindMySQL.cmake executes
Mysql 8 renoved support for the 'embedded server' https://mysqlserverteam.com/mysql-8-0-retiring-support-for-libmysqld/ so the second command fails and 'breaks' the script |
Manager
|
oh **** Looks like we will have to work on a replacement
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
I take it from your answer that amarok will not build/run without this
|
Manager
|
well, the default is the embedded server, of course you can always use an external one, but will have to set it up yourself, the option is in Amarok.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Yep, was aware of this but in order to use the external server, I need to get amarok to compile. I can disable the generation/checking/ect for the embedded server via the "-DWITH_MYSQL_EMBEDDED=FALSE" cmake flag But when I start 'make install' I get the following
|
Registered Member
|
Is it possible to build using libmariadbd-dev-compat instead as the package includes /usr/bin/mariadb_config |
Registered Member
|
I also hit this problem now with gentoo since mysql-connector-c was upgraded from 6.1.11 to 8.0.19. I already use -DWITH_MYSQL_EMBEDDED=FALSE but it fails with the same error as above.
Does anybody have an idea on how to solve this ? |
Registered Member
|
I've installed the package libmariadb-dev-compat which symlinks /usr/bin/mysql_config to /usr/bin/mariadb_config and was then able to compile amarok in Kubuntu 19.10 yesterday. |
Registered Member
|
libmariadb-dev-compat doesn't seem to exists under gentoo. I am not running kubuntu, but I face exactly the same problem after upgrading mysql-connector-c
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]