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

compilation problems

Tags: None
(comma "," separated)
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS

compilation problems

Sun Feb 08, 2009 2:10 pm
Hi There,

I've been trying to build Amarok from source but I keep getting this:
Code: Select all
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- Please install them before continuing this software installation.
-----------------------------------------------------------------------------
+ mysqld: Embedded MySQL <http://www.mysql.com>
-----------------------------------------------------------------------------
CMake Error at /usr/share/kde4/apps/cmake/modules/MacroLogFeature.cmake:93 (MESSAGE):
  Exiting: Missing Requirements
Call Stack (most recent call first):
  CMakeLists.txt:119 (macro_display_feature_log)

and i have installed "libmysqlclient15-dev" as it says on http://amarok.kde.org/wiki/Development/MySQL_Embedded for Ubuntu 8.10. I'm trying to compile it on a Kubuntu box tho but I don't think that would be the problem...any clue what else I'm missing?
Thanks,
Ron
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: compilation problems

Mon Feb 09, 2009 10:04 am
You need the amarok-libmysqlclient-dev file from Kubuntu which is provided in this PPA repository:

deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu intrepid main


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 ...
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS

Re: compilation problems

Mon Feb 09, 2009 11:18 am
Mamarok wrote:You need the amarok-libmysqlclient-dev file from Kubuntu which is provided in this PPA repository:

deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu intrepid main

Hm, thanks... I installed this but it's still bailing out saying the same about embedded mysql :o What else may I need? Thanks!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: compilation problems

Mon Feb 09, 2009 9:33 pm
You should erase the CMakeCache.txt file in ~/kde/build/amarok/ and rebuild with Cmake. I usually simply remove the whole folder and recreate it before rebuilding.


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 ...
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS

Re: compilation problems

Mon Feb 09, 2009 11:53 pm
Mamarok wrote:You should erase the CMakeCache.txt file in ~/kde/build/amarok/ and rebuild with Cmake. I usually simply remove the whole folder and recreate it before rebuilding.

Yup, great. That helped! Thanks :)
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS

Re: compilation problems

Tue Feb 10, 2009 11:55 am
I keep getting this now and I haven't figured out yet what I'm missing....do you have a clue:
Code: Select all
...
...
/usr/lib/mysql/libmysqld.a(field.o):(.text+0x118bb): more undefined references to `pthread_getspecific' follow
collect2: ld returned 1 exit status
make[2]: *** [lib/libamarok_collection-sqlcollection.so] Error 1
make[1]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/all] Error 2
make: *** [all] Error 2


"apt-file search pthread_getspecific" wouldn't give any smart information either....
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS

Re: compilation problems

Fri Feb 13, 2009 9:44 pm
... uhm any one else maybe? :rolleyes:
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: compilation problems

Sat Feb 14, 2009 12:19 pm


--
Mark Kretschmann - Amarok Developer
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS

Re: compilation problems

Sat Feb 14, 2009 5:13 pm
I have installed libmysqlclient15-dev but I'm getting these errors when compiling:
Code: Select all
/usr/lib/mysql/libmysqld.a(ha_heap.o): In function `ha_heap::create(char const*, st_table*, st_ha_create_information*)':
(.text+0x722): undefined reference to `pthread_getspecific'
/usr/lib/mysql/libmysqld.a(btr0btr.o): In function `btr_get_size':
(.text+0xc35): undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
make[2]: *** [lib/libamarok_collection-sqlcollection.so] Error 1
make[1]: *** [src/collection/sqlcollection/CMakeFiles/amarok_collection-sqlcollection.dir/all] Error 2
make: *** [all] Error 2
seems like I'm missing even another mysql dev package or something... :o
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: compilation problems

Sun Feb 15, 2009 8:04 am
I personally recommend compiling MySQL by yourself with our script. It's fully automatic and installs in $HOME/usr.

After that, delete CMakeCache.txt in the Amarok build dir, and rebuild.


--
Mark Kretschmann - Amarok Developer
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS

Re: compilation problems

Sun Feb 15, 2009 6:21 pm
Mark Kretschmann wrote:I personally recommend compiling MySQL by yourself with our script. It's fully automatic and installs in $HOME/usr.

After that, delete CMakeCache.txt in the Amarok build dir, and rebuild.


With your script? I have searched on the wiki and other locations on the website but can't find anything referring to a MySQL installation script. Can you provide a link?

Thanks!
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: compilation problems

Mon Feb 16, 2009 6:24 am
cerr wrote:
Mark Kretschmann wrote:I personally recommend compiling MySQL by yourself with our script. It's fully automatic and installs in $HOME/usr.

After that, delete CMakeCache.txt in the Amarok build dir, and rebuild.


With your script? I have searched on the wiki and other locations on the website but can't find anything referring to a MySQL installation script. Can you provide a link?

Thanks!


The script should be mentioned somewhere on this page:

http://amarok.kde.org/wiki/Development/MySQL_Embedded


--
Mark Kretschmann - Amarok Developer
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re: compilation problems

Mon Feb 16, 2009 7:16 pm
Mark Kretschmann wrote:
cerr wrote:
Mark Kretschmann wrote:I personally recommend compiling MySQL by yourself with our script. It's fully automatic and installs in $HOME/usr.

After that, delete CMakeCache.txt in the Amarok build dir, and rebuild.


With your script? I have searched on the wiki and other locations on the website but can't find anything referring to a MySQL installation script. Can you provide a link?

Thanks!


The script should be mentioned somewhere on this page:

http://amarok.kde.org/wiki/Development/MySQL_Embedded

It does, right there under compilation instructions.


Amarok Developer
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS

Re: compilation problems

Mon Feb 16, 2009 11:53 pm
:o
I don't know, either I'm totally derailled here or... not sure but the tarball i downloaded with 2.0.1.1 does not contain a "supplementary_scripts/mysqle/" folder.... any clues? What could be going wrong here? Am I looking at the wrong spot or is this tarball not complete?

Thanks for everyone's patience in this thread...
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: compilation problems

Tue Feb 17, 2009 7:32 am
cerr wrote::o
I don't know, either I'm totally derailled here or... not sure but the tarball i downloaded with 2.0.1.1 does not contain a "supplementary_scripts/mysqle/" folder.... any clues? What could be going wrong here? Am I looking at the wrong spot or is this tarball not complete?


http://websvn.kde.org/*checkout*/trunk/ ... -mysqle.sh


--
Mark Kretschmann - Amarok Developer


Bookmarks



Who is online

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