libglade2 fails to install with an xmlcatalog error?

Scott C. Kennedy sck at nogas.org
Wed Oct 1 08:08:20 PDT 2008


This did work for me... So, this solution is workable...

    Biko-2:~ sck$ ls -al /opt/local/etc/xml
    total 0
    drwxr-xr-x   2 root  admin    68 Oct  1 08:06 .
    drwxr-xr-x  24 root  admin  1530 Sep 30 13:42 ..
    Biko-2:~ sck$ sudo 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
    Biko-2:~ sck$ ls -al /opt/local/etc/xmltotal 8
    drwxr-xr-x   2 root  admin   102 Oct  1 08:06 .
    drwxr-xr-x  24 root  admin  1530 Sep 30 13:42 ..
    -rw-r--r--   1 root  admin   357 Oct  1 08:06 catalog
    Biko-2:~ sck$ sudo port install libglade2
    --->  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
    --->  Cleaning libglade2
    Biko-2:~ sck$

Scott

Bryan Blackburn wrote:
> Looks like the xmlcatalog in libglade2 needs the --create switch then
> (and ${prefix}/etc/xml probably still should be created by libxml2):
>
>    system "xmlcatalog --create --noout --add system \
>       http://glade.gnome.org/glade-2.0.dtd \
>       ${prefix}/share/xml/libglade/glade-2.0.dtd \
>       ${prefix}/etc/xml/catalog"
>
> Fortunately it appears that --create doesn't overwrite entries already
> present, at least with my quick bit of testing.  I believe the file exists
> on my system because of one of the docbook ports.
>
> Bryan
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20081001/591c57b4/attachment.html 


More information about the macports-users mailing list