From Amarok Wiki
Contents |
Amarok on Solaris 10
Amarok will run on Solaris 10, you just have to be careful with library verions. The below instructions use the Blastwave KDElibs, and GCC.
Install the Blastwave package tools, then install the Amarok dependancies:
KDELibs, Qt, Xine Libraries, and Ruby
pkg-get -i kdelibs_gcc qt_gcc libxine ruby
GCC
You must compile Taglib/Amarok using the Blastwave gcc and friends, as the blastwave KDE is linked against these libraries. Using the inclued SFW GCC will NOT work.
To build using the Blastwave GCC toolchain, adjust your path to remove reference to the SFW versions, and export the blastwave gcc and libraries to your environment:
bash-3.00$export CC=/opt/csw/gcc3/bin/gcc bash-3.00$export CXX=/opt/csw/gcc3/bin/g++
Taglib
Amarok requires Taglib, download and extract the latest version from here.
bash-3.00$ gtar xzf taglib-1.4.tar.gz cd taglib-1.4
Use ./configure to configure Taglib with any options you may want. In my case I wanted Taglib installed in /opt/taglib.
bash-3.00$ ./configure --prefix=/opt/taglib
Compile with gmake and double check that it HAS correctly linked with the Blastwave libraries:
bash-3.00$gmake bash-3.00$ ldd taglib/.libs/libtag.so.1.4.0 libz.so.1 => /usr/lib/libz.so.1 libstdc++.so.6 => /opt/csw/gcc3/lib/libstdc++.so.6 <== must be /opt/csw/lib, not the /usr/sfw/lib version libm.so.2 => /lib/libm.so.2 libgcc_s.so.1 => /opt/csw/lib/libgcc_s.so.1 <== must be /opt/csw/lib, not the /usr/sfw/lib version libc.so.1 => /lib/libc.so.1 libm.so.1 => /lib/libm.so.1
Install it as root:
/opt/csw/bin/gmake install
Test that Taglib is working by running taglib-config.
bash-3.00$/opt/taglib/bin/taglib-config --libs -L/opt/taglib/lib -ltag
Amarok
Download and extract the Amarok-1.4.1 source:
gtar xjf amarok-1.4.4.tar.bz2 cd amarok-1.4.4
You will need to specify the QT, KDE, and Taglib include paths, as they are not in the standard locations.
Additionally you need to add the taglib-config dir to your $PATH, as the ./configure scripts expects it in you $PATH.
export PATH=$PATH:/opt/taglib/bin
In my case I used the Libxine sound engine and disabled and XMMS plugin. Adjust as needed.
./configure --with-qt-dir=/opt/csw/kde-gcc \ --with-extra-includes=/opt/taglib/include \ --prefix=/opt/csw/kde-gcc --disable-debug \ --without-xmms
Compile
bash-3.00$ gmake
Install as root
/opt/csw/bin/gmake install
If you made it this far you should have a working install.
If you are having issues with the amarokapp binary, use ldd to check that it is linked against the correct libraries.
Enjoy Amarok on Solaris 10 x86!