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

Re: Gentoo, Amarok 2 and Mysql

Tags: None
(comma "," separated)
User avatar
LD
Registered Member
Posts
25
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Tue Oct 28, 2008 1:13 pm
You maye want to check the kdesvn-portage overlay. Also you probably should check with the maintainers of said overlay as it relates to where the ebuilds for Amarok svn are.
d-fens
Registered Member
Posts
9
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Tue Oct 28, 2008 2:13 pm
there is no more kdesvn-portage overlay as it was integrated into kde-testing overlay
User avatar
LD
Registered Member
Posts
25
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Tue Oct 28, 2008 2:25 pm
Then definatly check with the overlay maintainers.

If I remember correctly the Amarok SVn is listed as 1.9999. May just be 9999.
d-fens
Registered Member
Posts
9
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Tue Oct 28, 2008 4:35 pm
to sum a few things up i learned this afternoon:

- no svn ebuild for amarok2 available, neiter in kde-testing overlay( which contains some of the former kdesvn-portage stuff) nor in the kde-crazy (live ebuilds) overlay
- after addying kde-crazy i got following versions

Code: Select all


[UD] media-sound/amarok
     Available versions:
        (0)     1.4.8 1.4.9.1 (~)1.4.9.1-r1 1.4.10 (~)1.4.10-r1 [M](**)1.4.9999-r2
        (4.1)   [m](~)1.90 (~)1.90-r1 (**)1.92.2[1]
        (2)     (**)1.92.2[2]
        {amazon arts cdaudio daap debug elibc_FreeBSD ifp ipod kde kdeprefix linguas_af linguas_ar linguas_az linguas_be linguas_bg linguas_bn linguas_br linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_el
linguas_en_GB linguas_eo linguas_es linguas_et linguas_eu linguas_fa linguas_fi linguas_fr linguas_ga linguas_gl linguas_he linguas_hi linguas_hu linguas_id linguas_is linguas_it linguas_ja linguas_km linguas_ko
linguas_ku linguas_lo linguas_lt linguas_mk linguas_ms linguas_nb linguas_nds linguas_ne linguas_nl linguas_nn linguas_pa linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_rw linguas_se linguas_sk
linguas_sl linguas_sq linguas_sr linguas_sr@Latn linguas_ss linguas_sv linguas_ta linguas_tg linguas_th linguas_tr linguas_uk linguas_uz linguas_zh_CN linguas_zh_TW mp3tunes mp4 mtp musicbrainz mysql njb opengl
postgres python real visualization xinerama}
     Installed versions:  1.92.2(4.1)[2](17:15:33 28.10.2008)(debug opengl visualization -cdaudio -daap -ifp -ipod -kdeprefix -mp3tunes -mp4 -mtp -njb)
     Homepage:            http://amarok.kde.org/
     Description:         Advanced audio player based on KDE framework.

[1] "kde" /usr/portage/local/layman/kde-testing
[2] "kde-crazy" /usr/portage/local/layman/kde-crazy


- you have to use this command to merge mysql with the proper CFLAGS, install amarok and revert mysql not to break other apps depending on mysql


Code: Select all
( source /etc/make.conf && CFLAGS="${CFLAGS} -DPIC -fPIC" CXXFLAGS="${CXXFLAGS} -DPIC -fPIC" emerge -1 dev-db/mysql ) && emerge =media-sound/amarok-1.92.2 && emerge -1 dev-db/mysql


- now i have amarok 1.92.2 (Beta 2) installed and for now i gotta live with it, but if anyone stumbles pon  a svn ebuild, please post it!

Last edited by d-fens on Tue Oct 28, 2008 4:37 pm, edited 1 time in total.
lhz33
Registered Member
Posts
2
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Wed Oct 29, 2008 8:39 am
d-fens wrote:- now i have amarok 1.92.2 (Beta 2) installed and for now i gotta live with it, but if anyone stumbles pon  a svn ebuild, please post it!


you can give a try to old kdesvn-portage overlay:
git://dev.gentooexperimental.org/kde-overlay.git

in case you don't have git installed, here's latest overlay snapshot: http://omploader.org/vdmsz/ksvn.tbz2
d-fens
Registered Member
Posts
9
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Wed Oct 29, 2008 3:11 pm
hi,

thanks for the ebuild, i tried the media-sound/amarok-9999 ebuild, but it fails to build:

Code: Select all
Linking CXX shared module ../../../../lib/libqtscript_gui.so
[ 87%] Built target qtscript_gui
make: *** [all] Fehler 2


this was the point where the 1.92.2 died when mysql was compiled without -fpic , no idea what do to here
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS

Re: Gentoo, Amarok 2 and Mysql

Wed Oct 29, 2008 3:41 pm
d-fens wrote:hi,

thanks for the ebuild, i tried the media-sound/amarok-9999 ebuild, but it fails to build:

Code: Select all
Linking CXX shared module ../../../../lib/libqtscript_gui.so
[ 87%] Built target qtscript_gui
make: *** [all] Fehler 2


this was the point where the 1.92.2 died when mysql was compiled without -fpic , no idea what do to here


Thats just the point that pretty much any failed build will end on. You didn't post the actual error.


Amarok Developer
d-fens
Registered Member
Posts
9
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Wed Oct 29, 2008 3:49 pm
my bad, there we are

Code: Select all
[ 66%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscript_QStyleOptionToolButton.o
/usr/kde/svn/lib64/libkde3support.so.4: undefined reference to `KAction::event(QEvent*)'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [src/amarok] Fehler 1
lhz33
Registered Member
Posts
2
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Wed Oct 29, 2008 8:41 pm
d-fens wrote:my bad, there we are

Code: Select all
[ 66%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscript_QStyleOptionToolButton.o
/usr/kde/svn/lib64/libkde3support.so.4: undefined reference to `KAction::event(QEvent*)'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [src/amarok] Fehler 1



Updating kdelibs to latest trunk may help with issue
User avatar
LD
Registered Member
Posts
25
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Thu Oct 30, 2008 12:09 am
The point it failed at is a known issue. MySQL needs to be build with -fPIC and -PIC GCc flags before Amarok is built.
d-fens
Registered Member
Posts
9
Karma
0

Re: Gentoo, Amarok 2 and Mysql

Thu Oct 30, 2008 1:41 pm
wow, what a renitent thing ...

lhz33 wrote:Updating kdelibs to latest trunk may help with issue


the amarok-9999 ebuild pulled

Code: Select all
strigi-9999
utomoc-9999
kdelibs-9999
libtaskmanager-9999
libkworkspace-9999
libplasma-9999


in, so the libs are uptodate, and one of those brought the KDEDIRS env variable back in, so now i have this mixed kde3.5/4.1.2 desktop again, with doubled taskbars and stuff (using 3.5 usually)  :redface:

LD wrote:The point it failed at is a known issue. MySQL needs to be build with -fPIC and -PIC GCc flags before Amarok is built.


somehow i'm unable to add the proper flag to the command line, always resulting in "configure: error: C compiler cannot create executables"
shouln't this call (which works compiling mysql, but amarok fails ) be ok?
Code: Select all
source /etc/make.conf && CFLAGS="${CFLAGS} -DPIC -fPIC" CXXFLAGS="${CXXFLAGS} -DPIC -fPIC" emerge -1 dev-db/mysql


---
edit:

i had to change the link from  /usr/kde/svn/lib64/libkde3support.so.4 to /usr/lib64/libkde3support.so.4.1.0 , then the symbols resolved and i have a amarok2-svn running, yeah.
oh well, i also had to remove the (slotted) 1.92.2 due to some mixed library paths to work properly. bleeding edge - welcome back

Last edited by d-fens on Fri Oct 31, 2008 3:19 am, edited 1 time in total.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]