building amarok

Robert Marshall robert at capuchin.co.uk
Sat Jun 6 08:53:54 BST 2020


Pedro

Thanks

I have the following installed

dpkg -l '*maria*' | grep ^i
ii  libmariadb-dev             1:10.3.22-1ubuntu1 amd64        MariaDB database development files
ii  libmariadb3:amd64          1:10.3.22-1ubuntu1 amd64        MariaDB database client library
ii  libmariadbclient-dev:amd64 1:10.3.22-1ubuntu1 amd64        MariaDB database development files (transitional package)
ii  libmariadbd19:amd64        1:10.3.22-1ubuntu1 amd64        MariaDB embedded database, shared library
ii  mariadb-client-core-10.3   1:10.3.22-1ubuntu1 amd64        MariaDB database core client binaries
ii  mariadb-common             1:10.3.22-1ubuntu1 all          MariaDB common metapackage

This is with ubuntu 20.04

for the cmake I'm using

cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde -DCMAKE_BUILD_TYPE=debugfull -DWITH_MP3Tunes=OFF -DKDE4_BUILD_TESTS=OFF ..

I guess I no longer need that KDE4_BUILD_TESTS now that I'm attempting to build against Qt5

What more do you want to see of installed packages? - I have rather a lot of dev packages I've pastebinned a list here (being the output of dpkg -l '*-dev*' | grep ^i )

https://pastebin.com/EbHVzBpT

Myriam - thanks for directing this to the correct mailing list - I
posted it to the gmane list gmane.comp.kde.amarok.devel which I
assumed was the dev list but is clearly not so (I see it's
amarok at kde.org) - I'll see if the gmane admins can either rename that
group or otherwise unscramble the confusion!

(I don't think I'm on the -devel list let's see if this works...)

Robert
-- 
Robert Marshall               twitter: @rajm

Pedro de Carvalho Gomes writes:
 > Hi Robert,
 > 
 > First of all, mysql deprecated its embedded library after version 5.7.
 > This means that Amarok no longer can compile against newer versions.
 > The alternative is MariaDB, which still has an equivalent to
 > Mysql-embedded. So, please install all mariadb dependencies,
 > especially the devel packages.
 > 
 > Second: can you provide your environment? Distro, installed packages,
 > full cmake command, and so. Amarok should be easy to compile if you
 > have the right packages installed; but this is the hard part and
 > depends on your distribution.
 > 
 > Cheers,
 > 
 > Pedro
 > 
 > On Fri, Jun 5, 2020 at 10:47 PM Myriam Schweingruber <myriam at kde.org> wrote:
 > >
 > > FYI, I think building from source should go to the devel mailing list, as it is not exactly basic user stuff
 > >
 > > Regards, Myriam
 > >
 > > ---------- Forwarded message ---------
 > > From: Robert Marshall <robert at capuchin.co.uk>
 > > Date: Fri, 5 Jun 2020 at 17:00
 > > Subject: building amarok
 > > To: <amarok at kde.org>
 > >
 > >
 > > I'm attempting to build amarok from source using Pedro's version from
 > > github https://github.com/pcgomes/amarok
 > >
 > > Am having (so far ;) )  issues
 > >
 > > Initially I was using mysql.h from libmysqlclient-dev
 > > then realised - guessing from a missing #define that I needed the
 > > mariadb version I installed libmariadb-dev but now I'm getting
 > >
 > > CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
 > >   Could NOT find MySQL (missing: MYSQL_LIBRARIES MYSQL_INCLUDE_DIR)
 > >
 > > so with mysql it could find the sql libraries but now it still appears
 > > to be looking for them? A pointer to what I'm not seeing would be appreciated!
 > >
 > > Robert
 > > --
 > > Robert Marshall               twitter: @rajm
 > >
 > >
 > >
 > > --
 > > Proud member of the Amarok and KDE Community
 > > Protect your freedom and support the work of the FSFE:
 > > http://www.fsfe.org
 > > Please don't send me proprietary file formats,
 > > use ISO standard ODF instead (ISO/IEC 26300)
 > 


More information about the Amarok-devel mailing list