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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Date: Sat, 29 Jan 2011 00:18:34 +0100
From: David Sastre <d DOT sastre DOT medina AT gmail DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Cc: Joe Crepeau <jcrepeau AT ara DOT com>
Subject: Re: libglade error during cygwin installation
Message-ID: <20110128231834.GA28654@jethro.local.lan>
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>
MIME-Version: 1.0
In-Reply-To: <5395AE1111A91D4BACA4FABB0C4A50E57C8F57F1@mail-east-2.exchange2.ara.wan>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 o=
f Cygwin on a Windows 7 machine.
> > >=20
> > > 2011/01/21 16:02:23 running: C:\cygwin\bin\bash.exe --norc --noprofil=
e=20
> > > /etc/postinstall/libglade2.0.sh add command failed
> > > 2011/01/21 16:02:23 abnormal exit: exit code=3D3 I could not find a=
=20
> > > resolution to this problem anywhere.=A0 Any suggestions?
> >=20
> > 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 to =
add an entry to the catalog.
> > This is what happens in Linux when you issue the command, and most prob=
ably, also the expected output in cygwin:
> >=20
> > # 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 ent=
ry http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd
> > Free catalog entry -//GlobalTransCorp//DTD XML Catalogs V1.0-Based Exte=
nsion V1.0//EN Free catalog entry http://www.oasis-open.org/committees/enti=
ty/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
> >=20
> > Failing that, you can also try to run xmlcatalog with the -v flag, to s=
ee if that spots the error.
> > If you finally succeed, don't forget to rename libglade2.0.sh to libgla=
de2.0.sh.done.
>=20
> Below is the output from your suggestions.
>=20
> >> /etc/postinstall/libglade2.0.sh
> add command failed
>=20
> >> 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
>=20
> >> 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=20
try the --create switch:

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

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

--ibTvN161/egqYuK8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk1DTsoACgkQYX05bESLMetpGgCguhjmS/SP+HMI/a9Wri3iYHXi
GAUAoKlA3feyPO5QJEWZTs3bKSsKVvmj
=M1LD
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--

- Raw text -


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