This forum has been archived. All content is frozen. Please use KDE Discuss instead.

cmake fails after upgrade to Kubuntu 19.10

Tags: None
(comma "," separated)
leolist
Registered Member
Posts
47
Karma
0
I have the following system after the upgrade

Code: Select all
Operating System: Kubuntu 19.10
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-19-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-4710MQ CPU @ 2.50GHz
Memory: 8.6 GiB of RAM


using cmake shows the following warning
-- The following OPTIONAL packages have not been found:

* Googlemock
* Ipod, Support Apple iPod/iPad/iPhone audio devices, <http://sourceforge.net/projects/gtkpod/>
* Libgcrypt, OpenSSL or GNU Libgcrypt provides cryptographic functions required by mp3tunes., <http://www.openssl.org/ or http://www.gnupg.org/download/#libgcrypt>

-- Configuring done
CMake Warning:
Value of amarok_collection-mysqlcollection_LIB_DEPENDS contained a newline;
truncating


CMake Warning:
Value of amarok_storage-mysqlestorage_LIB_DEPENDS contained a newline;
truncating


-- Generating done
CMake Warning:
Value of amarok_collection-mysqlcollection_LIB_DEPENDS contained a newline;
truncating


CMake Warning:
Value of amarok_storage-mysqlestorage_LIB_DEPENDS contained a newline;
truncating


-- Build files have been written to: /home/llist/kde/build/amarok


running make install results in

[ 71%] Building CXX object src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/MySqlQueryMaker.cpp.o
[ 71%] Building CXX object src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/amarok_collection-mysqlcollection_autogen/mocs_compilation.cpp.o
[ 71%] Linking CXX shared module ../../../../../../bin/amarok_collection-mysqlcollection.so
c++: error: [OPTIONS]: No such file or directory
make[2]: *** [src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/build.make:120: bin/amarok_collection-mysqlcollection.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:3256: src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/all] Error 2
make: *** [Makefile:141: all] Error 2


Thanks
leolist
Registered Member
Posts
47
Karma
0
A trace of cmake shows
/home/llist/kde/src/amarok/CMakeLists.txt(322): include(CTest )
/usr/share/cmake-3.13/Modules/CTest.cmake(54): option(BUILD_TESTING Build the testing tree. ON )
/usr/share/cmake-3.13/Modules/CTest.cmake(58): function(GET_VS_VERSION_STRING generator var )
/usr/share/cmake-3.13/Modules/CTest.cmake(65): include(CTestUseLaunchers )
/usr/share/cmake-3.13/Modules/CTestUseLaunchers.cmake(31): if(NOT DEFINED CTEST_USE_LAUNCHERS AND DEFINED ENV{CTEST_USE_LAUNCHERS_DEFAULT} )
/usr/share/cmake-3.13/Modules/CTestUseLaunchers.cmake(36): if(NOT ${CMAKE_GENERATOR} MATCHES Make|Ninja )
/usr/share/cmake-3.13/Modules/CTestUseLaunchers.cmake(40): if(CTEST_USE_LAUNCHERS )
/usr/share/cmake-3.13/Modules/CTest.cmake(67): if(BUILD_TESTING )
-- Configuring done
CMake Warning:
Value of amarok_collection-mysqlcollection_LIB_DEPENDS contained a newline;
truncating


CMake Warning:
Value of amarok_storage-mysqlestorage_LIB_DEPENDS contained a newline;
truncating


-- Generating done
CMake Warning:
Value of amarok_collection-mysqlcollection_LIB_DEPENDS contained a newline;
truncating


CMake Warning:
Value of amarok_storage-mysqlestorage_LIB_DEPENDS contained a newline;
truncating


-- Build files have been written to: /home/llist/kde/build/amarok


A trace of make shows

[ 70%] Linking CXX shared module ../../../../../../bin/amarok_collection-mysqlcollection.so
cd /home/llist/kde/build/amarok/src/core-impl/collections/db/sql/mysqlcollection && /usr/bin/cmake -E cmake_link_script CMakeFiles/amarok_collection-mysqlcollection.dir/link.txt --verbose=1
/usr/lib/ccache/c++ -fPIC -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fmessage-length=0 -Wl,--as-needed -std=c++11 -g -Wl,--no-undefined -Wl,--enable-new-dtags -shared -o ../../../../../../bin/amarok_collection-mysqlcollection.so CMakeFiles/amarok_collection-mysqlcollection.dir/MySqlCollectionFactory.cpp.o CMakeFiles/amarok_collection-mysqlcollection.dir/MySqlQueryMaker.cpp.o CMakeFiles/amarok_collection-mysqlcollection.dir/amarok_collection-mysqlcollection_autogen/mocs_compilation.cpp.o -Wl,-rpath,/home/llist/kde/build/amarok/bin:::: ../../../../../../bin/libamarok-sqlcollection.so.1.0.0 ../../../../../../bin/libamaroklib.so.1.0.0 -ldl /usr/lib/x86_64-linux-gnu/libz.so -lUsage: /usr/bin/mysql_config [OPTIONS]
c++: error: [OPTIONS]: No such file or directory
make[2]: *** [src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/build.make:123: bin/amarok_collection-mysqlcollection.so] Error 1
make[2]: Leaving directory '/home/llist/kde/build/amarok'
make[1]: *** [CMakeFiles/Makefile2:3259: src/core-impl/collections/db/sql/mysqlcollection/CMakeFiles/amarok_collection-mysqlcollection.dir/all] Error 2
make[1]: Leaving directory '/home/llist/kde/build/amarok'
make: *** [Makefile:144: all] Error 2
leolist
Registered Member
Posts
47
Karma
0
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

Code: Select all
[ 76%] Building CXX object src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/__/mysql-shared/MySqlStorage.cpp.o
cd /home/llist/kde/build/amarok/src/core-impl/storage/sql/mysqlserverstorage && /usr/lib/ccache/c++  -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DNO_MYSQL_EMBEDDED -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_URL_CAST_FROM_STRING -DQT_POSITIONING_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINE_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Damarok_storage_mysqlserverstorage_EXPORTS -I/home/llist/kde/build/amarok/src/core-impl/storage/sql/mysqlserverstorage -I/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysqlserverstorage -I/home/llist/kde/build/amarok/src/core-impl/storage/sql/mysqlserverstorage/amarok_storage-mysqlserverstorage_autogen/include -I/home/llist/kde/src/amarok/shared -I/home/llist/kde/build/amarok/shared -I/home/llist/kde/src/amarok/src -I/home/llist/kde/build/amarok/src -I/home/llist/kde/build/amarok/src/core-impl/collections/db/sql -I/home/llist/kde/build/amarok/src/core -I/home/llist/kde/src/amarok/src/core -I/home/llist/kde/src/amarok/src/core/support -I/home/llist/kde/src/amarok/src/core/meta -I/home/llist/kde/build/amarok/src/context/popupdropper/libpud -I/home/llist/kde/src/amarok/src/context/popupdropper/libpud -I/home/llist/kde/build/amarok/src/context -I/home/llist/kde/src/amarok/src/context -I/home/llist/kde/build/amarok/src/transcoding -I/home/llist/kde/src/amarok/src/transcoding -I/usr/include/mysql -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/ThreadWeaver -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/phonon4qt5 -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KDeclarative -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/KF5/KPackage -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/KF5/KGuiAddons -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KCMUtils -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KBookmarks -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KNotifyConfig -isystem /usr/include/KF5/KTextEditor -isystem /usr/include/KF5/KParts -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript -isystem /usr/include/x86_64-linux-gnu/qt5/QtScriptTools -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngine -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngineCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebChannel -isystem /usr/include/x86_64-linux-gnu/qt5/QtPositioning  -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fmessage-length=0 -Wl,--as-needed -std=c++11 -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -Wall -Wextra -fPIC -std=gnu++11 -o CMakeFiles/amarok_storage-mysqlserverstorage.dir/__/mysql-shared/MySqlStorage.cpp.o -c /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:108:8: error: using typedef-name ‘MYSQL’ after ‘struct’
  108 | struct MYSQL;
      |        ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:115:58: error: using typedef-name ‘MYSQL’ after ‘struct’
  115 |   int (*authenticate_user)(MYSQL_PLUGIN_VIO *vio, struct MYSQL *mysql);
      |                                                          ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:117:65: error: using typedef-name ‘MYSQL’ after ‘struct’
  117 |                                                          struct MYSQL *mysql,
      |                                                                 ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:139:57: error: using typedef-name ‘MYSQL’ after ‘struct’
  139 | struct st_mysql_client_plugin *mysql_load_plugin(struct MYSQL *mysql,
      |                                                         ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:159:59: error: using typedef-name ‘MYSQL’ after ‘struct’
  159 | struct st_mysql_client_plugin *mysql_load_plugin_v(struct MYSQL *mysql,
      |                                                           ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:173:64: error: using typedef-name ‘MYSQL’ after ‘struct’
  173 | struct st_mysql_client_plugin *mysql_client_find_plugin(struct MYSQL *mysql,
      |                                                                ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:192:12: error: using typedef-name ‘MYSQL’ after ‘struct’
  192 |     struct MYSQL *mysql, struct st_mysql_client_plugin *plugin);
      |            ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/mysql.h:297:16: error: using typedef-name ‘MYSQL’ after ‘struct’
  297 | typedef struct MYSQL {
      |                ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/mysql.h:335:3: error: conflicting declaration ‘typedef int MYSQL’
  335 | } MYSQL;
      |   ^~~~~
In file included from /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: previous declaration as ‘typedef struct st_mysql MYSQL’
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
make[2]: *** [src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/build.make:66: src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/__/mysql-shared/MySqlStorage.cpp.o] Error 1
make[2]: Leaving directory '/home/llist/kde/build/amarok'
make[1]: *** [CMakeFiles/Makefile2:3560: src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/all] Error 2
make[1]: Leaving directory '/home/llist/kde/build/amarok'
make: *** [Makefile:144: all] Error 2


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

Code: Select all
[ 87%] Building CXX object src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/__/mysql-shared/MySqlStorage.cpp.o
cd /home/llist/kde/build/amarok/src/core-impl/storage/sql/mysqlserverstorage && /usr/bin/c++  -DDEBUG -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DNO_MYSQL_EMBEDDED -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_URL_CAST_FROM_STRING -DQT_POSITIONING_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINE_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Damarok_storage_mysqlserverstorage_EXPORTS -I/home/llist/kde/build/amarok/src/core-impl/storage/sql/mysqlserverstorage -I/home/llist/kde/src/amarok/src/core-impl/storage/sql/mysqlserverstorage -I/home/llist/kde/build/amarok/src/core-impl/storage/sql/mysqlserverstorage/amarok_storage-mysqlserverstorage_autogen/include -I/home/llist/kde/src/amarok/shared -I/home/llist/kde/build/amarok/shared -I/home/llist/kde/src/amarok/src -I/home/llist/kde/build/amarok/src -I/home/llist/kde/build/amarok/src/core-impl/collections/db/sql -I/home/llist/kde/build/amarok/src/core -I/home/llist/kde/src/amarok/src/core -I/home/llist/kde/src/amarok/src/core/support -I/home/llist/kde/src/amarok/src/core/meta -I/home/llist/kde/build/amarok/src/context/popupdropper/libpud -I/home/llist/kde/src/amarok/src/context/popupdropper/libpud -I/home/llist/kde/build/amarok/src/context -I/home/llist/kde/src/amarok/src/context -I/home/llist/kde/build/amarok/src/transcoding -I/home/llist/kde/src/amarok/src/transcoding -I/usr/include/mysql -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/ThreadWeaver -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/phonon4qt5 -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KDeclarative -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/KF5/KPackage -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/KF5/KGuiAddons -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KCMUtils -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KBookmarks -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KNotifyConfig -isystem /usr/include/KF5/KTextEditor -isystem /usr/include/KF5/KParts -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript -isystem /usr/include/x86_64-linux-gnu/qt5/QtScriptTools -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngine -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngineCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebChannel -isystem /usr/include/x86_64-linux-gnu/qt5/QtPositioning  -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fmessage-length=0 -Wl,--as-needed -std=c++11 -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -Wall -Wextra -fPIC -std=gnu++11 -o CMakeFiles/amarok_storage-mysqlserverstorage.dir/__/mysql-shared/MySqlStorage.cpp.o -c /home/llist/kde/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
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 ...
leolist
Registered Member
Posts
47
Karma
0
This is currently installed

Code: Select all
default-libmysqlclient-dev/eoan,now 1.0.5ubuntu2 amd64 [installed]
libmysqlclient-dev/eoan,now 8.0.17-0ubuntu2 amd64 [installed]
libmysqlclient21/eoan,now 8.0.17-0ubuntu2 amd64 [installed,automatic]
libqt5sql5-mysql/eoan,now 5.12.4+dfsg-4ubuntu1 amd64 [installed]
mysql-client-8.0/eoan,now 8.0.17-0ubuntu2 amd64 [installed,automatic]
mysql-client-core-8.0/eoan,now 8.0.17-0ubuntu2 amd64 [installed,automatic]
mysql-common/eoan,eoan,now 5.8+1.0.5ubuntu2 all [installed]
mysql-server-8.0/eoan,now 8.0.17-0ubuntu2 amd64 [installed,automatic]
mysql-server-core-8.0/eoan,now 8.0.17-0ubuntu2 amd64 [installed,automatic]
mysql-server/eoan,eoan,now 8.0.17-0ubuntu2 all [installed]
mysql-utilities/eoan,eoan,now 1.6.4-1 all [installed]
postfix-mysql/eoan,now 3.4.5-1ubuntu1 amd64 [installed]
python-mysql.connector/eoan,eoan,now 8.0.15-1 all [installed,automatic]
leolist
Registered Member
Posts
47
Karma
0
I think I found the problem.
  1. I installed a new VM with Kubuntu 18 LTS.
  2. cmake latest amarok without any env variables (installing missing packages) until all failure/warning messages are resolved
  3. running 'make install' failed with at the same code as Kubuntu 19 (good). [ 74%] Linking CXX shared module ../../../../../../bin/amarok_collection-mysqlcollection.so
  4. Found that the package libmysqld-dev was missing; after I installed this, the compile completed without errors
  5. I then upgraded to 19.04 and the compilation still completes without errors

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.
leolist
Registered Member
Posts
47
Karma
0
I found the reason for the cmake failure

FindMySQL.cmake executes
Code: Select all
/usr/bin/mysql_config --libs
/usr/bin/mysql_config --libmysqld-libs


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
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
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 ...
leolist
Registered Member
Posts
47
Karma
0
I take it from your answer that amarok will not build/run without this
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
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 ...
leolist
Registered Member
Posts
47
Karma
0
Mamarok wrote: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.


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

Code: Select all
Scanning dependencies of target amarok_storage-mysqlserverstorage
make[2]: Leaving directory '/home/llist/kdedev/build/amarok'
make -f src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/build.make src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/build
make[2]: Entering directory '/home/llist/kdedev/build/amarok'
[ 76%] Building CXX object src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/__/mysql-shared/MySqlStorage.cpp.o                                                                                                                                                 
cd /home/llist/kdedev/build/amarok/src/core-impl/storage/sql/mysqlserverstorage && /usr/lib/ccache/c++  -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DNO_MYSQL_EMBEDDED -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_URL_CAST_FROM_STRING -DQT_POSITIONING_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINE_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Damarok_storage_mysqlserverstorage_EXPORTS -I/home/llist/kdedev/build/amarok/src/core-impl/storage/sql/mysqlserverstorage -I/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysqlserverstorage -I/home/llist/kdedev/build/amarok/src/core-impl/storage/sql/mysqlserverstorage/amarok_storage-mysqlserverstorage_autogen/include -I/home/llist/kdedev/src/amarok/shared -I/home/llist/kdedev/build/amarok/shared -I/home/llist/kdedev/src/amarok/src -I/home/llist/kdedev/build/amarok/src -I/home/llist/kdedev/build/amarok/src/core-impl/collections/db/sql -I/home/llist/kdedev/build/amarok/src/core -I/home/llist/kdedev/src/amarok/src/core -I/home/llist/kdedev/src/amarok/src/core/support -I/home/llist/kdedev/src/amarok/src/core/meta -I/home/llist/kdedev/build/amarok/src/context/popupdropper/libpud -I/home/llist/kdedev/src/amarok/src/context/popupdropper/libpud -I/home/llist/kdedev/build/amarok/src/context -I/home/llist/kdedev/src/amarok/src/context -I/home/llist/kdedev/build/amarok/src/transcoding -I/home/llist/kdedev/src/amarok/src/transcoding -I/usr/include/mysql -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/KF5/ThreadWeaver -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/phonon4qt5 -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KDeclarative -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/KF5/KPackage -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/KF5/KGuiAddons -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KCMUtils -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KBookmarks -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KNotifyConfig -isystem /usr/include/KF5/KTextEditor -isystem /usr/include/KF5/KParts -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript -isystem /usr/include/x86_64-linux-gnu/qt5/QtScriptTools -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngine -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebEngineCore -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebChannel -isystem /usr/include/x86_64-linux-gnu/qt5/QtPositioning  -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fmessage-length=0 -Wl,--as-needed -std=c++11 -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -Wall -Wextra -fPIC -std=gnu++11 -o CMakeFiles/amarok_storage-mysqlserverstorage.dir/__/mysql-shared/MySqlStorage.cpp.o -c /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:108:8: error: using typedef-name ‘MYSQL’ after ‘struct’
  108 | struct MYSQL;
      |        ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:115:58: error: using typedef-name ‘MYSQL’ after ‘struct’
  115 |   int (*authenticate_user)(MYSQL_PLUGIN_VIO *vio, struct MYSQL *mysql);
      |                                                          ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:117:65: error: using typedef-name ‘MYSQL’ after ‘struct’
  117 |                                                          struct MYSQL *mysql,
      |                                                                 ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:139:57: error: using typedef-name ‘MYSQL’ after ‘struct’
  139 | struct st_mysql_client_plugin *mysql_load_plugin(struct MYSQL *mysql,
      |                                                         ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:159:59: error: using typedef-name ‘MYSQL’ after ‘struct’
  159 | struct st_mysql_client_plugin *mysql_load_plugin_v(struct MYSQL *mysql,
      |                                                           ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:173:64: error: using typedef-name ‘MYSQL’ after ‘struct’
  173 | struct st_mysql_client_plugin *mysql_client_find_plugin(struct MYSQL *mysql,
      |                                                                ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /usr/include/mysql/mysql.h:87,
                 from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/client_plugin.h:192:12: error: using typedef-name ‘MYSQL’ after ‘struct’
  192 |     struct MYSQL *mysql, struct st_mysql_client_plugin *plugin);
      |            ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/mysql.h:297:16: error: using typedef-name ‘MYSQL’ after ‘struct’
  297 | typedef struct MYSQL {
      |                ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: ‘MYSQL’ has a previous declaration here
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:31:
/usr/include/mysql/mysql.h:335:3: error: conflicting declaration ‘typedef int MYSQL’
  335 | } MYSQL;
      |   ^~~~~
In file included from /home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.cpp:20:
/home/llist/kdedev/src/amarok/src/core-impl/storage/sql/mysql-shared/MySqlStorage.h:32:25: note: previous declaration as ‘typedef struct st_mysql MYSQL’
   32 | typedef struct st_mysql MYSQL;
      |                         ^~~~~
make[2]: *** [src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/build.make:66: src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/__/mysql-shared/MySqlStorage.cpp.o] Error 1
make[2]: Leaving directory '/home/llist/kdedev/build/amarok'
make[1]: *** [CMakeFiles/Makefile2:3560: src/core-impl/storage/sql/mysqlserverstorage/CMakeFiles/amarok_storage-mysqlserverstorage.dir/all] Error 2
make[1]: Leaving directory '/home/llist/kdedev/build/amarok'
make: *** [Makefile:144: all] Error 2
llist@llist-VirtualBox:~/kdedev/build/amarok$
User avatar
mfraser
Registered Member
Posts
18
Karma
0
OS
leolist wrote:I found the reason for the cmake failure

FindMySQL.cmake executes
Code: Select all
/usr/bin/mysql_config --libs
/usr/bin/mysql_config --libmysqld-libs


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


Is it possible to build using libmariadbd-dev-compat instead as the package includes
/usr/bin/mariadb_config
Fran??ois Valenduc
Registered Member
Posts
8
Karma
0
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 ?
User avatar
mfraser
Registered Member
Posts
18
Karma
0
OS
Fran??ois Valenduc wrote: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 ?

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.
Fran??ois Valenduc
Registered Member
Posts
8
Karma
0
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


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]