Can't install libglade

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


Hello,
	I have 10.4.11 PPC with Xcode 2.5 and gcc version 4.0.1.  I wonder  
if a libglade upgrade made the configuration outdated.

	I tried "sudo port install libglade2" and the result was the port is  
already active.  I also do not have an "/opt/local/etc/xml/catalog"  
directory.  Is this going to be a problem?  If it is, then is there a  
way to uninstall and reinstall libglade2 since it is a dependency of  
another module?  Uninstall gets very unhappy when trying to uninstall  
dependency modules.

	I think it was libglade2 that resulted in the "opt/local/etc/xml/ 
catalog" error message in "sudo port install ibgnomeui".  I remember  
seeing the 2.6.3 (see my highlighted 4).  I ran "sudo port  
selfupdate" before doing the install.  The documentation states that  
selfupdate synchronizes the port tree; therefore, I assume that  
selfupdate ensures that the ports are most current as well.  Is this  
an incorrect assumption?

Frank

> n Nov 23, 2008, at 1:38 PM, Bryan Blackburn wrote:

> On Sun, Nov 23, 2008 at 03:15:45AM -0800, Frank J. R. Hanstick said:
>> 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_deve 
>> l_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
>
> Interesting, I don't see these errors here, on 10.5.5 Intel, Xcode  
> 3.1.1.
>
> [...]
>>
>> 	I was able to download libgalde-2.6.3 and install it manually.
>
> Note that the libglade port is not this, you might be looking for  
> libglade2
> (which is 2.6.3).
>
>>
>> 	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/
> [...]
>> --->  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
>
> I believe this was fixed with a newer version of libxml2, make sure  
> that
> port is up to date first.  Afterwards, use 'sudo port activate  
> libglade2' to
> finish this up.
>
>>
>> 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.
>
> Make sure you also have at least 2.4.1 of Xcode (or 2.5) as you  
> will run
> into issues with older versions.
>
> Bryan
>
>
>> Frank
>>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list