public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* libglade error during cygwin  installation
@ 2011-01-27 21:10 Joe Crepeau
  2011-01-28  1:28 ` David Sastre
  0 siblings, 1 reply; 8+ messages in thread
From: Joe Crepeau @ 2011-01-27 21:10 UTC (permalink / raw)
  To: cygwin

I am getting the following error when installing the latest version of Cygwin on a Windows 7 machine.

Package: Unknown package
            libglade2.0.sh exit code 3

Below is the tail end of the /var/log/setup.log.full file.

2011/01/21 16:02:02 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/update-info-dir.sh
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
2011/01/21 16:02:23 Changing gid to Administrators
2011/01/21 16:05:20 note: Installation Complete
2011/01/21 16:05:20 Ending cygwin install

I could not find a resolution to this problem anywhere.  Any suggestions?

Thanks,
Joe



****************************
Joseph Crepeau
Computational Physics Group Leader
Applied Research Associates, Inc.
4300 San Mateo Blvd. NE  
Suite A-220
Albuquerque, NM  87110-1295
(505) 816-6337 (P)
(505) 872-0794 (F)
****************************



--
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libglade error during cygwin  installation
  2011-01-27 21:10 libglade error during cygwin installation Joe Crepeau
@ 2011-01-28  1:28 ` David Sastre
  2011-01-29  2:21   ` Joe Crepeau
       [not found]   ` <5395AE1111A91D4BACA4FABB0C4A50E57C8F57F1@mail-east-2.exchange2.ara.wan>
  0 siblings, 2 replies; 8+ messages in thread
From: David Sastre @ 2011-01-28  1:28 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]

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.

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: libglade error during cygwin  installation
  2011-01-28  1:28 ` David Sastre
@ 2011-01-29  2:21   ` Joe Crepeau
  2011-01-30 14:31     ` Yaakov (Cygwin/X)
       [not found]   ` <5395AE1111A91D4BACA4FABB0C4A50E57C8F57F1@mail-east-2.exchange2.ara.wan>
  1 sibling, 1 reply; 8+ messages in thread
From: Joe Crepeau @ 2011-01-29  2:21 UTC (permalink / raw)
  To: cygwin

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


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.


--
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libglade error during cygwin  installation
       [not found]   ` <5395AE1111A91D4BACA4FABB0C4A50E57C8F57F1@mail-east-2.exchange2.ara.wan>
@ 2011-01-29  2:32     ` David Sastre
  2011-01-29  3:06       ` Joe Crepeau
  0 siblings, 1 reply; 8+ messages in thread
From: David Sastre @ 2011-01-29  2:32 UTC (permalink / raw)
  To: cygwin; +Cc: Joe Crepeau

[-- Attachment #1: Type: text/plain, Size: 2680 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: libglade error during cygwin  installation
  2011-01-29  2:32     ` David Sastre
@ 2011-01-29  3:06       ` Joe Crepeau
  0 siblings, 0 replies; 8+ messages in thread
From: Joe Crepeau @ 2011-01-29  3:06 UTC (permalink / raw)
  To: cygwin



> 
> 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" ...
> 

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

Did a 
$ 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/glade-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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: libglade error during cygwin  installation
  2011-01-29  2:21   ` Joe Crepeau
@ 2011-01-30 14:31     ` Yaakov (Cygwin/X)
  2011-01-31  9:25       ` Joe Crepeau
  0 siblings, 1 reply; 8+ messages in thread
From: Yaakov (Cygwin/X) @ 2011-01-30 14:31 UTC (permalink / raw)
  To: cygwin

On Fri, 2011-01-28 at 22:56 +0000, Joe Crepeau wrote:
>> 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
> 

Do you have an /etc/xml/catalog file yet?  If not, run:

xmlcatalog --noout --create /etc/xml/catalog

then try the libglade2.0 postinstall again.  The fix is already in Ports
git[1] and will be in the next libxml2 release.


Yaakov

[1]
http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/libxml2;a=commitdiff;h=974cf24



--
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: libglade error during cygwin  installation
  2011-01-30 14:31     ` Yaakov (Cygwin/X)
@ 2011-01-31  9:25       ` Joe Crepeau
  2011-02-16 12:15         ` Oxi
  0 siblings, 1 reply; 8+ messages in thread
From: Joe Crepeau @ 2011-01-31  9:25 UTC (permalink / raw)
  To: cygwin



> 
> On Fri, 2011-01-28 at 22:56 +0000, Joe Crepeau wrote:
> >> 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
> >
> 
> Do you have an /etc/xml/catalog file yet?  If not, run:
> 
> xmlcatalog --noout --create /etc/xml/catalog

$ xmlcatalog --noout --create /etc/xml/catalog

The above command apparently worked, although, the length of "catalog" is zero (not sure if that is what it's supposed to be).

$ cd /etc/xml
$ ls -l
total 0
-rw-r----- 1 jcrepeau Domain Users 0 Jan 30 12:05 catalog


> 
> then try the libglade2.0 postinstall again.  The fix is already in Ports git[1] and will
> be in the next libxml2 release.


I then run the libglade2.0 postinstall and get this

$ /etc/postinstall/libglade2.0.sh
add command failed

Nothing I have done seems to work.  If I were to start from scratch with libglade, what would the steps be?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: libglade error during cygwin  installation
  2011-01-31  9:25       ` Joe Crepeau
@ 2011-02-16 12:15         ` Oxi
  0 siblings, 0 replies; 8+ messages in thread
From: Oxi @ 2011-02-16 12:15 UTC (permalink / raw)
  To: cygwin

Joe Crepeau <jcrepeau <at> ara.com> writes:

> 
> 
> 
> > 
> > On Fri, 2011-01-28 at 22:56 +0000, Joe Crepeau wrote:
> > >> 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
> > >
> > 
> > Do you have an /etc/xml/catalog file yet?  If not, run:
> > 
> > xmlcatalog --noout --create /etc/xml/catalog
> 
> $ xmlcatalog --noout --create /etc/xml/catalog
> 
> The above command apparently worked, although, the length of "catalog" is zero
(not sure if that is what
> it's supposed to be).
> 
> $ cd /etc/xml
> $ ls -l
> total 0
> -rw-r----- 1 jcrepeau Domain Users 0 Jan 30 12:05 catalog
> 
> 
> > 
> > then try the libglade2.0 postinstall again.  The fix is already in Ports
git[1] and will
> > be in the next libxml2 release.
> 
> 
> I then run the libglade2.0 postinstall and get this
> 
> $ /etc/postinstall/libglade2.0.sh
> add command failed
> 
> Nothing I have done seems to work.  If I were to start from scratch with
libglade, what would the steps be?
> 


This session solved the case for me:

###########
$ xmlcatalog  --create
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/>
$ xmlcatalog  --create  > /etc/xml/catalog
$ sh /etc/postinstall/libglade2.0.sh
$
###########

Setup.exe does not give an error afterwards.

Regards,
Oxi





--
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-02-16 12:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 21:10 libglade error during cygwin installation Joe Crepeau
2011-01-28  1:28 ` David Sastre
2011-01-29  2:21   ` Joe Crepeau
2011-01-30 14:31     ` Yaakov (Cygwin/X)
2011-01-31  9:25       ` Joe Crepeau
2011-02-16 12:15         ` Oxi
     [not found]   ` <5395AE1111A91D4BACA4FABB0C4A50E57C8F57F1@mail-east-2.exchange2.ara.wan>
2011-01-29  2:32     ` David Sastre
2011-01-29  3:06       ` Joe Crepeau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).