Amarok v2.4.3 doesn't build
Jorge Manuel B. S. Vicetto
jmbsvicetto at gentoo.org
Thu Oct 20 12:05:20 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 19-10-2011 12:00, kde-buildsystem-request at kde.org wrote:
> Message: 3 Date: Wed, 19 Oct 2011 00:32:47 +0200 From: Alexander
> Neundorf <neundorf at kde.org> To: Harald Sitter <sitter at kde.org>,
> kretschmann at kde.org Cc: kde-buildsystem at kde.org Subject: Amarok
> v2.4.3 doesn't build Message-ID:
> <201110190032.47813.neundorf at kde.org> Content-Type: text/plain;
> charset="us-ascii"
>
> Hi,
>
> I just tried to build amarok from the v2.4.3 tag from git and it
> failed !!!! ;-)
>
> I tries to link against -L/usr/lib/mysql -lmysqld, but there is no
> libmysqld.so (probably because the development package is not
> installed).
That means your distribution isn't providing a patched mysql to build
mysqld as a shared library. Upstream has yet to apply the patch to do
that in both mysql 5.1 and 5.5 series.
> The problem is in FindMySqlAmarok.cmake. If mysql_config is found,
> it is queried for the flags necessary for linking (mysql_config
> --libmysqld-lib), and its output is simply put into the
> MYSQL_EMBEDDED_LIBRARIES variable.
>
> I think here goes the same as with pkg-config: never use the
> output from such tools directly, but always double check, i.e. if
> it says "mysqld" is in /usr/lib/mysql/, do a
> find_library(MYSQL_LIBRARY NAMES mysqld HINTS /usr/lib/mysqld) and
> use what you get from that. This way, cmake will always have to
> deal with full paths to libraries, and can takle care that
> everything will link properly.
>
> Can you please have a look at that file (FindMySqlAmarok.cmake) ?
>
> Thanks Alex
I'd argue the problem is that mysql, although using cmake for the 5.5
series, still doesn't provide a "cmake friendly" configuration file /
tool to provide the same information as mysql_config.
> P.S. this is slightly related to the current question how to
> handle pkg-config under Windows and/or in general, so I'm putting
> kde-buildsystem on CC.
>
>
> ------------------------------
>
> _______________________________________________ Kde-buildsystem
> mailing list Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem
>
>
> End of Kde-buildsystem Digest, Vol 73, Issue 16
> ***********************************************
- --
Regards,
Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJOoA5/AAoJEC8ZTXQF1qEPpt0P/39UtDVw0jQIkmC/PFuDOC3c
BGHM5Ny8u2OdSS0BaRGqWjuZtONm2dKckF5ZRpQsnFWLERi60gNIJVnl5yqDRHtg
3gUMlOv4LLJVQNy3Phtp8KMkqxlXsSl75YasLMmw89KUk5TIyfSVPanWSmOV/S2h
JcTqgsuyAxwrT4BkYq1hSJybo8nt5kOqyDM+jG0MzJKzAoJr+33QO0oIWVIYNzNC
b3jYsbHV7Lxzs0PxnICPyzkAL3dmZL7+9ucBX4lyYTqd7Os+quTIW5HfSbxjqdOq
3luziOFYH8AIAexXsOULe7MU+lXac3+iQadcbMItdTUbIzNAF/cJdUKdQXZP8S/S
mExHab0eU3hR+m30d+7b419WUbhHkYF3OXOctnvF/LQ6oRsolHZzvNJzSJMo7gMs
L8g5sTUAMa7hJZJOpH31kHKvng6SCqWHg45zdjZRBUvMkEPQ+KY7DumrcSBNh+56
XgPnzA8EYOw5y4IPTcznsXtHbnSm/1O3CgUT/3qtiX0U/yGGLxDrgi7q00qrt21h
tKzDEybNMg4wOC86dRV9Sxzh+JnofX+S5O/80wAWbKO0GyEw4rP3wPBrmeOUxJgo
AJo6JTt1t5IHVBNN8LxSUSgdLK+x2gTs48Xg6EayDqbf2Beeox1PReAM7dR8mN86
BHd5ihFALMow9SWVSHUK
=YHvl
-----END PGP SIGNATURE-----
More information about the Kde-buildsystem
mailing list