From owner-freebsd-questions@FreeBSD.ORG Sat Jun 24 13:34:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5601C16A492 for ; Sat, 24 Jun 2006 13:34:55 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA7FA43D5C for ; Sat, 24 Jun 2006 13:34:53 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 29650 invoked from network); 24 Jun 2006 23:34:52 +1000 Received: from 210-84-59-117.dyn.iinet.net.au (HELO localhost) (210.84.59.117) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 24 Jun 2006 23:34:52 +1000 Date: Sat, 24 Jun 2006 23:34:47 +1000 From: Norberto Meijome To: freebsd-questions@freebsd.org Message-ID: <20060624233447.3ac5d7b0@localhost> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Glib1 vs Glib2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 13:34:55 -0000 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 ? thanks in advance, Beto