This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libglade error during cygwin installation


On Fri, Jan 28, 2011 at 10:03:54PM +0000, Joe Crepeau wrote:
> > On Thu, Jan 27, 2011 at 06:41:18PM +0000, Joe Crepeau wrote:
> > > I am getting the following error when installing the latest version of Cygwin on a Windows 7 machine.
> > > 
> > > 2011/01/21 16:02:23 running: C:\cygwin\bin\bash.exe --norc --noprofile 
> > > /etc/postinstall/libglade2.0.sh add command failed
> > > 2011/01/21 16:02:23 abnormal exit: exit code=3 I could not find a 
> > > resolution to this problem anywhere.? Any suggestions?
> > 
> > Have you tried manually executing /etc/postinstall/libglade2.0.sh?
> > It looks like a simple script.
> > The manpage states that error code=3 is due to xmlcatalog failing to add an entry to the catalog.
> > This is what happens in Linux when you issue the command, and most probably, also the expected output in cygwin:
> > 
> > # xmlcatalog -v --noout --add "system" \
> >   "http://glade.gnome.org/glade-2.0.dtd"; \
> >   /usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
> > 0 Parsing catalog /etc/xml/catalog
> > /etc/xml/catalog added to file hash
> > Adding element system to catalog
> > Catalogs cleanup
> > Free catalog entry -//OASIS//DTD XML Catalogs V1.0//EN Free catalog entry http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd
> > Free catalog entry -//GlobalTransCorp//DTD XML Catalogs V1.0-Based Extension V1.0//EN Free catalog entry http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd
> > Free catalog entry http://glade.gnome.org/glade-2.0.dtd
> > Free catalog entry /etc/xml/catalog
> > Free catalog entry
> > 
> > Failing that, you can also try to run xmlcatalog with the -v flag, to see if that spots the error.
> > If you finally succeed, don't forget to rename libglade2.0.sh to libglade2.0.sh.done.
> 
> Below is the output from your suggestions.
> 
> >> /etc/postinstall/libglade2.0.sh
> add command failed
> 
> >> cat /etc/postinstall/libglade2.0.sh
> xmlcatalog --noout --add "system" \
>         "http://glade.gnome.org/glade-2.0.dtd"; \
>         /usr/share/xml/libglade/glade-2.0.dtd \
>         /etc/xml/catalog
> 
> >> xmlcatalog -v --noout --add "system" \
> ?         "http://glade.gnome.org/glade-2.0.dtd"; \
> ?         /usr/share/xml/libglade/glade-2.0.dtd \
> ?         /etc/xml/catalog
> add command failed
> Catalogs cleanup

Could you plase check if the target directory (/etc/xml) exists and is
writable?
In case the file /etc/xml/catalog already exists, make a backup copy and 
try the --create switch:

$ xmlcatalog -v --create --noout --add "system" ...

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]