Can't install libglade

Frank J. R. Hanstick trog24 at comcast.net
Sun Nov 23 03:15:45 PST 2008


Hello,
	During my attempt to install openvrml, I needed to install  
libglade.  I decided to port it via MacPorts (sudo port install  
libglade) which resulted in the following error message:

Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_l 
ibglade/work/libglade-0.17" && make all " returned error 2
Command output: glade-init.c: In function 'glade_init':
glade-init.c:41: error: nested functions are disabled, use -fnested- 
functions to re-enable
glade-init.c:41: error: syntax error before 'initialised'
glade-init.c:43: error: 'initialised' undeclared (first use in this  
function)
glade-init.c:43: error: (Each undeclared identifier is reported only  
once
glade-init.c:43: error: for each function it appears in.)
glade-init.c:44: error: 'TRUE' undeclared (first use in this function)
glade-init.c: In function 'glade_load_module':
glade-init.c:66: error: 'GModule' undeclared (first use in this  
function)
glade-init.c:66: error: 'mod' undeclared (first use in this function)
glade-init.c:68: error: 'NULL' undeclared (first use in this function)
glade-init.c:70: warning: implicit declaration of function  
'g_module_supported'
glade-init.c:71: warning: implicit declaration of function 'g_warning'
glade-init.c:76: warning: implicit declaration of function 'g_strdup'
glade-init.c:76: warning: assignment makes pointer from integer  
without a cast
glade-init.c:78: warning: implicit declaration of function 'g_strconcat'
glade-init.c:78: warning: assignment makes pointer from integer  
without a cast
glade-init.c:79: warning: implicit declaration of function  
'g_module_open'
glade-init.c:79: error: 'G_MODULE_BIND_LAZY' undeclared (first use in  
this function)
glade-init.c:81: warning: implicit declaration of function  
'g_module_symbol'
glade-init.c:81: error: 'gpointer' undeclared (first use in this  
function)
glade-init.c:81: error: parse error before ')' token
glade-init.c:83: warning: implicit declaration of function  
'g_module_make_resident'
glade-init.c:86: warning: implicit declaration of function  
'g_module_close'
glade-init.c:89: warning: implicit declaration of function  
'g_module_name'
glade-init.c:89: warning: implicit declaration of function  
'g_module_error'
glade-init.c:93: warning: implicit declaration of function 'g_free'
make[2]: *** [glade-init.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

	I was able to download libgalde-2.6.3 and install it manually.

	Later, I needed to install libgnomeui and decided to do so via  
MacPorts (sudo port install libgnomeui).  The following occurred when  
the install reached libglade:

--->  Attempting to fetch libglade-2.6.3.tar.bz2 from http:// 
mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/libglade/2.6/
--->  Verifying checksum(s) for libglade2
--->  Extracting libglade2
--->  Configuring libglade2
--->  Building libglade2 with target all
--->  Staging libglade2 into destroot
--->  Installing libglade2 2.6.3_0
--->  Activating libglade2 2.6.3_0
Error: Target org.macports.activate returned: shell command  
"xmlcatalog --create --noout --add system http://glade.gnome.org/ 
glade-2.0.dtd /opt/local/share/xml/libglade/glade-2.0.dtd /opt/local/ 
etc/xml/catalog" returned error 2
Command output: could not open /opt/local/etc/xml/catalog for saving

Error: The following dependencies failed to build: libbonoboui  
libglade2 libgnome esound audiofile libgnomecanvas libart_lgpl
Error: Status 1 encountered during processing.

	Is anyone else having this problem with libglade.
	I am using MacPorts-1.6.0-10.4-Tiger and ran sudo port selfupdate  
today.  The platform is a 2001 PowerPC G4 Quicksilver upgraded to a  
dual 1,73 GHz MPC-7448 from a dual 800 MHz MPC-7450 with 1.5 GB RAM.   
The OS is MacOS 10.4.11.
Frank



More information about the macports-users mailing list