Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2006 04:09:47 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        freebsd-questions@freebsd.org
Subject:   Getting xmms to use glib-2
Message-ID:  <20060502040947.76511771@localhost>

next in thread | raw e-mail | index | archive | help
hi there,
i've rebuilt everything that used glib-1.2* to use glib-2.10.* without a
problem, with the exception of xmms (multimedia/xmms). 

xmms keeps installing glib-1.2. Then, glib-config is run, shows the 1.2
version, which doesn't match the latest package (2.10.2, which does NOT
support glib-config, but pkg-config instead) and the whole build process bails
out (capture below).

Is it not possible to build  xmms with glib-2? 
I tried setting the env GLIB_CONFIG to 2.10.2 with no luck. 

Should I uninstall glib-2, install xmms with glib1.2, then reinstall glib-2? 

Thanks in advance for your time and advice :)
Beto

------ capture -----

[betom@ayiin] [Tue May  2 04:04:08 2006]
/usr/home/betom
$ pkg_info | grep glib
glib-2.10.2         Some useful routines of C programming (current stable versi
linux-glib2-2.4.8_1 Version 2.X Linux/i386 binary port of GLib
taglib-1.4_2        Library for manipulating ID3 tags and Ogg comments

[betom@ayiin] [Tue May  2 04:04:36 2006]
/usr/home/betom
$ sudo portinstall -p xmms
Password:
--->  Installing 'xmms-esound-1.2.10_6' from a port (multimedia/xmms)
--->  Building '/usr/ports/multimedia/xmms' with make flags: WITHOUT_IPV6=yes
WITH_FAM_SYSTEM=gamin WITH_APACHE=apache22 WITH_GNOME=gtk20
[.....]
===>  Cleaning for glib-1.2.10_12
===>  Cleaning for gtk-1.2.10_15
[....  glib-1.2 gets installed...]

checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local/bin/glib12-config
checking for GLIB - version >= 1.2.8...
*** 'glib-config --version' returned 1.2.10, but GLIB (2.10.2)
*** was found! If glib-config was correct, then it is best
*** to remove the old version of GLIB. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file
config.cache *** before re-running configure
no
configure: error:
*** GLIB 1.2.8 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/usr/ports/x11-toolkits/gtk12/work/gtk+-1.2.10/config.log", (b) the output
of the failed make command, and (c) the gnomelogalyzer output. Also, it might
be a good idea to provide an overview of all packages installed on your system
(i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
the attachment. Try to avoid sending any attachments to the mailing list
(gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk12.
*** Error code 1

Stop in /usr/ports/multimedia/xmms.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall1118.0
make WITHOUT_IPV6=yes WITH_FAM_SYSTEM=gamin WITH_APACHE=apache22
WITH_GNOME=gtk20 DEPENDS_TARGET=package ** Fix the problem and try again. **
Listing the failed packages (*:skipped / !:failed) ! multimedia/xmms
(configure error) --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1
failed
---------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060502040947.76511771>