Testing MySQL embedded
Edward Hades
edward.hades at gmail.com
Tue Jul 29 21:59:20 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi team!
Here's a way to build Amarok and MySQL so you can test it.
First, grab mysql-5.0 (i used 5.0.51b) from here
http://dev.mysql.com/downloads/mysql/5.0.html#source.
Put the stuff from supplementary_scripts/mysqle/ to mysql sources folder
and run ./build-mysqle.sh --prefix=$HOME/usr (or wherever you like, all
options are passed to ./configure script directly, also you may wish to
crank up MAKEOPTS="-jwhatever").
Uncomment relevant lines in
src/collection/sqlcollection/{CMakeLists.txt,SqlCollection.cpp}
(here's the patch if you wish:
http://lvk.cs.msu.su/~hades/amarok-enable-mysql.patch)
Run cmake, check CMakeCache.txt, there should be similar lines:
MYSQL_EMBEDDED_LIBRARIES:FILEPATH=/home/kde4/usr/mysql/lib/mysql/libmysqld.a
MYSQL_INCLUDE_DIR:PATH=/home/kde4/usr/mysql/include/mysql
Build amarok and hopefully enjoy ;)
Good luck,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiPdpgACgkQd7FTKeBdCdM4SACeLVtR+6kEmR1Y826c5EPdVSym
bqYAnjhGo92OLKhtqxNvgb6KO1A8dyCq
=4v8s
-----END PGP SIGNATURE-----
More information about the Amarok-devel
mailing list