Install Lablgtk 2.1 using MacPorts

Ryan Schmidt ryandesign at macports.org
Fri Feb 15 17:05:16 PST 2008


On Feb 15, 2008, at 18:41, AngelaZhu wrote:

> Hi! I've been trying to install Lablgtk 2.10 in Mac OS X
> Tiger, from MacPorts. Now I  get the following error
> (see bottom of this message). Did anyone around here
> get the same error? Is there any know solution?
>
> --
> Regards,
> Angela Zhu
>
> ------------------------------------------
> u$ sudo port install lablgtk2
> --->  Configuring libgnomeui
> Error: Target org.macports.configure returned: configure failure:  
> shell
> command " cd
> "/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome 
> _libgnomeui/work/libgnomeui-2.20.1.1"
> && ./configure --prefix=/opt/local " returned error 1
> Command output: checking if msgfmt accepts -c... yes
> checking for gmsgfmt... /opt/local/bin/msgfmt
> checking for xgettext... /opt/local/bin/xgettext
> checking what warning flags to pass to the C compiler... -Wall
> -Wmissing-prototypes
> checking what language compliance flags to pass to the C compiler...
> checking for SM... checking for gethostbyname... (cached) yes
> checking for connect... (cached) yes
> checking for remove... (cached) yes
> checking for shmat... (cached) yes
> checking for IceConnectionNumber in -lICE... (cached) yes
> checking for SmcSaveYourselfDone in -lSM... yes
> checking X11/SM/SMlib.h usability... yes
> checking X11/SM/SMlib.h presence... yes
> checking for X11/SM/SMlib.h... yes
> checking for jpeg_start_decompress in -ljpeg... yes
> checking jpeglib.h usability... yes
> checking jpeglib.h presence... yes
> checking for jpeglib.h... yes
> checking for LIBGNOMEUI... configure: error: Package requirements (
> libxml-2.0 >= 2.4.20   libgnome-2.0 >= 2.13.7   libgnomecanvas-2.0  
> >= 2.0.0
> libbonoboui-2.0 >= 2.13.1   gconf-2.0 >= 1.1.11   pango >= 1.1.2    
> glib-2.0
>> = 2.13.4
>  gnome-vfs-2.0 >= 2.7.3   gnome-keyring-1 >= 0.4) were not met:
>
> Requested 'glib-2.0 >= 2.13.4' but version of GLib is 2.12.13

It sounds like you have glib2 version 2.12.13 but lablgtk 2.1  
requires at least glib2 version 2.13.4.

The current version of glib2 in MacPorts is 2.14.6 so you should  
update to that version:

$ sudo port selfupdate
$ sudo port upgrade glib2

Then see if anything else is outdated and needs upgrading, and if so,  
upgrade those ports:

$ port outdated

Then try installing lablgtk again.



More information about the macports-users mailing list