![]() Registered Member ![]()
|
Hello,
I'm on Gentoo (amd64), KDE 4.1.2. I tried to install Amarok 2 (from SVN) just a little while ago. This proved very difficult because: Amarok demands that some MySQL client lib is compiled with -fPIC. I don't think I've any way of controlling that when installing the Mysql ebuild. I tried installing multiple times, one time even with CCFLAGS="-fPIC" - compiling the entire MySQL package with -fPIC (which is not recommended either). I thought Mysql support in Amarok was optional? But I could not find any option to disable it. Anyway, it would be neat to have Mysql support too... Could anyone advice on how I can get the latest Amarok installed? ...or does anyone know if theres a fix planned (either in Amarok, Gentoo or Mysql) that will improve the situation. Sorry if my issue is allready solved and I didn't notice it, please RTFM me then - I really just wanted to ask about this before starting on hours of compiling failing miserably like my last attempt. ![]() Thanks, Magnus
Last edited by magge on Thu Oct 16, 2008 8:39 am, edited 1 time in total.
|
![]() Moderator ![]()
|
Did you enable the 'embedded' USE flag for mysql? If not, do this, re-emerge mysql, then re-emerge amarok svn.
"There are two theories to arguing with women. Neither one works."
. If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss" |
![]() Registered Member ![]()
|
Yes. The embedded USE flag has been enabled and mysql has been re-emerged.
I don't think -fPIC is related to this flag? |
![]() Registered Member ![]()
|
This Gentoo bug has some information and a possible workaround building an experimental Mysql package with -fPIC support.
http://bugs.gentoo.org/show_bug.cgi?id=238487 Maybe this one is not in the hands of the Amarok crew - but they are affected by this issue. |
![]() Moderator ![]()
|
As far as I was aware, the -fPIC thing wasn't an issue any more - what errors/messages are you getting, and where did you get the amarok svn ebuild? There are several different ebuilds floating around - the one in gentoo's kde4-live overlay works without any -fPIC magic...
Also, are you using exclusive 64bit, or multilib?
"There are two theories to arguing with women. Neither one works."
. If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss" |
![]() Registered Member ![]()
|
Ok - since you're saying this might no longer be an issue I'll give it another go.
I'm using KDE 4.1.2 thats now in the Gentoo tree, so no overlays. I had some problems with the ebuild, so I've downloaded the SVN and ran cmake manually. As for exclusive or multilib - I'm not sure how to tell... ? Sorry for the ignorance ![]() |
![]() Registered Member ![]()
|
I've just come across this very problem and found that adding the embedded USE flag solved it, Amarok 2 is compiling as I type
![]() |
![]() Registered Member ![]()
|
Ok. I tried building after just manually checking out from SVN. Which is not a very Gentoo way to do things. Where did you find an Amarok 2 ebuild? ...did you have to use an overlay? Thanks, Magnus |
![]() Registered Member ![]()
|
Sorry I posted that a bit too soon. I recompiled MySQL with the embedded USE flag, downloaded the amarok beta release and managed to get past the cmake stage which I hadn't before I re-emerged MySQL, compilation then failed at about 96%.
|
![]() Registered Member ![]()
|
Yeah. That sounds like what I experienced. It's probably the -fPIC issue there.
Perhaps there's an ebuild in some overlay that has some config flag or something that fixes this. Haven't had time to try it out any more yet - but my next step would probably be trying to add the kde4-live overlay (as mentioned by dangle earlier, see quote) and then hopefully be able to unmask and emerge only amarok 2 from it.
Last edited by magge on Mon Oct 20, 2008 11:20 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
Here is the console output at the point at which it fails, if this is of any use to anyone:
|
![]() Registered Member ![]()
|
Hm - but that looks like a syntax error. I might have to take back what I said about -fPIC in your case.
![]() |
![]() Registered Member ![]()
|
I was able to build and install Amarok 2 Beta (v 1.90-r1) by:
- adding the "kde" overlay
- adding a portage keyword
- emerging
But download the SVN and compile directly with cmake gave me trouble. KDE 4.1.2 is in the Gentoo tree, but as far as I can tell the latest Amarok version there is 1.4.10-r1. Theres also a version called 1.4.9999-r2, which I thought maybe was the latest 2-beta, but I wasn't able to unmask that (since I'm such a noob?). Anyways - an easy way to get the Amarok 2 beta is to add the overlay etc. I'm not sure if it's ideal. |
![]() KDE Developer ![]()
|
1.90 is Beta1.
--
Mark Kretschmann - Amarok Developer |
![]() Registered Member ![]()
|
hi,
i'm kinda puzzled about the current situation in gentoo for amarok, as i am using 1.4.10-r1 and wanted to check the latest svn state, but to no avail.
i tried to emerge 1.92.2 (also -fpic mysql, but no help) from kde-testing which died like this
right now i'm unmerging 1.4.10 and trying 1.90-r1 as a file collision prevents the two installed at the same time (yes, they're supposed to be slotted, arghh) Any idea how to get a 1.4.10 and amarok2-(beta,svn,whatever) running at the same time? Where did the svn ebuild hide to? |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]