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

Amarok 2.5 Compile Issue

Tags: None
(comma "," separated)
DrDickGind
Registered Member
Posts
3
Karma
0

Amarok 2.5 Compile Issue

Thu Feb 16, 2012 1:16 pm
Hi, I couldn't get Amarok 2.5 to compile under OpenSuse 11.4 Gnome.

I used
Code: Select all
cmake . -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DDBUS_INTERFACES_INSTALL_DIR=/home/alex

to configure

here the terminal info:

Code: Select all
[ 98%] Generating index.cache.bz2
index.docbook:21: parser error : Entity 'Thom.Castermans' not defined
&Rinse.Devries;&Antoon.Tolboom;&Freek.de.Kruijf;&Thom.Castermans;
                                                                 ^
index.docbook:13966: parser error : Entity 'vertaling.thom' not defined
meld.fouten;&vertaling.rinse;&vertaling.antoon;&vertaling.freek;&vertaling.thom;
                                                                               ^
make[2]: *** [doc/nl/index.cache.bz2] Fehler 1
make[1]: *** [doc/nl/CMakeFiles/nl-handbook.dir/all] Fehler 2
make: *** [all] Fehler 2


What do I'm wrong?

thx for help ;-)
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok 2.5 Compile Issue

Thu Feb 16, 2012 1:19 pm
This is an error in KDE's entity definition, you probably should upgrade to KDE 4.8, IIRC it was fixed there.


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
devehf
Registered Member
Posts
27
Karma
0
OS

Re: Amarok 2.5 Compile Issue

Mon May 07, 2012 7:47 am
I was able to get around this issue by editing the index.docbook in the doc/nl directory with the following patch mentioned in the Amarok email list group.

Code: Select all
 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
   <!ENTITY % addindex "IGNORE">
   <!ENTITY % Dutch "INCLUDE">
   <!ENTITY Thom.Castermans '<othercredit role="translator"><firstname>Thom</firstname><surname>Castermans</surname><affiliation><address><email>thomcastermans@kde.nl</email></address></affiliation><contrib>Vertaler/Nalezer</contrib></othercredit>'>
   <!ENTITY vertaling.thom "<para>Dit document is vertaald in het Nederlands door &Thom.Castermans;.</para>">
 ]>
 <book lang="&language;">
 <bookinfo>
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok 2.5 Compile Issue

Mon May 07, 2012 11:54 am
No need to go around that, the definition is fixed in KDE 4.8, just upgrade your KDE installation.


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 ...
aharel
Registered Member
Posts
2
Karma
0
OS

Re: Amarok 2.5 Compile Issue

Sun Oct 07, 2012 4:35 pm
I just wanted to thank Dave F (devehf) on behalf of those that don't want to risk reinstalling KDE just to try out a new music player :-)

I use gentoo, where the context for this patch is (this is probably trivial for most gentoo users, but not for me...):
Code: Select all
ebuild /usr/portage/media-sound/amarok/amarok-2.5.0-r4.ebuild fetch
ebuild /usr/portage/media-sound/amarok/amarok-2.5.0-r4.ebuild unpack

( so far, this is probably following the failed build that went before, so any complaints about these steps already being done before are fine )
Now apply Dave's patch (e.g. with nano -w /var/tmp/portage/media-sound/amarok-2.5.0-r4/work/amarok-2.5.0/doc/nl/index.docbook ), and...
Code: Select all
ebuild /usr/portage/media-sound/amarok/amarok-2.5.0-r4.ebuild compile
ebuild /usr/portage/media-sound/amarok/amarok-2.5.0-r4.ebuild install
ebuild /usr/portage/media-sound/amarok/amarok-2.5.0-r4.ebuild qmerge
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok 2.5 Compile Issue

Sun Oct 07, 2012 6:10 pm
FWIW: you really should build Amarok 2.6 now, it was release in August.


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 ...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]