RE: libglade error during cygwin installation

2011-01-30 Thread Joe Crepeau


 
 On Fri, 2011-01-28 at 22:56 +, 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?


RE: libglade error during cygwin installation

2011-01-28 Thread Joe Crepeau
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 +, 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



RE: libglade error during cygwin installation

2011-01-28 Thread Joe Crepeau


 
 On Fri, Jan 28, 2011 at 10:03:54PM +, Joe Crepeau wrote:
   On Thu, Jan 27, 2011 at 06:41:18PM +, 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



libglade error during cygwin installation

2011-01-27 Thread Joe Crepeau
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



Redirecting stdin under gdb

2009-11-05 Thread Joe Crepeau
Hi,

I sent this out a few days ago and got no reply.  Does anybody have a 
response to this?


Has the problem with redirecting stdin under gdb been fixed? The most recent 
posting I can find is from 1999 and it was a known problem then.

The problem is when you start up gdb and then type the following:

run  input

where input is an input file located in the current directory.  gdb just sits 
there, apparently waiting for input.

According to the posting in 1999, the problem is because the cmd arg parser in 
win32/gdb doesn't look for redirection symbols.

If there is no fix, is there a work-around so that I can use gdb in cygwin?

Thanks,
Joe


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



Redirecting stdin under gdb

2009-10-30 Thread Joe Crepeau
Has the problem with redirecting stdin under gdb been fixed?  
The most recent posting I can find is from 1999 and it was a known problem then.

The problem is when you start up gdb and then type the following:

run  input

where input is an input file located in the current directory.  gdb just sits 
there, apparently waiting for input.

According to the posting in 1999, the problem is because the cmd arg parser in 
win32/gdb doesn't look for redirection symbols.

If there is no fix, is there a work-around so that I can use gdb in cygwin?

Thanks,
Joe

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