delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/28/18:33:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,TW_RW,TW_WX,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: Joe Crepeau <jcrepeau AT ara DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: libglade error during cygwin installation
Date: Fri, 28 Jan 2011 23:32:56 +0000
Message-ID: <5395AE1111A91D4BACA4FABB0C4A50E57C8F5874@mail-east-2.exchange2.ara.wan>
References: <5395AE1111A91D4BACA4FABB0C4A50E57C8F551F AT mail-east-2 DOT exchange2 DOT ara DOT wan> <20110127211026 DOT GB10418 AT jethro DOT local DOT lan> <5395AE1111A91D4BACA4FABB0C4A50E57C8F57F1 AT mail-east-2 DOT exchange2 DOT ara DOT wan> <20110128231834 DOT GA28654 AT jethro DOT local DOT lan>
In-Reply-To: <20110128231834.GA28654@jethro.local.lan>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


>=20
> 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=3D3 I could not find a
> > > > resolution to this problem anywhere.=A0 Any suggestions?
> > >
> > > Have you tried manually executing /etc/postinstall/libglade2.0.sh?
> > > It looks like a simple script.
> > > The manpage states that error code=3D3 is due to xmlcatalog failing t=
o 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
>=20
> Could you plase check if the target directory (/etc/xml) exists and is wr=
itable?
> In case the file /etc/xml/catalog already exists, make a backup copy and =
try the --
> create switch:
>=20
> $ xmlcatalog -v --create --noout --add "system" ...
>=20

Settings for /etc/xml
drwxr-x---+ 1 jcrepeau   Domain Users      0 Jan 28 16:23 xml

Did a=20
$ chmod 777 ../xml

New settings for /etc/xml
drwxrwxrwx+ 1 jcrepeau   Domain Users      0 Jan 28 16:23 xml

$ xmlcatalog -v --create --noout --add "system" "http://glade.gnome.org/gla=
de-2.0.dtd" /usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog
add command failed
Catalogs cleanup



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019