Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Please help, I can't get XMMS re-emerged
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
faz
n00b
n00b


Joined: 02 Nov 2002
Posts: 73
Location: the Netherlands

PostPosted: Wed Nov 13, 2002 12:27 pm    Post subject: Please help, I can't get XMMS re-emerged Reply with quote

I have xmms 1.2.7-r14 installed, but it fails to run. It gives me the following error:

xmms: error while loading shared libraries: libgmodule-1.2.so.0: cannot open shared object file: No such file or directory

When I try to rebuild media-sound/xmms-1.2.7-r14 the configure phase keeps complaining about the glib-config script not being found. He's right, I can't find it either. This is what it says:

checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***

!!! ERROR: media-sound/xmms-1.2.7-r14 failed.
!!! Function econf, Line 193, Exitcode 1
!!! econf failed

I have glib 2.0.7 installed, which should satisfy >- 1.2.2

I've had troubles in the past with glibc-.2.3.1, but solved that using help from the forum. The only thing unmasked i'm running is KDE3.1rc1 en gphoto2.

Could anyone please help me, because i'm completely lost on this. :?

UPDATE: I just noticed these lines in the build output:

>>> Reconfiguring...
aclocal: configure.in: 56: macro `AM_PATH_GLIB' not found in library
aclocal: configure.in: 32: macro `AM_PATH_GLIB' not found in library
>>> Source unpacked.
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Wed Nov 13, 2002 2:35 pm    Post subject: Reply with quote

Quote:
I have glib 2.0.7 installed, which should satisfy >- 1.2.2

I doubt it, because XMMS is built for gtk+ 1.x, not 2.x which is a different kettle of fish (i.e I think the ebuild needs to be changed). First, see if you've got the older glib installed:
Code:
emerge gentoolkit
qpkg -d -c -nc | grep glib

If you can't see something like "glib-1.2.10-r4" in the list, then you'll need to explicitly emerge that.

But to be honest, why bother compiling XMMS with gnome support in the first place (it really doesn't seem to make any difference, it only needs gtk+). Just put "-gnome" in your USE environment var temporarily and hopefully none of this should matter.
Back to top
View user's profile Send private message
faz
n00b
n00b


Joined: 02 Nov 2002
Posts: 73
Location: the Netherlands

PostPosted: Wed Nov 13, 2002 2:45 pm    Post subject: Reply with quote

Okay, now I am totally confused. :? :?

I _have_ "-gnome" in my make.conf USE from the very beginning! In fact, it's the first entry! I'm a KDE guy!

Also, the qpkg command comes up with nothing. :? :?

I used to have xmms installed and working fine. Appearently I've done something and now it has trouble finding a library and i can't re emerge it. My guess is some other package i've emrged screwed up things. But how can I find that out?
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Wed Nov 13, 2002 2:54 pm    Post subject: Reply with quote

Quote:
Okay, now I am totally confused.

And me too, now!

Let's see. I suspect that
Code:
qpkg -I -nc | grep glib

will just bring up glib-2.x. Try doing this:
Code:
touch /usr/portage/x11-libs/gtk+/gtk+-1.2.10-r9.ebuild
emerge -p --emptytree x11-libs/gtk+/gtk+-1.2.10-r9.ebuild

Look at the dependencies, you should see that "glib-1.2.10-r5" is one of them. If that has a "N" on the same line, then it definitely isn't installed (yet). If so, try running that emerge command without the switches, no "-p --emptytree". You might want to try "touching" the glib ebuild file I just mentioned before that (that forces a rebuild, in case it is already installed).

EDIT: And do an "env-update" command too, you never know ...
Back to top
View user's profile Send private message
faz
n00b
n00b


Joined: 02 Nov 2002
Posts: 73
Location: the Netherlands

PostPosted: Wed Nov 13, 2002 9:02 pm    Post subject: Reply with quote

Thanks kerfamil, that sure helped a lot!!

It took a while to get things back to normal again. I emerged gtk 2.x before and, since i don't have a need for it anymore, now unmerged it again along with all installed dependant packages.

I checked the ebuild of xmms, it _does_ need gtk 1.2, no matter if you USE gnome of not. Only the gnome applet is build conditionally.

Don't know how this all came about, do. I've been having trouble with my time settings. After each reboot, my clock was 2 hours ahead. Maybe this has been causing all kinds of funny stuff.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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