Installing libglade2, small gotcha

Bryan Blackburn blb at macports.org
Thu Nov 13 14:53:40 PST 2008


On Thu, Nov 13, 2008 at 11:36:24AM +0000, Dan Stowell said:
> Hi all -
> 
> This is a solved problem, just letting people know for future
> reference, and maybe maintainers want to tweak portfiles somehow.
> 
> I just tried to install libglade2 and got an error during activation:
[...]
> Command output: could not open /opt/local/etc/xml/catalog for saving
> 
> Error: Status 1 encountered during processing.
> 
> 
> This was because /opt/local/etc/xml didn't exist. After reading a
> tangentially-related message...
> <http://lists.macosforge.org/pipermail/macports-users/2007-June/003873.html>
> ...I checked my libxml2 and libxslt and they were fairly old versions:
> 
>     libxml2      2.6.30_0 < 2.7.2_0
>     libxslt        1.1.15_0 < 1.1.24_0

libxml2 was updated in r40663 [1] to create/own the etc/xml directory for
this very reason.

> 
> I upgraded my lixml2 and libxslt and that allowed libglade2 to install
> correctly. I wonder if libglade2's dependencies need to include this
> knowledge somehow.

Note that libglade2 has a dependency on libxml2, though if you were doing a
new install of libglade2, port won't upgrade dependencies first.

Bryan

[1] - <http://trac.macports.org/changeset/40663>


> 
> Dan
> 
> -- 
> http://www.mcld.co.uk


More information about the macports-users mailing list