installing xmms (glib..atk...)
i destroy my ubuntu 4.10 install last night and installed the newest 5.10 release thinking this would solve my problem... but no.
i cant get xmms to work. first thing i tried was to install it from synaptic package manager. of course it installed fine. if i run it from the command line with an input file it doesnt play when i click play Code:
jordan@ubuntu:~$ xmms whateverMySong.mp3 i 'completey uninstall'ed it from synaptic and downloaded the source. i compiled this and it gave error about gtk so i downloaded that and installed that and it liked that but wanted me to then update glib. now that tells me to install atk-1.9.0 so i have that and try to compile that from source but it says glib isnt installed! i gotta get to class and can supply details later... thanks for any help |
first, what glib did you install? did you read the README? gtk will not attempt to compile without glib-1.2.x installed correctly ( xmms uses the gnome-1.x libraries, not 2.x). also, you need to make sure you don't already have the libs installed ( which you probably will since you were using xmms before). doing ./configure, make, make install will only give you headaches if you do it incorrectly. ( check for glib-1.2.x and gtk+-1.2.x ( and the -devel packages) ) that should give you what you need.
|
ok thanks for the input...
downloaded glib-2.6.4 and installed that. yes i read the readme for the 3 files i downloaded to install, but basically used ./configure make and make install for all of them. in synaptic when i search for 'glib' it comes up with the related results, and libglib1.2 (1.2.10-9) is installed (also as glib1.2-dev) and also libglib2.0-0 (2.6.3-1) (and corresponding -data, -dev packages installed too). when i try and compile gtk (gtk+-2.6.5) it gives this error (truncated) output at the end: Code:
checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.8.0... Package atk was not found in the pkg-config search path. the error it provides is: Code:
checking for GLIB - version >= 2.5.7... Code:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/jordan/glib-2.6.4/glib-2.0.pc any help appreciated.. thanks again edit: also, when it checks for other required packages and says which are not met but needed, how come it doesnt say "packageName >= 1.0.3 & < 2.x.x" or something like this.. or am i not reading what it displayed earlier properly? and. i like downloading source files and trying to get them to work rather than using synaptic, because i feel i learn more by doing it this way (still very new, i would say)... dunno if this is a good or bad thing. i will now download the 1.2.x versions of glib and gtk+ that you suggested (from ftp://ftp.gtk.org/pub/gtk/v1.2/) and try to see if this fixes it. |
ok i got the 1.2.10 versions of glib and gtk+ and installed from source and they both didnt mention atk for errors. i went ahead and then compiled and installed xmms again and it did. but when i run it again it gives same error when i try to play a song.
|
first your library problems, most of the time you never want to "./configure, make, make install" on libraries, either you will need to specify the prefix ( after removing the libs that came with your system ( in other words you want to replace them)) or install them in a completely different prefix and manipulate the relevant PATH(s) to force the system to pick up your new libs instead of the ones that came with your system ( this method is a little harder, and the first one is the better method ( but the second method works good if you want to run things in parallel, for example I have gnome-1.4 and gnome-2.8 installed on the same system so to use 1.4 I have to manually alter the environment)).
Code:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/jordan/glib-2.6.4/glib-2.0.pc for xmms, I dunno. looks like an id3 tag problem, but I don't know if it's a problem with your libid3tag or xmms or you mp3's. can you play them with say rhthymbox or amarok ( or juk, xine, etc....)? |
alright J.. thanks alot bud.
im in wondowz right now so i cant test this out just yet, gotta head off to work and ill try the export command with the path you suggested when i get back. but to answer your last question, yes i believe iv tried to play mp3s and videos with the default players for ubuntu everytime i have installed the os, and it has always given me an error.. something which more or less means i dont have the plugin for the file to play, i think. |
check and see if it has a package like "xmms-mp3", I know some distro's like to do this.
|
All times are GMT -5. The time now is 11:27 PM. |