Date: Mon, 26 Jun 2006 08:04:36 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Norberto Meijome <freebsd@meijome.net> Cc: freebsd-questions@freebsd.org Subject: Re: Glib1 vs Glib2 Message-ID: <44wtb4p1gr.fsf@be-well.ilk.org> In-Reply-To: <20060624233447.3ac5d7b0@localhost> (Norberto Meijome's message of "Sat, 24 Jun 2006 23:34:47 %2B1000") References: <20060624233447.3ac5d7b0@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Norberto Meijome <freebsd@meijome.net> writes: > hi all, > I am having some problems when installing ports that use GLIB 1.x , and I > *also* have glib 2.x installed. I have, of course, packages that need 2.x. > > when building the pkgs that need glib 1.x (pretty much any package) i get: > [....] > checking for glib-config... /usr/local/bin/glib12-config > checking for GLIB - version >= 1.2.0... > *** 'glib-config --version' returned 1.2.10, but GLIB (2.10.3) > *** 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 test failed > [...] > > The way i read this is that the build process gets an answer from glib-config > (glib 1.x), but then it detects version 2. > via the pkg system and bails out. > > I haven't been able to figure out how to use the GLIB_CONFIG variable > properly,as the glib-config file it's finding *IS* the correct one > ( glib-config does not exist in 2.x). > > Is the only alternative to uninstall glib2. while i'm building pkgs that need > glib1 ? They should co-exist just fine; I've never had problems with it. Did you, perhaps, miss an update step at some point? The last few Gnome updates have required special steps described in UPDATING...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44wtb4p1gr.fsf>