amarok colection scan

@wezhira, I think you need to establish if your Amarok is built with any SQL options at all. The easiest way to do this: create another user on your box. Log in as that user. Run Amarok. This should give you the initial configuration wizard. Are the Sql options listed?
 
still dont get what you mean myworld could you put the full command
@koffiejunkie ive been through the initial configuration wizard many times there is no sql options
 
That was the full command.

Gentoo works on USE flags, it is extra parameters you enable/disable to allow/deny extra features:
Code:
[ebuild   R   ] media-sound/amarok-2.0.1.1  USE="kdeprefix mp4 opengl semantic-desktop -daap -debug -ifp -ipod -mp3tunes -mtp -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"

Here you can see all the extra options that can build into say amarok with USE flags.
By enabling the mysql USE flag, amarok was build to use it at it's database back-end.

Gentoo is the only distro that enables this flexibility, so he was making a Gentoo specific comment.
 
I don't have access to a SuSE 11.1 box, so this may or may not work, but you should be able to fix it:

1. Download the source rpm here.

2. become root

3. rpm -i amarok-1.4.10-26.1.src.rpm

4. cd to the source directory - usually /usr/src/packages or something like that. Under it should be a few directories: SOURCE, BUILD, SPECS, etc. cd into SPECS..

5. grep Requires amarok.spec - this will spit out all thie lines referring to requirements. Make sure all the packages listed are installed. Also make sure mysql-devel and/or postgresql-devel (or whatever it's called) is installed.

6. open amarok.spec in your favourite editor. Scroll down to the line starting with ./configure. Add a line under it with the following:

--enable-mysql --enable-postgresql \

7. Save it and type:

rpmbuild -bb amarok.spec

8. If this succeeds, the last few lines will contain the locations of the resulting packages. Install them with

rpm --Uvh --oldpackage <file_name1> <file_name2> etc.

That *should* give you amarok with mysql support.
 
Thanx i'll give that a try and let you know How it goes do i have too uninstall the amarok i have already
 
No, the rpm -Uvh --oldpackage means it will upgrade i.e. automatically remove the old amarok package and install the one you just built, even if it's slightly older.

If it doesn't work, you can uninstall amarok (rpm -e --nodeps amarok) and just install it again via yast or whatever you usually use - it will pull down the correct one.
 
noticed this part
may be thats why i have not had the option

. /etc/opt/kde3/common_options
CXXFLAGS="$CXXFLAGS -fPIC"
./configure $configkde \

--without-included-sqlite \
--with-gstreamer10 \
--with-xine \
%if %suse_version > 1000
--with-yauap \
 
after all that effort i got an error

../../amarok/src/plugin/libplugin.la ../../amarok/src/statusbar/libstatusbar.la ../../amarok/src/metadata/libmetadata.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -lknewstuff -ltag -lGL -lsqlite3 -ltunepimp
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make[4]: *** [amarokapp] Error 1
make[4]: Leaving directory `/usr/src/packages/BUILD/amarok-1.4.10/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/amarok-1.4.10/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amarok-1.4.10/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amarok-1.4.10'
make: *** [all] Error 2
makeobj[0]: Leaving directory `/usr/src/packages/BUILD/amarok-1.4.10'
error: Bad exit status from /var/tmp/rpm-tmp.3084 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.3084 (%build)
linux-0f6f:/usr/src/packages/SPECS #
 
From what I gather SUSE ships it with sqlite *only* - you don't have to disable it, just add the mysql or postgresql - the wizard should then give you a choice.
 
Thats the problem there is no sqlite in opensuse11.1 repo's just sqlite2 and sqlite3 so i had to edit the amarok file and put sqlite3 cause ended up with dependency errors
 
That's bizarre. Oh well, doesn't really matter. If sqlite/2/3 and the associated -dev pacages are installed (if they're a separate packages), the configure script would pick it up anyway.
 
Oh, that is strange.. Sorry, don't know how to help...

I assume you've tried to remove Amarok and all it is dependent on and reinstall from scratch?
 
Na mysql support is no real train smash my cap is nearly up cause of downloading amarok works thats the important thing
 
This got me curious so I installed SUSE 11.1 in a VM and tried this.

Now I remember why I left SUSE. I was starting to get into building packages more and more, and got frustrated with some packages having build requirements of packages that's not included in the distro.

Fortunately, I found another way out. Go into yast, open the Software Repositories, click on Add and select FTP. The type the following:

Repository Name: packman
Server Name: ftp.gwdg.de
Directory on Server: pub/linux/misc/packman/suse/11.1

(notice the absence of trailing slashes)

Finish this, then go to the software update bit and install amarok. It will have mysql support.
 
finally got it thanx i had the skynet repo seems there is alot of issues with 11.1 what distro do you use koffiejunkie
 
Just do the update. The repo I mentioned in my post works 100%, unless you have other repos configured that cause conflicts. I was using SUSE 11.1 in a virtual machine, just to scratch this particular itch. I use Debian on my workstation and laptop.
 
thanx what i did was disable other repos and did an update now myaql is working like a charm much faster than before finally my pc seem to be getting to normal
 
Top
Sign up to the MyBroadband newsletter
X