For the benefit of the list - I've had an off-list discussion with Pedro and I was missing libmariadb-dev-compat once that was installed, cmake ran successfully though to completion.
Robert 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 <myr...@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 <rob...@capuchin.co.uk> > > Date: Fri, 5 Jun 2020 at 17:00 > > Subject: building amarok > > To: <ama...@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) >