From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32058 invoked by alias); 28 Jan 2011 23:18:49 -0000 Received: (qmail 32050 invoked by uid 22791); 28 Jan 2011 23:18:48 -0000 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 Received: from mail-ww0-f45.google.com (HELO mail-ww0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 28 Jan 2011 23:18:40 +0000 Received: by wwb29 with SMTP id 29so3904702wwb.2 for ; Fri, 28 Jan 2011 15:18:38 -0800 (PST) Received: by 10.216.19.66 with SMTP id m44mr3625781wem.86.1296256718386; Fri, 28 Jan 2011 15:18:38 -0800 (PST) Received: from localhost (82.145.217.87.dynamic.jazztel.es [87.217.145.82]) by mx.google.com with ESMTPS id 7sm9331524wet.0.2011.01.28.15.18.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 28 Jan 2011 15:18:36 -0800 (PST) Date: Sat, 29 Jan 2011 02:32:00 -0000 From: David Sastre To: "cygwin@cygwin.com" Cc: Joe Crepeau Subject: Re: libglade error during cygwin installation Message-ID: <20110128231834.GA28654@jethro.local.lan> References: <5395AE1111A91D4BACA4FABB0C4A50E57C8F551F@mail-east-2.exchange2.ara.wan> <20110127211026.GB10418@jethro.local.lan> <5395AE1111A91D4BACA4FABB0C4A50E57C8F57F1@mail-east-2.exchange2.ara.wan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline 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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-01/txt/msg00407.txt.bz2 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2671 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 Content-length: 198 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1DTsoACgkQYX05bESLMetpGgCguhjmS/SP+HMI/a9Wri3iYHXi GAUAoKlA3feyPO5QJEWZTs3bKSsKVvmj =M1LD -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--