RE: Cygwin Window closes immediately

2007-09-10 Thread Buchbinder, Barry (NIH/NIAID) [E]
Erich Dollansky wrote on Monday, September 10, 2007 1:47 AM:
> David FAY XX (SY/EPA) wrote:
>> Hello,
>> >> I am having problems opening cygwin. A window pops up when I double
>> click on the shortcut on the desktop but it immediately closes.
>> Cygwin is installed in the following location: c:/cygwin. Any
>> suggestions? I'm using Windows XP. Also in setup.log file in
>> /var/log directory it says "Installation Complete" Are there other
>> log files I could check to see what is going on? 
>> 
>> Regards,
>> David
> Hi,
> 
> did you edit the batch file which starts cygwin?
> 
> If not, do so.
> 
> All you need to know is inside the batch file.
> 
> Erich

You might also try opening a cmd.exe window and run cygwin.bat there.  You'll 
be able to see any error messages.

- Batty

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



gcc-dw2? or fast sjlj-exceptions EH

2007-09-10 Thread Tatsuro MATSUOKA
This is Tatsuro Matsuoka writing.

There have been some discussions since I uploaded the topic : 
'Slowness problem due to sjlj-exception for Octave'.

In the topic,
Brain wrote

>But by the time you've done all that, you might as well
>just package a separate gcc named "gcc-dw2" or whatever and have them
>both installable in parallel, to please everybody.  This is what Danny
>did with his 4.2 MinGW releases.

Is it really possible "gcc-dw2" ?

I think it is grateful for me to build the fast octave if it will be 
used.

However, I'm afraid that parallel existence of two different GCCs 
confuses the cygwin users.

The best solution, I think, the speed of sjlj-exceptions EH on the 
cygwin is as fast as that of other platforms.

The "gcc-dw2" is the second best solution and it should be treated 
with great care.

I’m not a specialist on the cygwin and am mere one of the daily 
users of the cygwin.  I would like to hear the comments and opinions 
from the cygwin experts.

Sincerely yours,
Tatsuro MATSUOKA

Is there any possibility that the speed of sjlj-exceptions EH will be 
faster than that of present states?

  

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



RE: Cygwin Window closes immediately

2007-09-10 Thread Dave Korn
On 10 September 2007 12:31, Buchbinder, Barry (NIH/NIAID) wrote:

> Erich Dollansky wrote on Monday, September 10, 2007 1:47 AM:
>> David FAY XX (SY/EPA) wrote:
>>> Hello,
> I am having problems opening cygwin. A window pops up when I double
>>> click on the shortcut on the desktop but it immediately closes.
>>> Cygwin is installed in the following location: c:/cygwin. Any
>>> suggestions? I'm using Windows XP. Also in setup.log file in
>>> /var/log directory it says "Installation Complete" Are there other
>>> log files I could check to see what is going on?
>>> 
>>> Regards,
>>> David
>> Hi,
>> 
>> did you edit the batch file which starts cygwin?
>> 
>> If not, do so.
>> 
>> All you need to know is inside the batch file.
>> 
>> Erich
> 
> You might also try opening a cmd.exe window and run cygwin.bat there. 
> You'll be able to see any error messages. 

  The most likely cause of the problem would be a failure during installation
that left a DLL or EXE missing somewhere.  If you re-run setup.exe, telling it
to "Install from local package directory", and just clicking 'OK' all the way
through the various options, it should have a second go and tidy up anything
that got missed first time.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



not able to start command interpreter after installation

2007-09-10 Thread Michele Caramello

- Downloaded the whole package on my disk
- Installed 'Default' proposed configuration from 'Local repository' on
c:\cygwin: installation successful
- Launched application thru cygwin.bat, this cause a cmd window to open but
close immediately after
- Opened a cmd prompt, accessed installation dir c:\cygwin
- Updated PATH environment variable with *bin directory locations:
c:\cygwin\bin;c:\cygwin\usr\bin;c:\cygwin\usr\sbin;c:\cygwin\usr\local\bin;%
PATH%
- Launched cygwin.bat script, nothing happens but finding the prompt in
c:\cygwin\bin\ directory
- bash doesn't work properly, doesn't even seem to be running. No native
command is recognized (less, alias, clear, etc...)
- Many commands not present
- Many command names not recognized
- Disambiguation of command names (for example, windows' and cygwin's find)
incorrect.

I'm including cygcheck output. Setup's log is larger than 2MB and it's not
included otherwise your mailer's spam filter would bounce it back.
I have admin priviledges on my laptop, even though the PC is leased by my
company and I don't have complete control over everything (can this is the
reason for all those troubles?) Glad to give other details I might have
forgotten.
Thanks in advance for any reply.

Regards,
Michele


Cygwin Configuration Diagnostics
Current System Time: Mon Sep 10 09:05:02 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\Program Files\ThinkPad\Utilities
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Support Tools\
C:\Program Files\Reflection\
C:\Program Files\Credant\CMG Shield
C:\Program Files\Diskeeper Corporation\Diskeeper\C:\Program 
Files\Common Files\Teleca Shared
C:\Program Files\QuickTime\QTSystem\

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

CYGWIN = 'tty'
Path = 'C:\Program 
Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\Support Tools\;C:\Program Files\Reflection\;C:\Program Files\Credant\CMG 
Shield;C:\Program Files\Diskeeper Corporation\Diskeeper\C:\Program Files\Common 
Files\Teleca Shared;C:\Program Files\QuickTime\QTSystem\'

ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APPDATA = 'C:\Documents and Settings\mcaramel\Application Data'
CLASSPATH = '.;C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip'
CommonProgramFiles = 'C:\Program Files\Common Files'
COMPUTERNAME = 'MCARAMEL-WXP01'
ComSpec = 'C:\WINDOWS\system32\cmd.exe'
COUNTRY = 'US'
DEFAULT_CA_NR = 'CA6'
DEKSTOP = 'C:\Documents and Settings\mcaramel\Desktop'
DEPT = '020020667'
DOMAIN = 'AMER'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Documents and Settings\mcaramel'
LOGONSERVER = '\\ADA-SJC1-C1-2-W'
MAIL_SERVER = 'amer.cisco.com'
MAIL_SERVER_TYPE = 'EXCHANGE'
NAME = 'Michele Caramello (mcaramel)'
NUMBER_OF_PROCESSORS = '2'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 14 Stepping 8, GenuineIntel'
PROCESSOR_LEVEL = '6'
PROCESSOR_REVISION = '0e08'
ProgramFiles = 'C:\Program Files'
PROMPT = '$P$G'
QTJAVA = 'C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip'
SESSIONNAME = 'Console'
STATE = 'CALIFORNIA'
SystemDrive = 'C:'
SystemRoot = 'C:\WINDOWS'
TEMP = 'C:\DOCUME~1\mcaramel\LOCALS~1\Temp'
TITLE = 'College Intern'
TMP = 'C:\DOCUME~1\mcaramel\LOCALS~1\Temp'
UID = 'mcaramel'
USERDNSDOMAIN = 'CISCO.COM'
USERDOMAIN = 'CISCO'
USERNAME = 'mcaramel'
USERPROFILE = 'C:\Documents and Settings\mcaramel'
windir = 'C:\WINDOWS'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS 95393Mb  54% CP CS UN PA FC 
d:  cd  CDFS 0Mb -2147483548%CS  Audio CD

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
  /cygdrive  system  binmode,cygdrive

Not Found: awk
Not Found: bash
Not Found: cat
Not Found: cp
Not Found: cpp (good!)
Not Found: crontab
Not Found: find
Not Found: gcc
Not Found: gdb
Not Found: grep
Not Found: kill
Not Found: ld
Not Found: ls
Not Found: make
Not Found: m

Re: not able to start command interpreter after installation

2007-09-10 Thread Brian Dessent
Michele Caramello wrote:

> - Downloaded the whole package on my disk
> - Installed 'Default' proposed configuration from 'Local repository' on
> c:\cygwin: installation successful

What does this mean, downloaded the "whole package"?  Your installation
is broken because you are missing a number of required packages. 
Looking at your cygcheck output, the following packages should have been
installed but were not:

alternatives
ash
base-files
base-passwd
bzip2
crypt
cygutils
findutils
groff
libbz2
libiconv2
libintl2
libintl8
libncurses8
libpcre0
libpopt0
libreadline6
mktemp
rebase
run
tar
termcap
terminfo
texinfo

Setup should have found and installed all of these, so try just running
it again and accepting all the options.  If it does not try to install
them then it probably can't as they aren't in the local install cache,
which means you need to download them.  Some of the above are not
technically required, but many are, notably the lib* ones.  There is no
way Cygwin can function with what you currently have installed, though.

Brian

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



Re: problem with xemacs 21.4.20

2007-09-10 Thread René Berber
Weigert, Thomas wrote:

> Sorry, I found a workaround to my question. There is an option --hide to
> cygstart that avoids that shell window.
> 
> So I created a shortcut that invokes xemacs via cygstart --hide, as in
> C:\cygwin\bin\bash.exe --login -c 'cygstart --hide /c/cygwin/bin/xemacs'

Try (as a desktop shortcut):

C:\cygwin\bin\run.exe xemacs

-- 
René Berber


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



Re: Win32Core module question

2007-09-10 Thread Reini Urban

John Neil schrieb:
Thanks.  For now I installed the previous version of the Cygwin 
perl-libwin32 package, but I agree there should be some way to access 
the non-core Win32 routines that were previously available without 
having to install the Win32 module yourself.


Oops, I seem to have forgot my promise to add Win32.pm to CORE,
when Jan removed it from libwin32.

perl-libwin32-0.26 has it. perl-libwin32-0.27 not anymore.
perl-5.8.8 needs another update, sorry.

Our quality process is really bad.


I'm happy to beta test any changes.
 
Regards,
 
John



*From:* Jan Dubois [mailto:[EMAIL PROTECTED]
*Sent:* Monday, September 10, 2007 12:06 PM
*To:* John Neil
*Cc:* 'Reini Urban'
*Subject:* RE: Win32Core module question

Hi John,

 

Sorry for the slow response; I was extremely busy the whole last week 
and didn’t reply to most non-work email.


I have CC’ed this message to Reini, who is the Cygwin maintainer for the 
Perl packages and might have a better idea what is going on.


 From my point of view it looks like this: The perl-libwin32 package was 
updated to version 0.27, which no longer contains the Win32 module, but 
there is no separate perl-win32 package.


I’m somewhat surprised that this hasn’t come up earlier.  The best way 
forward from my point of view would be to build a new 
perl-libwin32-0.27-2 package that includes Win32.  This will then need 
to be removed again once Cygwin updates to Perl 5.8.9 or 5.10.


Cheers,
-Jan
 


*From:* John Neil [mailto:[EMAIL PROTECTED]
*Sent:* September 5, 2007 10:25 AM
*To:* [EMAIL PROTECTED]
*Subject:* Win32Core module question

 


Jan,

  You're listed at the owner of the CPAN Perl module Win32, so I'm 
hoping you can answer a Cygwin-related question about it.


  I'm working on updating a release of Cygwin we use internally at 
NVIDIA.  I've written a Perl script to auto-configure Cygwin after 
installation that uses these non-core Win32 module functions:


  Win32::IsAdminUser()
  Win32::LookupAccountName()

  In our current version of Cygwin (1.5.21-2) one gains access to these 
functions with:


  use Win32;

  However, in the latest version of Cygwin (1.5.24-2), the Win32.pm 
module does not exist.  The Win32 CORE functions can now be accessed 
directly without loading the module, but the non-core functions don't 
appear to exist anywhere.  I grepped the entire Perl install for the 
routines that they don't show up.  I installed the complete Cygwin 
1.5.24-2 package list and they still don't appear.  How does one access 
them?   I can't install Win32 from CPAN on the fly because the system 
may not have network access when it is configured by my script.  Does my 
script have to include it's own local copy of the Win32 module?


Thanks,
John



--
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/

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



Re: Win32Core module question

2007-09-10 Thread Charles Wilson
> Our quality process is really bad.

It's a volunteer-supported project. Do the best you can, and don't take
any guff when (not if) you make a mistake. We're all human, and our
"customers" are getting more than they paid for, anyway.

--
Chuck

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



Re: Win32Core module question

2007-09-10 Thread Christopher Faylor
On Mon, Sep 10, 2007 at 05:05:35PM -0400, Charles Wilson wrote:
>> Our quality process is really bad.
>
>It's a volunteer-supported project. Do the best you can, and don't take
>any guff when (not if) you make a mistake. We're all human, and our
>"customers" are getting more than they paid for, anyway.

And don't forget, you can always claim that you did it on purpose since:
WJM.

cgf

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



RE: gcc-dw2? or fast sjlj-exceptions EH

2007-09-10 Thread Danny Smith
At http://www.cygwin.com/ml/cygwin/2007-09/msg00194.html

Tatsuro Matsuoka wrote:

> The best solution, I think, the speed of sjlj-exceptions EH on the 
> cygwin is as fast as that of other platforms.
> 

In the case of octave, I believe that the main cause of slowdown is the
sjlj EH code generated in prologue of new()
Does a no-throw override of libary version of these functions help ?  


Danny
#ifdef __USING_SJLJ_EXCEPTIONS__
#define NEW_THROW_SPEC throw()
#else
#define NEW_THROW_SPEC throw(std::bad_alloc)
#endif 

#include ...

void *
operator new (std::size_t sz) NEW_THROW_SPEC
{
  void *p;

  /* malloc (0) is unpredictable; avoid it.  */
  if (sz == 0)
sz = 1;
  p = (void *) malloc (sz);
  while (p == 0)
{
  new_handler handler = __new_handler;
  if (! handler)
#ifdef __USING_SJLJ_EXCEPTIONS__
std::abort();
#else
  throw bad_alloc();
#endif
  handler ();
  p = (void *) malloc (sz);
}

  return p;
}

void *
operator new[] (std::size_t sz) NEW_THROW_SPEC
{
  return ::operator new(sz);
}


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



catgets man page and docs missing?

2007-09-10 Thread LDR

Are they?

Google seems to think they exist. My config knows of none.

Or, is my config screwed up?

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



Re: gcc-dw2? or fast sjlj-exceptions EH

2007-09-10 Thread Tatsuro MATSUOKA
Thank you Danny.

My ability is not high enough so that I will discuss your suggestion 
in the Octave ML.

Tatsuro MATSUOKA


Danny Smith <[EMAIL PROTECTED]> wrote:
(2007/09/11 07:06)

>At http://www.cygwin.com/ml/cygwin/2007-09/msg00194.html
>
>Tatsuro Matsuoka wrote:
>
>> The best solution, I think, the speed of sjlj-exceptions EH on the 
>> cygwin is as fast as that of other platforms.
>> 
>
>In the case of octave, I believe that the main cause of slowdown is the
>sjlj EH code generated in prologue of new()
>Does a no-throw override of libary version of these functions help ?  
>
>
>Danny
>#ifdef __USING_SJLJ_EXCEPTIONS__
>#define NEW_THROW_SPEC throw()
>#else
>#define NEW_THROW_SPEC throw(std::bad_alloc)
>#endif 
>
>#include ...
>
>void *
>operator new (std::size_t sz) NEW_THROW_SPEC
>{
>  void *p;
>
>  /* malloc (0) is unpredictable; avoid it.  */
>  if (sz == 0)
>sz = 1;
>  p = (void *) malloc (sz);
>  while (p == 0)
>{
>  new_handler handler = __new_handler;
>  if (! handler)
>#ifdef __USING_SJLJ_EXCEPTIONS__
>std::abort();
>#else
> throw bad_alloc();
>#endif
>  handler ();
>  p = (void *) malloc (sz);
>}
>
>  return p;
>}
>
>void *
>operator new[] (std::size_t sz) NEW_THROW_SPEC
>{
>  return ::operator new(sz);
>}
>
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:   http://cygwin.com/problems.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/


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



Re: Win32Core module question

2007-09-10 Thread Yitzchak Scott-Thoennes
On Mon, September 10, 2007 12:34 pm, Reini Urban wrote:
> John Neil schrieb:
>
>> Thanks.  For now I installed the previous version of the Cygwin
>> perl-libwin32 package, but I agree there should be some way to access the
>> non-core Win32 routines that were previously available without having to
>> install the Win32 module yourself.
>
> Oops, I seem to have forgot my promise to add Win32.pm to CORE,
> when Jan removed it from libwin32.
>
> perl-libwin32-0.26 has it. perl-libwin32-0.27 not anymore. perl-5.8.8
> needs another update, sorry.
>
> Our quality process is really bad.

I noticed the situations when John asked about this last week at
http://perlmonks.org/?node_id=637296 and I started to email you,
but then got distracted.  I'm glad someone ended up getting in
touch with you.

You should be able to just remove the win32/ext/Win32/ files and include
the win32/ext/Win32 files from maint and change MANIFEST accordingly.
Pedantically, it would also be nice to use the Configure patch in
http://public.activestate.com/cgi-bin/perlbrowse/p/30733

Win32API::File is still in libwin32, since even for MSWin32 builds
it won't move to the core till 5.8.9, correct?

Thanks for all your work on cygwin perl.


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



Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-10 Thread Jim Kleckner

Jim Kleckner wrote:

Jim Kleckner wrote:

I tried running
/lib/python2.5/test/test_thread.py
and it hangs at the line below:

*** Changing thread stack size ***
caught expected ValueError setting stack_size(4096)
successfully set stack_size(262144)
successfully set stack_size(1048576)
successfully set stack_size(0)
trying stack_size = 262144
creating task 1


Hm.  Redirecting output from test_thread.py lets it complete.
python test_thread.py >& /tmp/t
python testall.py redirected completes but hangs in same spot
if not redirected.

This is all using today's snapshot.


Brian, you mentioned that you detected the other problem
with single-stepping in GDB.  Would you be able to
publish the setup steps to enable me/others to find
this sort of problem?

It seems likely that the problem is in cygwin since the
test passes with redirection and works in the stock
Python25 distro.  Potentially similar to the other thread
issue you found?

Thanks - Jim

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



Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-10 Thread Jim Kleckner

Jim Kleckner wrote:

Jim Kleckner wrote:

I tried running
/lib/python2.5/test/test_thread.py
and it hangs at the line below:

*** Changing thread stack size ***
caught expected ValueError setting stack_size(4096)
successfully set stack_size(262144)
successfully set stack_size(1048576)
successfully set stack_size(0)
trying stack_size = 262144
creating task 1


Hm.  Redirecting output from test_thread.py lets it complete.
python test_thread.py >& /tmp/t
python testall.py redirected completes but hangs in same spot
if not redirected.

This is all using today's snapshot.


And of course using strace causes it to run to completion.

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



Re: Threading issue in cygwin python 2.5.1-2 ?

2007-09-10 Thread Jim Kleckner

Jim Kleckner wrote:

Jim Kleckner wrote:

I tried running
/lib/python2.5/test/test_thread.py
and it hangs at the line below:

*** Changing thread stack size ***
caught expected ValueError setting stack_size(4096)
successfully set stack_size(262144)
successfully set stack_size(1048576)
successfully set stack_size(0)
trying stack_size = 262144
creating task 1


Hm.  Redirecting output from test_thread.py lets it complete.
python test_thread.py >& /tmp/t
python testall.py redirected completes but hangs in same spot
if not redirected.

This is all using today's snapshot.


And of course using strace causes it to run to completion
even when not redirected.

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



Re: catgets man page and docs missing?

2007-09-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to LDR on 9/10/2007 4:20 PM:
> Are they?
> 
> Google seems to think they exist.

Yes, but not in cygwin.  Try "cygcheck -p 'catgets\.[0-9]'" to verify this.

> My config knows of none.
> 
> Or, is my config screwed up?

No - you are correct that cygwin does not currently provide a catgets man
page.  Volunteers welcome - are you offering to write one?

Three other things to think about.  gettext tends to be more powerful and
flexible than catgets, and is the i18n library of choice among GNU
programs, not to mention it has a man page.  Also, cygwin does not (yet)
have good locale support, so catgets doesn't really do much right now.
Finally, in the world of GNU software, info pages tend to be preferred
over man pages, so you will sometimes be missing out on documentation if
you don't also try the info pages (although in the case of the catgets,
there isn't any documentation in the distribution package).

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5fuC84KuGfSFAYARAuNvAKDYckf1ESFOcHIz3MRWUjnnl4EAGQCguz92
ivipqdSnSDIdSISsqpZFSDI=
=z/xd
-END PGP SIGNATURE-

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



RE: What I didn't know about ${PACKAGE}

2007-09-10 Thread zzapper
"Dave Korn" <[EMAIL PROTECTED]> wrote in news:037701c7f320$a111a660
[EMAIL PROTECTED]:

> On 08 September 2007 17:00, zzapper wrote:
> 
>> I should have read
>> 
>> /usr/share/doc/Cygwin/${PACKAGE}-${VER}.README
>> 
> 
> 
>   That's good generic advice!
> 
The starting point for cygwin doc
man cygwin
which points you to
man intro

which suggests

less /usr/share/doc/Cygwin/cron.README (which will not work because of the 
version number)

so use
less /usr/share/doc/Cygwin/cron* 


-- 
zzapper
http://www.rayninfo.co.uk/vimtips.html


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



Re: Cygwin Window closes immediately

2007-09-10 Thread Thorsten Kampe
* David FAY XX (SY/EPA) (Mon, 10 Sep 2007 15:32:07 +1000)
> I am having problems opening cygwin.

You cannot "start" Cygwin. You start bash.

> A window pops up when I double click on the shortcut on the desktop
> but it immediately closes.

Ever curious where this shortcut shortcuts to? It's called 
"cygwin.bat".

> Cygwin is installed in the following location: c:/cygwin.

And that's where the batch is located.

> Any suggestions? I'm using Windows XP. Also in setup.log file in
> /var/log directory it says "Installation Complete" Are there other
> log files I could check to see what is going on?

I thought it was common knowledge to start a batch from the command 
line if something does not work as it's supposed to do:

Start > Run > cmd.exe [Enter]

cd /d c:\cygwin [Enter]
cygwin.bat  [Enter]


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



Re: Webdav cadaver: script possible?

2007-09-10 Thread Richard Ivarson
... or maybe there is another client/programm to access Webdav from within 
Cygwin?



... or is there any way to feed scripted lines to a standard Cygwin command 
line programm? (Re-direction, somehow?)


-ric


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



Cygwin inoperable immediately following install

2007-09-10 Thread Asa Zernik
Hi:

I just tried to install Cygwin on an HP Pavilion running Windows XP Media
Center Edition (which I think is only different in having a some media
programs preloaded). After I installed Cygwin I tried to run (in this order)
the cygwin.bat batch file, ash.exe, bash.exe, and Run.exe. None opened; I
just got a generic dialog box from Windows saying that there was [A problem
running this program. Reinstallation may solve this problem.] (I
paraphrase). I tried that. Tried running random .exe files from the bin
directory.

After looking around at the FAQ, I checked out the setup.txt log; all I
found out of the ordinary was a series of pairs of lines along this format:

2007/09/10 22:25:26 running: C:\Cygwin\\bin\bash.exe -c
/etc/postinstall/00ash.sh
2007/09/10 22:25:26 abnormal exit: exit code=-1073741515

Are .sh files the post-install scripts that the install guide mentions? What
error does the exit code -1073741515 indicate?

Oh, and just noticing the beginning of the log, with a series of failed
fopen() calls; I don't think that would be a problem (I was installing from
directory), but I really have no idea.

How can I get Cygwin running on my system?

Thanks a lot,

asaz989

--
Copy of Setup Log (setup.txt)
--
2007/09/10 22:23:14 Starting cygwin install, version 2.573.2.2
2007/09/10 22:23:14 io_stream_cygfile: fopen(/etc/setup/last-action) failed
2 No such file or directory
2007/09/10 22:23:14 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed
2 No such file or directory
2007/09/10 22:23:14 io_stream_cygfile: fopen(/etc/setup/last-connection)
failed 2 No such file or directory
2007/09/10 22:23:14 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 2
No such file or directory
2007/09/10 22:23:14 Current Directory: F:\
2007/09/10 22:23:14 Changing gid to Users
2007/09/10 22:23:14 Could not open service McShield for query, start and
stop. McAfee may not be installed, or we don't have access.
2007/09/10 22:23:16 io_stream_cygfile: fopen(/etc/setup/installed.db) failed
2 No such file or directory
2007/09/10 22:23:16 source: from cwd
2007/09/10 22:23:41 root: C:\Cygwin\ binary system
2007/09/10 22:23:47 source: from cwd
2007/09/10 22:23:48 root: C:\Cygwin\ binary system
2007/09/10 22:23:57 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 2
No such file or directory
2007/09/10 22:23:57 Selected local directory: C:\Documents and
Settings\Administrator\Desktop\DELETE
2007/09/10 22:23:58 io_stream_cygfile: fopen(/etc/setup/timestamp) failed 2
No such file or directory
2007/09/10 22:24:39 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/alternatives/alternatives-
1.3.29a-1.tar.bz2
2007/09/10 22:24:39 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/ash/ash-
20040127-3.tar.bz2
2007/09/10 22:24:39 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/base-files/base-
files-3.7-1.tar.bz2
2007/09/10 22:24:40 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/base-passwd/base-
passwd-2.2-1.tar.bz2
2007/09/10 22:24:40 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/bash/bash-
3.2.25-16.tar.bz2
2007/09/10 22:24:40 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/bzip2/bzip2-
1.0.3-2.tar.bz2
2007/09/10 22:24:41 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/coreutils/coreutils-
6.9-4.tar.bz2
2007/09/10 22:24:46 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/crypt/crypt-
1.1-1.tar.bz2
2007/09/10 22:24:48 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/cygutils/cygutils-
1.3.2-1.tar.bz2
2007/09/10 22:24:48 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/cygwin/cygwin-
1.5.24-2.tar.bz2
2007/09/10 22:24:50 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/cygwin-doc/cygwin-
doc-1.4-4.tar.bz2
2007/09/10 22:24:54 Installing file://C:\Documents and
Settings\Administrator\Desktop\DELETE/http%3a%2f%2fwww.centervenus.com%2fmirrors%2fcygwin/release/editrights/editrights-
1.01-1.tar.bz2
2007/09/10 22:24:54 Installing fi

setup.exe crashes upgrading (uninstalling) bash

2007-09-10 Thread Mario Frasca
On 2007-0820 06:07:47, Eric Blake wrote:
> According to wei on 8/19/2007 3:09 PM:
> > It's a popup box from setup.exe. I also attached the cygcheck.out in the
> > email
> 
> And what did the popup say?  Nothing in your cygcheck output
> is jumping out at me as unusual, but without knowing what the
> crash said, I don't know the full picture.

the original thread is a bit aged, this is why I'm starting a new one...

the same problem was reported on 19th Aug by Xie Wei...

he didn't solve the problem, he just reinstalled all of cygwin from scratch.
this isn't really an option for me (or at least I want to be sure that I don't
loose my users' data and the list of installed packages).
I can debug here, if I have an executable with debug info.

Eric, you were asking for more literal information, I hope this is what you 
mean:

start cygwin setup,
follow all options until I get at 'select packages',
click on [view] until I get the partial view,
only package to update is bash,
from current 3.2.17-15 to new 3.2.25-16,
click on [volgende] ([next] but in dutch),

next is this mostly dutch popup (I work for a dutch company):

text in window decoration: 
 setup.exe

white upper frame saying:
 In setup.exe is een fout opgetreden en moet worden
 afgesloten. Onze excuses voor dit ongemak.

on the right hand side there is the icon of setup.exe.

then the lower part of the popup says:
 U was bezig met een bewerking. Deze gegevens zijn mogelijk verloren
 gegaan.

 Vertel Microsoft over dit probleem.
 We have created an error report that you can send to us.  We will treat
 this report as confidential and anonymous.

 Als u de inhoud van dit foutenrapport wilt weergeven, _klikt u hier._

 [Fouten opsporen]   [Rapport verzenden] [Niet verzenden]

two files are generated at the same time, put in my Local\ Settings/Temp
directory: 
  -rw-rw-rw-   1 Mario Frasca root   1280643 09-07 09:09 9227207.dmp
  -rw-rw-rw-   1 Mario Frasca root  8742 09-07 09:09 707a_appcompat.txt

they are removed when I click on [Niet verzenden].

what do you suggest?
I already tried to reboot the system and do the update as first thing,
but setup.exe crashes all the same...  by the way, I'm using Setup.exe
version 2.573.2.2

if I say I want to debug the program ([Fouten opsporen]), I get here:

 004AC7CD  lea esi,[esi] 
 004AC7D0  mov eax,dword ptr [ebp-14h] 
 004AC7D3  mov eax,dword ptr [eax] 
 004AC7D5  mov dword ptr [ebp-14h],eax 
 004AC7D8  xor ecx,ecx 
 004AC7DA  testeax,eax 
 004AC7DC  mov edx,5 
 004AC7E1  je  004AC7E8 
>004AC7E3  mov ecx,dword ptr [eax+18h] 

thanks,
Mario




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



Re: Cygwin inoperable immediately following install

2007-09-10 Thread Erich Dollansky

Hi,

Asa Zernik wrote:


I just tried to install Cygwin on an HP Pavilion running Windows XP Media
Center Edition (which I think is only different in having a some media


this should not be the cause of the problem.


2007/09/10 22:25:26 running: C:\Cygwin\\bin\bash.exe -c
/etc/postinstall/00ash.sh
2007/09/10 22:25:26 abnormal exit: exit code=-1073741515

Are .sh files the post-install scripts that the install guide mentions? What
error does the exit code -1073741515 indicate?


See .sh files as .bat like you know from Windows.

It seems that certain files are missing.


How can I get Cygwin running on my system?


Can you run setup again with downloading the missing files from the 
Internet?


Erich

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



Re: setup.exe crashes upgrading (uninstalling) bash

2007-09-10 Thread Morgan Gangwere
it seems it vista... if it IS, then right-click setup.exe, run as administrator.

-- 
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.

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