Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Amarok 2.0.2 released
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Flarkis
Apprentice
Apprentice


Joined: 06 Aug 2008
Posts: 198
Location: Tallinn, Estonia

PostPosted: Sat Mar 07, 2009 8:28 pm    Post subject: Amarok 2.0.2 released Reply with quote

Can't believe im the first person to notice this one:
http://amarok.kde.org/en/releases/2.0.2
_________________
Veni, Vidi, Vici
[I came, I saw, I conquered]
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Sat Mar 07, 2009 8:31 pm    Post subject: Reply with quote

but does it compile ;)
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
peteblack
n00b
n00b


Joined: 28 Aug 2005
Posts: 26

PostPosted: Sun Mar 08, 2009 8:00 am    Post subject: Reply with quote

Carps wrote:
but does it compile ;)


Compiles and runs fine here, just bump the 2.0.1.1 ebuild and try.
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Sun Mar 08, 2009 8:58 am    Post subject: Reply with quote

was hearing some people had issues with it, i dont use kde4 so no point me using it, think i'll wait a bit longer before i try it
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
hensan
l33t
l33t


Joined: 26 Jun 2003
Posts: 868
Location: Sweden

PostPosted: Sun Mar 08, 2009 6:11 pm    Post subject: Reply with quote

Build is still crapping out on me on amd64 in the same spot as with 2.0.1.1, after "Linking CXX shared module ../../../../lib/libqtscript_gui.so"... :cry:
Back to top
View user's profile Send private message
Flarkis
Apprentice
Apprentice


Joined: 06 Aug 2008
Posts: 198
Location: Tallinn, Estonia

PostPosted: Sun Mar 08, 2009 6:37 pm    Post subject: Reply with quote

I will conferm that fail on amd64...and yes i am using the mysql hack
_________________
Veni, Vidi, Vici
[I came, I saw, I conquered]
Back to top
View user's profile Send private message
spongo
n00b
n00b


Joined: 27 Jan 2009
Posts: 4

PostPosted: Mon Mar 09, 2009 10:02 pm    Post subject: Reply with quote

Quote:
Build is still crapping out on me on amd64 in the same spot as with 2.0.1.1, after "Linking CXX shared module ../../../../lib/libqtscript_gui.so"... :cry:


Are you getting "undefined references to `clock_gettime'" at /usr/lib64/mysql/libmysqld.a before this fail? I had to LDFLAGS="-lrt" with mysql-community.

edit: LDFLAGS="-lrt" for amarok, CFLAGS="-DPIC -fPIC" for mysql-community
Back to top
View user's profile Send private message
M
Guru
Guru


Joined: 12 Dec 2006
Posts: 432

PostPosted: Mon Mar 09, 2009 11:27 pm    Post subject: Reply with quote

So, new release, new hack needed :lol:
Back to top
View user's profile Send private message
Kulfaangaren!
Apprentice
Apprentice


Joined: 11 Jan 2003
Posts: 176
Location: Borås, Sweden

PostPosted: Thu Mar 12, 2009 11:50 am    Post subject: Reply with quote

hensan wrote:
Build is still crapping out on me on amd64 in the same spot as with 2.0.1.1, after "Linking CXX shared module ../../../../lib/libqtscript_gui.so"... :cry:
I never had any problems compiling Amarok2 using qt4.4, but since upgrading to qt4.5 it fails in what seems QT script support...
Code:
[ 97%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.o                                                                   
[ 97%] Building CXX object src/services/opmldirectory/CMakeFiles/amarok_service_opmldirectory.dir/OpmlDirectoryInfoParser.o                                                                                                       
/usr/include/qt4/QtCore/qmetatype.h: In static member function 'static int QMetaTypeId2<T>::qt_metatype_id() [with T = QList<int>]':                                                                                             
/usr/include/qt4/QtCore/qmetatype.h:199:   instantiated from 'int qMetaTypeId(T*) [with T = QList<int>]'         
/usr/include/qt4/QtScript/qscriptengine.h:372:   instantiated from 'T qscriptvalue_cast(const QScriptValue&) [with T = QList<int>]'                                                                                               
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok_build/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.cpp:128:   instantiated from here                           
/usr/include/qt4/QtCore/qmetatype.h:189: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QList<int> >'   
make[2]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.o] Error 1                                                                       
make[1]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/all] Error 2                     
make[1]: *** Waiting for unfinished jobs....                                                                     
Linking CXX shared module ../../../lib/amarok_service_opmldirectory.so                                           
[ 97%] Built target amarok_service_opmldirectory                                                                 
make: *** [all] Error 2

Seems they changed the members of QMetaTypeId<QList<int> >, guess I will have to wait for the Amarok team to release source they have built against qt-4.5...or am I wrong ?

// Fredrik
_________________
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Join the 'adopt an unanswered post' initiative today
Back to top
View user's profile Send private message
haveimooed
n00b
n00b


Joined: 09 Mar 2009
Posts: 19

PostPosted: Thu Mar 12, 2009 12:45 pm    Post subject: Reply with quote

Kulfaangaren! wrote:
hensan wrote:
Build is still crapping out on me on amd64 in the same spot as with 2.0.1.1, after "Linking CXX shared module ../../../../lib/libqtscript_gui.so"... :cry:
I never had any problems compiling Amarok2 using qt4.4, but since upgrading to qt4.5 it fails in what seems QT script support...
Code:
[ 97%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.o                                                                   
[ 97%] Building CXX object src/services/opmldirectory/CMakeFiles/amarok_service_opmldirectory.dir/OpmlDirectoryInfoParser.o                                                                                                       
/usr/include/qt4/QtCore/qmetatype.h: In static member function 'static int QMetaTypeId2<T>::qt_metatype_id() [with T = QList<int>]':                                                                                             
/usr/include/qt4/QtCore/qmetatype.h:199:   instantiated from 'int qMetaTypeId(T*) [with T = QList<int>]'         
/usr/include/qt4/QtScript/qscriptengine.h:372:   instantiated from 'T qscriptvalue_cast(const QScriptValue&) [with T = QList<int>]'                                                                                               
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok_build/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.cpp:128:   instantiated from here                           
/usr/include/qt4/QtCore/qmetatype.h:189: error: 'qt_metatype_id' is not a member of 'QMetaTypeId<QList<int> >'   
make[2]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QTextCodecPlugin.o] Error 1                                                                       
make[1]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/all] Error 2                     
make[1]: *** Waiting for unfinished jobs....                                                                     
Linking CXX shared module ../../../lib/amarok_service_opmldirectory.so                                           
[ 97%] Built target amarok_service_opmldirectory                                                                 
make: *** [all] Error 2

Seems they changed the members of QMetaTypeId<QList<int> >, guess I will have to wait for the Amarok team to release source they have built against qt-4.5...or am I wrong ?

// Fredrik


2.0.2 builds ok with qt4.5:

Code:
mantas@helium ~ $ amarok -v
Qt: 4.5.0
KDE: 4.2.65 (KDE 4.2.65 (KDE 4.3 >= 20090226))
Amarok: 2.0.2
Back to top
View user's profile Send private message
isilia
Apprentice
Apprentice


Joined: 25 Feb 2008
Posts: 177

PostPosted: Thu Mar 12, 2009 1:46 pm    Post subject: Reply with quote

haveimooed wrote:
2.0.2 builds ok with qt4.5:

Code:
mantas@helium ~ $ amarok -v
Qt: 4.5.0
KDE: 4.2.65 (KDE 4.2.65 (KDE 4.3 >= 20090226))
Amarok: 2.0.2


Same here, qt 4.5 and kde 4.2.1, no overlays.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Fri Mar 13, 2009 8:48 am    Post subject: Reply with quote

Hi,

When you say no overlays, it's for KDE and Qt right ?

Because amarok needs an overlay for version 2.0.2 (or stand alone sources) because when trying to emerge amarok from base portage :

Code:
ACCEPT_KEYWORDS="**" emerge amarok -pv

I obtain this :
Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-sound/amarok-2.0.1.1  USE="ipod mp3tunes mp4 mtp opengl semantic-desktop -daap -debug -ifp -kdeprefix -njb" LINGUAS="-ar -be -bg -ca -cs -csb -da -de -el -eo -es -et -eu -fi -fr -ga -gl -he -is -it -ja -km -ko -ku -lt -lv -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -si -sk -sl -sv -th -tr -uk -zh_CN -zh_TW" 0 kB


Regards,
Maxime

[EDIT] : amarok-2.0.2 from kde-testing overlay doesn't compile for me. I have the same Qt issue I have with amarok-2.0.1.1
_________________
Future is wide open.


Last edited by MaximeG on Fri Mar 13, 2009 12:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kulfaangaren!
Apprentice
Apprentice


Joined: 11 Jan 2003
Posts: 176
Location: Borås, Sweden

PostPosted: Fri Mar 13, 2009 12:07 pm    Post subject: Reply with quote

Agreed MaximeG, Amarok 2.0.2 is not in portage yet.
I was just about to post about it but you beat me to it. :)

// Fredrik
_________________
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Join the 'adopt an unanswered post' initiative today
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Fri Mar 13, 2009 12:43 pm    Post subject: Reply with quote

Hi,

I tried the ebuild from spitfire amarok-2.0.2-r1, it doesn't compile, although the error message is different :
Code:
[ 91%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QInputDialog.o
Linking CXX shared module ../../../../lib/libqtscript_gui.so
[ 91%] Built target qtscript_gui
make: *** [all] Erreur 2
 *
 * ERROR: media-sound/amarok-2.0.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3180:  Called kde4-base_src_compile
 *             environment, line 2375:  Called cmake-utils_src_compile
 *             environment, line  771:  Called cmake-utils_src_make
 *             environment, line  843:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!



Don't know why I can't get to re-compile my amarok.

Regards,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
isilia
Apprentice
Apprentice


Joined: 25 Feb 2008
Posts: 177

PostPosted: Fri Mar 13, 2009 1:53 pm    Post subject: Reply with quote

MaximeG wrote:
Hi,

When you say no overlays, it's for KDE and Qt right ?

Because amarok needs an overlay for version 2.0.2 (or stand alone sources) because when trying to emerge amarok from base portage :

Code:
ACCEPT_KEYWORDS="**" emerge amarok -pv

I obtain this :
Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-sound/amarok-2.0.1.1  USE="ipod mp3tunes mp4 mtp opengl semantic-desktop -daap -debug -ifp -kdeprefix -njb" LINGUAS="-ar -be -bg -ca -cs -csb -da -de -el -eo -es -et -eu -fi -fr -ga -gl -he -is -it -ja -km -ko -ku -lt -lv -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -si -sk -sl -sv -th -tr -uk -zh_CN -zh_TW" 0 kB


Regards,
Maxime

[EDIT] : amarok-2.0.2 from kde-testing overlay doesn't compile for me. I have the same Qt issue have with amarok-2.0.1.1


I simply bumped the ebuild myself, ie rename the 2.0.1.1 one to 2.0.2 and digest it (ebuild <ebuild> digest).
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Fri Mar 13, 2009 2:05 pm    Post subject: Reply with quote

Hi,

I successfully compiled it by removing the USE flags. I'm now trying to find which is the guilty one (I lean for the ipod flag though)

I'll keep you posted

Regards,
Maxime

EDIT : indeed, it compiled without ipod, but with other (the old) cflags.
_________________
Future is wide open.
Back to top
View user's profile Send private message
Flarkis
Apprentice
Apprentice


Joined: 06 Aug 2008
Posts: 198
Location: Tallinn, Estonia

PostPosted: Fri Mar 13, 2009 6:56 pm    Post subject: Reply with quote

Ill try without the ipod flag and see if that works here also
_________________
Veni, Vidi, Vici
[I came, I saw, I conquered]
Back to top
View user's profile Send private message
hensan
l33t
l33t


Joined: 26 Jun 2003
Posts: 868
Location: Sweden

PostPosted: Fri Mar 13, 2009 8:54 pm    Post subject: Reply with quote

spongo wrote:
Quote:
Build is still crapping out on me on amd64 in the same spot as with 2.0.1.1, after "Linking CXX shared module ../../../../lib/libqtscript_gui.so"... :cry:


Are you getting "undefined references to `clock_gettime'" at /usr/lib64/mysql/libmysqld.a before this fail? I had to LDFLAGS="-lrt" with mysql-community.

edit: LDFLAGS="-lrt" for amarok, CFLAGS="-DPIC -fPIC" for mysql-community


Yes, that was it. Buildning Amarok with LDFLAGS"-lrt" did the trick. I had totally missed that clock_gettime error because it came so long before the entire build failed.

Thanks.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Fri Mar 13, 2009 10:22 pm    Post subject: Reply with quote

What's DLFLAGS by the way ? Linking flags ?

Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
daseinhorn
Apprentice
Apprentice


Joined: 16 Jan 2009
Posts: 150
Location: Canada

PostPosted: Sat Mar 14, 2009 12:56 am    Post subject: Reply with quote

Why is it that I cannot build at least version 2 of Amarok, despite having ACCEPT_KEYWORDS="~amd64" in /etc/make.conf ? Is there only a 32-bit ebuild for version 2?

Code:
xavier-pc xavier # emerge -av amarok

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] kde-base/libkonq-3.5.10 [4.2.1] USE="-debug -kdehiddenvisibility" 23,770 kB                 
[ebuild  NS   ] kde-base/kdebase-data-3.5.10 [4.2.1] USE="-debug" 0 kB                                     
[ebuild  N    ] app-admin/eselect-ruby-20081227  2 kB
[ebuild  NS   ] kde-base/kdialog-3.5.10 [4.2.1] USE="-debug -kdehiddenvisibility" 26 kB                     
[ebuild  NS   ] kde-base/kcminit-3.5.10 [4.2.1] USE="-debug -kdehiddenvisibility" 0 kB                     
[ebuild  NS   ] kde-base/kdesu-3.5.10 [4.2.1] USE="-debug -kdehiddenvisibility" 0 kB                       
[ebuild  NS   ] kde-base/khotkeys-3.5.10 [4.2.1] USE="-debug -kdehiddenvisibility" 0 kB                     
[ebuild  NS   ] kde-base/kdebase-kioslaves-3.5.10-r1 [4.2.1] USE="hal ldap -debug -kdehiddenvisibility -openexr -samba" 0 kB
[ebuild  N    ] dev-lang/ruby-1.8.7_p72-r10  USE="berkdb gdbm ssl -debug -doc -emacs -examples -ipv6 -rubytests -socks5 -threads -tk -xemacs" 4,031 kB
[ebuild  N    ] kde-base/kfind-3.5.10  USE="-debug -kdehiddenvisibility" 0 kB
[ebuild  N    ] kde-base/kicker-3.5.10-r1  USE="xcomposite -debug -kdehiddenvisibility" 0 kB
[ebuild  NS   ] kde-base/khelpcenter-3.5.10 [4.2.1] USE="-debug -kdehiddenvisibility" 0 kB
[ebuild  NS   ] kde-base/kcontrol-3.5.10 [4.2.1] USE="opengl -arts -debug -ieee1394 -joystick -kdehiddenvisibility -logitech-mouse" 0 kB
[ebuild  N    ] kde-base/konqueror-3.5.10  USE="branding -debug -java -kdehiddenvisibility" 0 kB
[ebuild  N    ] x11-libs/qscintilla-2.3.2  USE="python qt4 -debug -doc -examples" 2,097 kB
[ebuild  N    ] dev-python/qscintilla-python-2.3.2-r1 USE="qt4" 0 kB
[ebuild  N    ] dev-python/PyQt-3.17.6  USE="-debug -doc -examples" 795 kB
[ebuild  N    ] media-sound/amarok-1.4.10_p20090130-r1  USE="amazon kde mysql opengl python -daap -debug -ifp -ipod -mp4 -mtp -musicbrainz -njb -postgres (-real)-visualization -xinerama" LINGUAS="-af -ar -az -be -bg -bn -br -ca -cs -cy -da -de -el -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -he -hi -hu -id -is -it -ja -km-ko -ku -lo -lt -mk -ms -nb -nds -ne -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr@Latn -ss -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW" 12,517 kB

Total: 18 packages (9 new, 9 in new slots), Size of downloads: 43,235 kB


My emerge --info

Code:
xavier-pc xavier # emerge --info
Portage 2.1.6.8 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3 x86_64)                                                 
=================================================================                                           
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5     
Timestamp of tree: Fri, 13 Mar 2009 23:45:01 +0000   
app-shells/bash:     4.0_p10                         
dev-java/java-config: 2.1.7                           
dev-lang/python:     2.5.4-r2                         
dev-util/cmake:      2.6.3                           
sys-apps/baselayout: 2.0.0                           
sys-apps/openrc:     0.4.3-r1                         
sys-apps/sandbox:    1.6                             
sys-devel/autoconf:  2.13, 2.63                       
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                             
sys-devel/binutils:  2.19.1                           
sys-devel/gcc-config: 1.4.1                           
sys-devel/libtool:   2.2.6a                           
virtual/os-headers:  2.6.28-r1                       
ACCEPT_KEYWORDS="amd64 ~amd64"                       
CBUILD="x86_64-pc-linux-gnu"                         
CFLAGS="-O2 -pipe"                                   
CHOST="x86_64-pc-linux-gnu"                           
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"   
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                     
CXXFLAGS="-O2 -pipe"                                 
DISTDIR="/usr/portage/distfiles"                     
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                   
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1"                                     
MAKEOPTS="-j5"                                       
PKGDIR="/usr/portage/packages"                       
PORTAGE_CONFIGROOT="/"                               
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                         
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cddb cdr cdrkit cli cracklib crypt css cuda cups dbus dhcp dri dts dvb dvbd dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fluidsynth fortran fuse gdbm gif gimp git gnome gpm gstreamer gtk hal iconv isdnlog jack jpeg kdekdeenablefinal ldap libnotify mad mdnsresponder-compat midi mikmod mmx mng mp3 mpeg msn mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd ptp2 pulseaudio python qt3 qt3support qt4 quicktime readline reflection resolvconf sdl session skins spell spl sse sse2 sse3 ssl startup-notification subversion svg symlink sysfs tcpd tga theora tiff truetype unicode usb v4l v4l2 vcd vorbis webkit wiki win32codeca x264 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ICE1724" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate routeshare shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_defaultauthn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouseevdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Sat Mar 14, 2009 12:37 pm    Post subject: Reply with quote

No,

By default portage will merge version 1.4.10.x in slot 1.

If you want version two, either you merge explicitely the version or you mask the versions below 2.0.

1)
Code:
emerge =media-sound/amarok-2.0.2-r1
(the version depends whether you are using an overlay or not)

2)
you put the following in your /etc/portage/package.mask :
Code:
<media-sound/amarok-2.0

_________________
Future is wide open.
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Sun Mar 15, 2009 11:19 pm    Post subject: Reply with quote

i got it installed by making /etc/portage/env/mysql and adding the 2 lines it told me to add (cant remeber them off hand will look in the morn) install mysql install amarok, remov the mysql file, recompile mysql, all works works fine
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
MaximeG
l33t
l33t


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Mon Mar 16, 2009 7:49 am    Post subject: Reply with quote

To have amarok 2 compiling you have to do the following :

1) If you have mysql/mysql-community from the portage tree (version below 5.1) you have to compile mysql with the following C(XX)FLAGS :

Code:
CFLAGS="-DPIC -fPIC"
CXXFLAGS="-DPIC -fPIC"


2) If you have Qt version 4.5, you have to install amarok version >2.0.1.1. For example, using version 2.0.2-r1 from spitfire's overlay :

Code:
http://github.com/spitfire/spitfire-overlay/raw/master/spitfire-overlay.list


3) if you have libgpod version 0.7.0 amarok will not compile unless you disable the ipod USE flag :

Code:
USE="-ipod" emerge amarok


Then it should be ok :)

In the following blog post, you can find a summary of what I've said :
http://porcelinux.blogspot.com/2009/03/new-and-fresh-and-crashy-amarok-is.html


Good luck,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Mon Mar 16, 2009 10:03 pm    Post subject: Reply with quote

finally had time to sit down and sort it all out, like the post above says yes you do need those flags but its not a good idea to put them into /etc/make.conf - if you follow instructions on the screen it gives you the work around

Code:
 * Compilation will fail if dev-db/mysql[-community] is built without -fPIC in your CFLAGS!
 * Related bug: http://bugs.gentoo.org/show_bug.cgi?id=238487
 *
 * To fix this, and to avoid using -fPIC globally in your make.conf (which is not recommended),
 * put the following into /etc/portage/env/dev-db/mysql (or mysql-community, depending on which you use;
 * create dirs and the file if they don't exist):
 *
 * CFLAGS="-march=native -O2 -pipe -DPIC -fPIC"
 * CXXFLAGS="-march=native -O2 -pipe -DPIC -fPIC"


change the flags according to the ones in your make.conf

recompile mysql with that file and flags set - install amarok, recompile mysql without that file and flags set, i do it this way because of this warning

Code:
 * Messages for package dev-db/mysql-5.0.76:

 * Your CFLAGS contains "-fPIC" which can break packages.
 * Your CXXFLAGS contains "-fPIC" which can break packages.

_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
Flarkis
Apprentice
Apprentice


Joined: 06 Aug 2008
Posts: 198
Location: Tallinn, Estonia

PostPosted: Tue Mar 17, 2009 8:32 pm    Post subject: Reply with quote

yea i just built amarok with only the kdeprefix flag and mysql with the normal hacks. Still fails...sigh...ill try the overlay one now. (this is the only time i miss binary distros)
_________________
Veni, Vidi, Vici
[I came, I saw, I conquered]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum