Core dump calling strptime()

2005-11-18 Thread David Arnstein
Here is a very short test program that causes a "core dump." Please 
compile it using the command

gcc -Wall testspt.c -o testspt

Run the resulting executable testspt.exe with no arguments. Core dump 
ensues.


The attached file cygcheck.out is the output from the command
cygcheck -s -v -r
from the computer where I compiled and executed testspt.exe.

In case anyone cares, I get this problem when I compile and use 
newsyslog in Cygwin. Newsyslog calls strptime() several times on the 
same message string, trying to find a parsing method that it recognizes. 
It is to be expected that strptime() will fail often, but it is NOT 
reasonable to core dump, in my opinion.


File testspt.c:
--
#include 

int main (int argc, char* argv[])
{
char* retval;
struct tm tms;
char message[] =
"INFO  Nov 17 09:31:01 [67284]: Initializing tinyproxy ...";

retval = strptime (message, "%c", &tms);

return 0;
}
--
David Arnstein
[EMAIL PROTECTED]

Cygwin Configuration Diagnostics
Current System Time: Thu Nov 17 23:57:46 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   E:\cygwin\usr\local\bin
E:\cygwin\bin
E:\cygwin\bin
E:\cygwin\usr\X11R6\bin
d:\Bin
d:\Bin32
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
d:\win32app\sysinternals
.\

Output from E:\cygwin\bin\id.exe (nontsec)
UID: 1003(David) GID: 513(None)
0(root)  513(None)544(Administrators)
545(Users)   1005(Debugger Users)

Output from E:\cygwin\bin\id.exe (ntsec)
UID: 1003(David) GID: 513(None)
0(root)  513(None)544(Administrators)
545(Users)   1005(Debugger Users)

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

USER = `David'
PWD = `/cygdrive/c/temp'
CYGWIN = `server ntea ntsec smbntsec'
HOME = `/cygdrive/d/Users/David'
MAKE_MODE = `unix'

HOMEPATH = `\Users\David'
MANPATH = `/usr/man:/usr/share/man:/usr/ssl/man:/usr/X11R6/man:/usr/local/man'
APPDATA = `C:\Documents and Settings\David\Application Data'
VS71COMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
SHELL = `/bin/bash'
TERM = `cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
WINDIR = `C:\WINDOWS'
OLDPWD = `/cygdrive/d/Users/David'
USERDOMAIN = `OWL'
OS = `Windows_NT'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
TEMP = `/cygdrive/c/Temp'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
USERNAME = `David'
PAGER = `most'
PROCESSOR_LEVEL = `15'
FP_NO_HOST_CHECK = `NO'
SYSTEMDRIVE = `C:'
USERPROFILE = `C:\Documents and Settings\David'
DZK20DIRECTORY = `D:\Users\David\DezkTop'
PS1 = `\h \!> '
LOGONSERVER = `\\OWL'
PROCESSOR_ARCHITECTURE = `x86'
INIT_COMPLETE = `true'
MANPAGER = `most -s'
SHLVL = `1'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = `D:'
!D: = `D:\Users\David'
PROMPT = `$P$G'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
LESS = `-i -e -q'
TMP = `/cygdrive/c/Temp'
SYSTEMROOT = `C:\WINDOWS'
PROCESSOR_REVISION = `0209'
!E: = `E:\cygwin\bin'
PROGRAMFILES = `C:\Program Files'
NUMBER_OF_PROCESSORS = `2'
SESSIONNAME = `Console'
COMPUTERNAME = `OWL'
_ = `/usr/bin/cygcheck'
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) = `E:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/exper
  (default) = `G:\mnt'
  flags = 0x080a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `E:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `E:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd N/AN/A
c:  hd  NTFS 10001Mb  54% CP CS UN PA FC MXT2 1
d:  hd  NTFS 14001Mb  70% CP CS UN PA FC MXT2 2
e:  hd  NTFS 18002Mb  39% CP CS UN PA FC MXT2 3
f:  hd  NTFS 34334Mb  39% CP CS UN PA FC WDC2 4
g:  hd  NTFS 57207Mb  66% CP CS UN PA FC WDC7 1
h:  cd  CDFS   434Mb 100%CS UN   AHD4
i:  cd  CDFS49Mb 100%CS UN   020719_1112
j:  cd  CDFS  3290Mb 100%CS  L05AXLRD1
k:  cd  CDFS   559Mb 100%CS  GEO13NA
l:  cd  CDFS  1922Mb 100%CS UN   QTR40ENUD1
m:  cd  CDFS  1481Mb 100%CS UN   VSENARD1
n:  cd  CDFS   112Mb 100%CS  WINRESKIT
y:  cd

Re: 1.5.18: problem with drag and drop using XEmacs

2005-11-18 Thread Dr. Volker Zell
> David Rothenberger writes:

> On 11/17/2005 1:26 AM, Frank Papenfuss wrote:
>> When I try to drag and drop a file into XEmacs it will not open the
>> file. I am not using X, just plain Windows. This behaviour of XEmacs
>> is specific to the distribution that comes with cygwin.

> XEmacs needs to be built with the "--with-dragndrop" option to
> configure to support drag and drop under Windows. I don't believe the
> Cygwin distribution is built with this flag because it caused some
> problems for some users. See
> .

> I have been building my own XEmacs 21.4 with support for Windows and
> XEmacs under Cygwin for a long time. I've always used --with-dragndrop
> and have never encountered any problems. You could try to download the
> 21.4 source package and rebuild with that option. Perhaps it will work
> for you, too.

I will check if the problems with DragAnDrop still persist. If not I
will upload new versions soon.

> David Rothenberger

Ciao
  Volker


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



[ANNOUNCEMENT] Updated: xemacs-21.4.17-2/xemacs-tags-21.4.17-2/xemacs-emacs-common-21.4.17-2

2005-11-18 Thread Dr. Volker Zell
Hi

A new version of 'xemacs' has been uploaded to a server near you.


DESCRIPTION:

A powerful, highly customizable open source text editor and application 
development system


CYGWIN NEWS:


* Recompiled with gcc-3.4.4/binutils-20050610

  Now supports postgresql-8.x and BerkeleyDB-3.4

  Now uses cygcompface-0.dll from compface-1.5.2

  Compiled with Athena 3D widget set (the versions before used the Lesstif
  Motif emulation). Now dialog boxes look more ugly but XEmacs doesn't crash
  anymore upon exit. Also the following warnigs printed in the shell from
  where XEmacs got started are now gone:

Warning: XtRemoveGrab asked to remove a widget not on the list




INSTALLATION:
=
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Save it and run setup, answer the questions and pick up
the above mentioned package from the 'Editors' category.


DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.

These mirrors already got the package, the others will probably have 
the latest version of this package fairly soon:

In the US

   ftp://mirrors.rcn.net/pub/sourceware/cygwin/ 

has reliable high bandwidth connections.


QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]


Enjoy
  Volker


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



[ANNOUNCEMENT] Updated: xemacs-21.5.23-1/xemacs-tags-21.5.23-1/xemacs-emacs-common-21.5.23-1

2005-11-18 Thread Dr. Volker Zell
Hi

A new *TEST* version of 'xemacs' has been uploaded to a server near you.


DESCRIPTION:

A powerful, highly customizable open source text editor and application 
development system


CYGWIN NEWS:


* Recompiled with gcc-3.4.4/binutils-20050610

  Now supports postgresql-8.x and BerkeleyDB-3.4

  Now uses cygcompface-0.dll from compface-1.5.2

  Compiled with Athena 3D widget set (the versions before used the Lesstif
  Motif emulation). Now dialog boxes look more ugly but XEmacs doesn't crash
  anymore upon exit. Also the following warnigs printed in the shell from
  where XEmacs got started are now gone:

Warning: XtRemoveGrab asked to remove a widget not on the list


Xemacs NEWS:


 * http://xemacs.org/Releases/21.5.23.html
 * http://xemacs.org/Releases/21.5.22.html
 * http://xemacs.org/Releases/21.5.21.html
 * http://xemacs.org/Releases/21.5.20.html
 * http://xemacs.org/Releases/21.5.19.html
 * http://xemacs.org/Releases/21.5.18.html
 * http://xemacs.org/Releases/21.5.17.html

 

INSTALLATION:
=
To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Save it and run setup, answer the questions and pick up
the above mentioned package from the 'Editors' category.


DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need
to find a mirror which has this update.

These mirrors already got the package, the others will probably have 
the latest version of this package fairly soon:

In the US

   ftp://mirrors.rcn.net/pub/sourceware/cygwin/ 

has reliable high bandwidth connections.


QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send
email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]


Enjoy
  Volker


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



1.5.18: Problem installing automake1.9

2005-11-18 Thread Colin Eberhardt
Dear All,

I am a first time user of cygwin so I hope this is not a stupid
question. I have searched the archives and googled the web but have not
found an answer yet.

I am hoping to do some C++ development and wish to use GCC, GDB etc...
from cygwin.

I have installed everything I need, apart from automake1.9. The files
are all unpacked, however when the installer runs:

"etc/postinstall/automake1.9.sh"

The following pops up:

"The procedure entry point ___getreent could not be located in the
dynamic link library cygwin.dll"

I thought that this is the type of error that you see if the wrong
versions of files are being used when trying to link or execute
components?

I am running the installer directly from the cygwin homepage.

Any suggestions?

Colin Eberhardt
Software Engineer
eMail: [EMAIL PROTECTED]

TecSphere Ltd
Centre for Advanced Industry
Coble Dene, Royal Quays
Newcastle upon Tyne NE29 6DE
United Kingdom

Direct Dial: +44 (191) 270 31 13
Fax: +44 (191) 270 31 09
http://www.tecsphere.com



--
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: Core dump calling strptime()

2005-11-18 Thread Corinna Vinschen
On Nov 18 00:01, David Arnstein wrote:
> Here is a very short test program that causes a "core dump." Please 
> compile it using the command
>   gcc -Wall testspt.c -o testspt
> 
> Run the resulting executable testspt.exe with no arguments. Core dump 
> ensues.
> 
> The attached file cygcheck.out is the output from the command
>   cygcheck -s -v -r
> from the computer where I compiled and executed testspt.exe.
> 
> In case anyone cares, I get this problem when I compile and use 
> newsyslog in Cygwin. Newsyslog calls strptime() several times on the 
> same message string, trying to find a parsing method that it recognizes. 
> It is to be expected that strptime() will fail often, but it is NOT 
> reasonable to core dump, in my opinion.
> 
> File testspt.c:
> --
> #include 
> 
> int main (int argc, char* argv[])
> {
> char* retval;
> struct tm tms;
> char message[] =
> "INFO  Nov 17 09:31:01 [67284]: Initializing tinyproxy ...";
> 
> retval = strptime (message, "%c", &tms);
> 
> return 0;
> }

This is a newlib problem.  I've redirected to the newlib mailing list
and set the reply-to accordingly.

Newlib's strptime function doesn't implement the 'c' and the 'Z'(*)
format specifiers.  If it encounters one of the non-implemented format
specifiers it calls the abort() function which then results in the core
dump.

I guess patches are thoughtfully considered on the newlib list ;-)


Corinna


(*) Z?  I don't see this format specifier defined on Linux, nor in the
SUSv3 man pages.  What's its job?


-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat, Inc.

--
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: unison-gtk2-2.10.2-1

2005-11-18 Thread Andrew Schulman
> > I'm sorry but I never have packaged unison-gtk2 for Cygwin.  I did try
> > at first, but ran into a fatal error that seemed to be caused by
> > lablgtk2, the OCaml interface to GTK2.  I wasn't able to solve it right
> > away, and since I only use the text interface myself, I've never gotten
> > back to it.
> 
> lablgtk2 doesn't build OOTB on Cygwin, as it assumes that we use a Win32
> target instead of X11.
> 
> I'm attaching a patch which I used to compile lablgtk2, or if you
> prefer, I have packages available at:
> 
> ftp://sunsite.dk/projects/cygwinports/release/ocaml/lablgtk2/
> 
> As I know nothing about OCaml, I don't know if this will fix the patch,
> but perhaps it could be a start to getting this working.

Yaakov, sorry I didn't get back to you sooner.

As part of my attempt to build unison-gtk2 for Cygwin, I did successfully
build and package lablgtk2 for Cygwin.  It's available through the setup
utility.  So the problem isn't building lablgtk2, but rather an error in
unison-gtk2 that seems to be caused by lablgtk2.  But it's been a while and
I'm afraid I don't remember the details now.


--
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: 1.5.18: Problem installing automake1.9

2005-11-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Colin Eberhardt on 11/18/2005 3:20 AM:
> The following pops up:
> 
> "The procedure entry point ___getreent could not be located in the
> dynamic link library cygwin.dll"

Actually, the error message probably refers to cygwin1.dll, not cygwin.dll.

That is a classic sign that you have incompatible versions of cygwin1.dll
installed on your path.  Please follow these directions...

> Problem reports:   http://cygwin.com/problems.html

... by attaching the output 'cygcheck -svr', we can help guide you to
which duplicate copy needs to be deleted.

- --
Life is short - so eat dessert first!

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

iD8DBQFDfc7B84KuGfSFAYARAjOlAKDY51kPrrJ7N3eUY7g9Wjg4F9LQPACfRXjJ
+7thBr+sxuCO4XVdnTa+5nY=
=DeFi
-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: PerlTk under Cygwin?

2005-11-18 Thread Gerrit P. Haase

Gerrit P. Haase wrote:


Gerrit P. Haase wrote:

Christopher Faylor wrote:

On Thu, Nov 17, 2005 at 08:38:26AM -0600, Thrall, Bryan wrote:

And I'd love to have PerlTk officially packaged :-)

If you're building it OOTB, you're only a couple of steps away from
being a package maintainer.  Want to volunteer?

Indeed, it builds, not entirely OOTB, there are some include paths
missing, I fixed it by copying one header to two other locations, then
it works.

And, besides it builds without errors I cannot run the test, nearly
all tests are failing for me.  Sigh!


My fix was wrong, the requested header is not to be included and the 
build went fine too.  With the fix from Yaakov I get only few errors

when running the testsuite.  create.t seems to hang.  The widget demo
does not act properly, e.g. when running the first demo.

Yaakov, what are your test results?


Gerrit
--
=^..^=

--
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: 1.5.18: Problem installing automake1.9

2005-11-18 Thread Gerrit P. Haase

Colin Eberhardt wrote:


Dear All,

I am a first time user of cygwin so I hope this is not a stupid
question. I have searched the archives and googled the web but have not
found an answer yet.

I am hoping to do some C++ development and wish to use GCC, GDB etc...
from cygwin.

I have installed everything I need, apart from automake1.9. The files
are all unpacked, however when the installer runs:

"etc/postinstall/automake1.9.sh"

The following pops up:

"The procedure entry point ___getreent could not be located in the
dynamic link library cygwin.dll"

I thought that this is the type of error that you see if the wrong
versions of files are being used when trying to link or execute
components?

I am running the installer directly from the cygwin homepage.

Any suggestions?


You have an old version of cygwin1.dll installed, update only cygwin
at first and then reinstall the wanted packages using setup.exe.


Gerrit
--
=^..^=

--
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: PerlTk under Cygwin?

2005-11-18 Thread Thrall, Bryan
Gerrit P. Haase wrote on Friday, November 18, 2005 6:56 AM:
> Gerrit P. Haase wrote:
> 
>> Gerrit P. Haase wrote:
>>> Christopher Faylor wrote:
 On Thu, Nov 17, 2005 at 08:38:26AM -0600, Thrall, Bryan wrote:
> And I'd love to have PerlTk officially packaged :-)
 If you're building it OOTB, you're only a couple of steps away from
 being a package maintainer.  Want to volunteer?

Well, since Yaakov beat me to the punch ... :-)

>>> Indeed, it builds, not entirely OOTB, there are some include paths
>>> missing, I fixed it by copying one header to two other locations,
>>> then it works.
>> And, besides it builds without errors I cannot run the test, nearly
>> all tests are failing for me.  Sigh!
> 
> My fix was wrong, the requested header is not to be included and the
> build went fine too.  With the fix from Yaakov I get only few errors
> when running the testsuite.  create.t seems to hang.  The widget demo
> does not act properly, e.g. when running the first demo.
> 
> Yaakov, what are your test results?
> 
> 
> Gerrit
> --
> =^..^=

Unfortunately, I'm under time constraints right now, so I won't be able
to test PerlTk until about a week from Monday. I'll let you know how it
goes then.

Thanks for putting this out, Yaakov!
-- 
Bryan Thrall
FlightSafety International
[EMAIL PROTECTED]

--
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: Core dump calling strptime()

2005-11-18 Thread Erik Cumps
Corinna said:

> Newlib's strptime function doesn't implement the 'c' and the 'Z'(*)
> format specifiers.  If it encounters one of the non-implemented format
> specifiers it calls the abort() function which then results in the core
> dump.

> (*) Z?  I don't see this format specifier defined on Linux, nor in the
> SUSv3 man pages.  What's its job?

>From 'man strptime' on a Mandrake 9.2 system:

STRPTIME(3)Linux Programmer's Manual STRPTIME(3)
...
GNU EXTENSIONS
   For reasons of symmetry, glibc tries to support for strptime  the 
same
   format  characters  as  for strftime.  (In most cases the 
corresponding
   fields are parsed, but no field in tm is changed.)  This leads to
...
   %Z The timezone name.

HTH,
Erik

PS: originally sent to [EMAIL PROTECTED] and [EMAIL PROTECTED],
but obviously that mail never arrived here...  ^^^

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

2005-11-18 Thread David Svoboda

I have built a C++ server program called 'analyzer'. But when I try to
run it, it fails upon trying to execute a 'fork' command. Why?


   $ analyzer --KANTOO_LANGUAGE=toy -server-multiple -fork
   Analyzer 2.0
***  5 [main] analyzer 1712 
fhandler_disk_file::fixup_mmap_after_fork: requested 0x1873 != 0x0 
mem alloc base 0x1873, state 0x1000, size 4096, Win32 error 487
*** d:\svoboda\kantoo\bin\analyzer (1712): *** 
recreate_mmaps_after_fork_failed
*** 9 [main] analyzer 2200 fork_parent: child 1712 died waiting for 
dll loading

*** Failed to fork properly!
]0;~
[EMAIL PROTECTED] ~
$

The *** lines indicate the errors.

Version info: The analyzer was built with G++ 3.3.3, on WinXPSP2. Here
is the output of cygcheck. So why does the fork call fail?
~Dave


Cygwin Configuration Diagnostics
Current System Time: Fri Nov 18 11:23:33 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   d:\svoboda\kantoo\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\Program Files\ATI Technologies\ATI Control Panel
c:\Program Files\OpenAFS\Common
c:\Program Files\OpenAFS\Client\Program
c:\Program Files\MIT\Kerberos\bin
c:\Program Files\Java\j2re1.4.2_10\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 15467(svoboda) GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 15467(svoboda) GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

USER = `svoboda'
PWD = `/cygdrive/c/Documents and Settings/svoboda/Desktop'
HOME = `/cygdrive/c'
MAKE_MODE = `unix'

HOMEPATH = `\Documents and Settings\svoboda'
KANTOO_LANGUAGE = `halo'
MANPATH = `/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = `C:\Documents and Settings\svoboda\Application Data'
HOSTNAME = `quebec'
SVOBODA = `/cygdrive/d/svoboda'
TERM = `emacs'
SHELL = `bash'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 4 Stepping 3, GenuineIntel'
WINDIR = `C:\WINNT'
TMPDIR = `/cygdrive/c/DOCUME~1/svoboda/LOCALS~1/Temp'
EMACSDATA = `C:/Program Files/emacs-21.3/etc'
OLDPWD = `/cygdrive/c/Documents and Settings'
EMACSPATH = `C:/Program Files/emacs-21.3/bin'
CCC = `g++'
USERDOMAIN = `SCS'
OS = `Windows_NT'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
KANTOO = `/cygdrive/d/svoboda/kantoo'
EMACSLOCKDIR = `C:/Program Files/emacs-21.3/lock'
EMACS = `t'
TEMP = `/cygdrive/c/DOCUME~1/svoboda/LOCALS~1/Temp'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
SANDBOX = `/cygdrive/d/svoboda/kantoo'
EM_PARENT_PROCESS_ID = `4048'
TERMCAP = `emacs:co#80:tc=unknown:'
USERNAME = `svoboda'
PROCESSOR_LEVEL = `15'
FP_NO_HOST_CHECK = `NO'
SYSTEMDRIVE = `C:'
USERPROFILE = `C:\Documents and Settings\svoboda'
LANG = `ENU'
CLIENTNAME = `Console'
PS1 = `\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = `\\GEMSTONE'
EMACS_DIR = `C:/Program Files/emacs-21.3'
PROCESSOR_ARCHITECTURE = `x86'
EMACSLOADPATH = `C:/Program Files/emacs-21.3/site-lisp;C:/Program 
Files/emacs-21.3/../site-lisp;C:/Program Files/emacs-21.3/lisp;C:/Program 
Files/emacs-21.3/leim'
SHLVL = `1'
USERDNSDOMAIN = `SCS.AD.CS.CMU.EDU'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = `C:'
COMSPEC = `C:\WINNT\system32\cmd.exe'
TMP = `/cygdrive/c/DOCUME~1/svoboda/LOCALS~1/Temp'
SYSTEMROOT = `C:\WINNT'
PRINTER = `Microsoft Office Document Image Writer'
CVS_RSH = `/bin/ssh'
PROCESSOR_REVISION = `0403'
PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'
DESKTOP = `/cygdrive/d/svoboda/Desktop'
INFOPATH = `/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = `C:\Program Files'
NUMBER_OF_PROCESSORS = `2'
SESSIONNAME = `Console'
EMACSDOC = `C:/Program Files/emacs-21.3/etc'
COMPUTERNAME = `QUEBEC'
SONICCENTRAL = `C:\Program Files\Common Files\Sonic Shared\Sonic Central\'
_ = `/usr/bin/cygcheck'
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\Progra

[ANNOUNCEMENT] Updated: naim-0.11.8-1

2005-11-18 Thread Jon Allen
I've updated the naim version to 0.11.8-1.

This updates Naim to the official 0.11.8 release version.
AIM connections now use the TOC2 protocol driver, which
fixes the connection problem present in the previously
packaged version 0.11.7.2.  Naim now properly connects to
the AIM service by default.

jca

**

To update your installation, click on the "Install Cygwin
Now" link on the http://cygwin.com/ web page.  This
downloads setup.exe to your system.  Then, run setup and
answer all of the questions.

If you have questions or comments, please send them to the
Cygwin mailing list at: cygwin  cygwin.com .

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce
mailing list, look at the "List-Unsubscribe: " tag in the
email header of this message.  Send email to the address
specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com  cygwin.com

If you need more information on unsubscribing, start reading
here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available at this URL.

**


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



[ANNOUNCEMENT] New package: smartmontools-5.33cvs20051115

2005-11-18 Thread Christian Franke

The smartmontools package is now available in the Cygwin distribution.

Smartmontools contains utility programs (smartctl, smartd) to
control/monitor storage systems using the Self-Monitoring, Analysis and
Reporting Technology System (S.M.A.R.T.) built into most modern ATA and 
SCSI disks. In many cases, these utilities will provide advanced

warning of disk degradation and failure.

Project home page is at http://smartmontools.sourceforge.net/

Smartctl is a command line utility designed to perform tasks such as
printing the SMART self-test and error logs, enabling and disabling
SMART automatic testing, and initiating device self-tests.

Smartd is a daemon that monitors the drives every 30 minutes
(configurable), logs SMART errors and changes of SMART Attributes via
the syslog interface.
Smartd can also be configured to schedule self-tests and send email
warnings or run other scripts if problems are detected.

On Cygwin, smartd can be run as a windows service via cygrunsrv.


This first version was built from CVS snapshot 2005-11-15.
The build script in the Cygwin source package can be used to build both
the Cygwin and the native Windows release of smartmontools.


Please address questions related to the Cygwin port to the Cygwin
mailing list at , and questions related to S.M.A.R.T.
to the smartmontools mailing list at
<[EMAIL PROTECTED]>.

Christian


***

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.


If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin  cygwin.com .


*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:


cygwin-announce-unsubscribe-you=yourdomain.com  cygwin.com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


***


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



generic-build-script extension to update version numbers in README

2005-11-18 Thread Christian Franke

Hi,

the build-script of the smartmontools package creates the 
"Cygwin/package-*.README" file from 
"srcdir/CYGWIN-PATCHES/package.README.in" by replacing VER/REL with the 
current version/release numbers.


This might be useful for other packages to avoid extra editing of README 
on each minor release.


A patch for generic-build-script 1.43 is attached.

Christian

--- generic-build-script.orig   Sat Nov 12 15:21:55 2005
+++ generic-build-scriptFri Nov 18 10:54:58 2005
@@ -220,9 +220,16 @@
   mkdir -p ${objdir} && \
   conf )
 }
+buildreadme() {
+  sed "s//${VER}/g;s//${REL}/g"
+}
 build() {
   (cd ${objdir} && \
-  make CFLAGS="${MY_CFLAGS}" 2>&1 | tee ${makelogfile} )
+  make CFLAGS="${MY_CFLAGS}" 2>&1 | tee ${makelogfile} && \
+  if [ -f ${srcdir}/CYGWIN-PATCHES/${PKG}.README.in ]; then \
+buildreadme < ${srcdir}/CYGWIN-PATCHES/${PKG}.README.in \
+  > ${objdir}/${FULLPKG}.README; \
+  fi )
 }
 check() {
   (cd ${objdir} && \
@@ -230,7 +237,8 @@
 }
 clean() {
   (cd ${objdir} && \
-  make clean )
+  make clean && \
+  rm -f ${objdir}/${FULLPKG}.README )
 }
 install() {
   (cd ${objdir} && \
@@ -269,8 +277,11 @@
 /usr/bin/install -m 644 $templist \
 ${instdir}${prefix}/share/doc/${SHORTPKG} ; \
   fi && \
-  if [ -f ${srcdir}/CYGWIN-PATCHES/${PKG}.README ]; then \
-/usr/bin/install -m 644 ${srcdir}/CYGWIN-PATCHES/${PKG}.README \
+  if [ -f ${srcdir}/CYGWIN-PATCHES/${PKG}.README.in ]; then \
+/usr/bin/install -m 644 ${objdir}/${FULLPKG}.README \
+  ${instdir}${prefix}/share/doc/Cygwin/${SHORTPKG}.README ; \
+  elif [ -f ${srcdir}/CYGWIN-PATCHES/${PKG}.README ]; then \
+/usr/bin/install -m 644 ${srcdir}/CYGWIN-PATCHES/${PKG}.README ] \
   ${instdir}${prefix}/share/doc/Cygwin/${SHORTPKG}.README ; \
   elif [ -f ${srcdir}/CYGWIN-PATCHES/README ] ; then \
 /usr/bin/install -m 644 ${srcdir}/CYGWIN-PATCHES/README \

--
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: PerlTk under Cygwin?

2005-11-18 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gerrit P. Haase wrote:
> My fix was wrong, the requested header is not to be included and the
> build went fine too.  With the fix from Yaakov I get only few errors
> when running the testsuite.  create.t seems to hang.

create.t hangs by me also.  In the results below, I killed that process
so the tests would continue.

> The widget demo does not act properly, e.g. when running the first demo.

To which demo are you referring?  The Widget Demonstration
($top_srcdir/demos/widget) seems to run properly.

> Yaakov, what are your test results?

t/after..ok
t/autoload...ok
t/balloonok
t/browseentry-grabtest...ok
t/browseentry-subclassingok
t/browseentryok
t/browseentry2...ok
t/button.ok
t/create.dubious
Test returned status 0 (wstat 15, 0xf)
DIED. FAILED tests 356-528
Failed 173/528 tests, 67.23% okay
t/cursor.ok
t/dash...ok
t/dialogbox..ok
t/entry..ok
15/336 skipped: various reasons
t/fbox...ok
t/fileevent..ok
t/fileselect.ok
t/font...ok
t/fork...ok
t/geomgr.ok
t/iso8859-1..ok
t/JP.skipped
all skipped: locale's 'ascii' cannot represent Japanese.
t/KR.skipped
all skipped: locale's 'ascii' cannot represent Korean.
t/leak...ok
t/list...ok
t/listboxok
4/437 skipped: various reasons, 3/437 unexpectedly succeeded
t/listvarok
t/magic..ok
t/mega...ok
t/mwmok
t/optmenuok
t/photo..ok
4/100 skipped: various reasons
t/pixmap.ok
t/progbarok
t/regexp.ok
t/Requireok
t/slaves.ok
t/Trace..ok
t/trace1.ok
t/widget.ok
t/wm-timeok
t/wm.ok
t/X..ok
t/zzHListok
t/zzPhotook
t/zzScrolled.ok
t/zzText.ok
t/zzTixGrid..Failed 1/47 test scripts, 97.87% okay.
173/2054 subtests failed, 91.58% okay.
ok
make: *** [test_dynamic] Error 14
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-
---
t/create.t 015   528  346  65.53%  356-528
(3 subtests UNEXPECTEDLY SUCCEEDED), 2 tests and 23 subtests skipped.


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfif0piWmPGlmQSMRAjruAJ97iVXAIcph0cv5MHlKxuuCaJiLCwCgpsc4
a1jKZeE8ka7KFjLXGLufSB4=
=mMJp
-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: nfs problems

2005-11-18 Thread Rodrigo Amestica
On 11/14/05, Robb, Sam <[EMAIL PROTECTED]> wrote:
> If you have any interest in working on
> resolving it, I'd be happy to hear whatever else you can
> discover about the problem.

Hi Sam,

what I found is the following: in a machine like mine, in which I have
2 physical disk drives, I get the following from the stat command:

/exports/c
Device: c98ce9bh/211340955d Inode: 1407374883553285  Links: 9

/exports/d
Device: c847021ch/3360096796d   Inode: 1407374883553285  Links: 6

As you can see the device id is not the same but the inode it is!

Now, in libnfs/fhandle.c there is a function called pseudo_inode. For
cygwin this function creates a pseudo node id that enterely drops any
information about the device id. Therefore, what is happening is that
for a remote client /exports/c and /exports/d are mounted on the same
file system because fh_lookup has no means for resolving same inodes
on diffrent drives.

Inlined in the code of pseudo_inode there is a comment. The comment
seems to be valid for one single drive, but as soon as you have more
thatn 1 then the comment is, let's say, incorrect.

Perhaps, the author of that comment was very aware of this situation
and somewhere else annotated that this version of nfs-server is not
good for more than one drive.

Fixing the problem seems to be possible, but I just wonder about the
comment in pseudo_inode. Perhaps, there is something else I'm
overlooking.

thanks,
 Rodrigo

--
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: generic-build-script extension to update version numbers in README

2005-11-18 Thread Igor Pechtchanski

On Fri, 18 Nov 2005, Christian Franke wrote:


the build-script of the smartmontools package creates the
"Cygwin/package-*.README" file from
"srcdir/CYGWIN-PATCHES/package.README.in" by replacing VER/REL with the
current version/release numbers.

This might be useful for other packages to avoid extra editing of README
on each minor release.

A patch for generic-build-script 1.43 is attached.


Christian,

I'd like to discuss this patch, and cygwin-apps@ is the proper place for
this discussion.  It's nicer if the whole thread is on one list.  Would
you mind resubmitting this patch to [EMAIL PROTECTED]
Igor
--
http://cs.nyu.edu/~pechtcha/
 |\  _,,,---,,_ [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
|,4-  ) )-,_. ,\ (  `'-'Igor Pechtchanski, Ph.D.
   '---''(_/--'  `-'\_) fL  a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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



Selam

2005-11-18 Thread selin turkmen
Ailenizi Yaşatın!
Resimlerinizi Ölümsüzleştirin!
Hikayelerinizi Paylaşın!
Şiirlerinizi Tanıtın!

Siz hiç bir dijital günlük gördünüz mü?

Görmediyseniz çay içmeye bekleriz..

Adres: http://www.netlarus.com




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



[ANNOUNCEMENT] Selam

2005-11-18 Thread selin turkmen
Ailenizi Yaşatın!
Resimlerinizi Ölümsüzleştirin!
Hikayelerinizi Paylaşın!
Şiirlerinizi Tanıtın!

Siz hiç bir dijital günlük gördünüz mü?

Görmediyseniz çay içmeye bekleriz..

Adres: http://www.netlarus.com




--
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: Hang with 1.5.18, 1.5.19 snapshot 20051029 (now with 20051117)

2005-11-18 Thread Peter Rehley


Hi

I did some more testing and looking through source code, and it seems  
that the process that is hanging hasn't initialized yet.  When I do  
the cygwin kill command it returns with "No such process" and based  
on what I see in the code (pinfo.cc, pinfo::init) that can happen if  
the process is still waiting to be initialized.  Tthat's one case,  
the other case is when the process really doesn't exist.  But the  
process does exist, and it shows up in ps command and windows process  
viewer.


It's a guess that the hung process is waiting to be initialized, but  
I did try resuming the process using a program called "process  
explorer", and the hung process continued, finished, and the main  
test_configure also continued.


This implies that wait_sig (sigproc.cc) isn't called sometimes.

Of course this is pure speculation.  I'll keep trying to see if I can  
provide information that is more useful.


Peter

On Oct 31, 2005, at 4:09 PM, Peter Rehley wrote:


Hi,

I have a problem where a configure script is hanging.  I first saw  
the behavior in 1.5.18, and it's still there in the latest  
snapshot. The only machines that we are seeing it hang on are  
windows 2000 machines, sp4, with duel pentinum 933 mhz processors,  
and using ssh to login to the machine.  I haven't been able to  
reproduce the problem on single processor machines or when ssh is  
not used.


Under 1.5.18, the hang occurred about 1 in ten times in the  
test_configure script (provided in the bash_test.tar.bz2 file.   
Under the latest snapshot it's about 1 in 900.


When the hang happens it appears that a process is completed, but  
still can be found in the process directory.  The cmdline file says  
, but the process still shows up in the process list (ps - 
ef).  If I try to clean up by killing the process, the kill command  
says that the process doesn't exist.  The only way that I can make  
the hung process go away is by using the task manager to kill the  
process.


The simplest test I've gotten down to is:

### Simple Test
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for expr-configure 1.5.11-1.
#
# Report bugs to .
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## - ##
## M4sh Initialization.  ##
## - ##

set -xv

count=0
while [ ! -f stop ] ; do
  as_var=LC_MONETARY
  if (test -z "`(eval $as_var=C; export $as_var; echo ho) 2>&1`");  
then

echo "hi"
eval $as_var=C; export $as_var
  fi
  count=`expr $count + 1`
  echo $count
done
### End simple test

Someplace in the eval line the hang occurs.  Unfortunately I  
haven't had success when using strace.


If I've missed anything or there are questions about the above,  
please let me know.

Peter











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



strange bash behavior with CYGWIN=tty (was Re: [ANNOUNCEMENT] Updated: lynx-2.8.5-4)

2005-11-18 Thread Shankar Unni

Rodrigo Medina wrote:


The cycheck output is attached.


Can't see anything odd here. Of course, since you didn't use the '-v' 
and '-r' options, I don't see your environment, or your registry 
settings here.


But while I was playing around with my own settings to try to reproduce 
this (I normally don't set CYGWIN at all), I ran into something odd with 
bash. (Didn't even get as far as starting lynx).


Trying

  env CYGWIN=tty bash

gave me a bash in which the first command echoes properly, but the 
second and subsequent commands don't echo at all.


cygcheck output attached. Running latest bits + 20051117 cygwin1.dll 
snapshot on WinXP SP2.

Cygwin Configuration Diagnostics
Current System Time: Fri Nov 18 15:08:11 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\Apps\bin
C:\Apps\emacs-21.3\bin
C:\ant\bin
C:\java\bin
C:\cygwin\bin
C:\oracle\product\10.1.0\db_1\bin
C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client
C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin
c:\Program Files\Microsoft Visual Studio .NET\Vc7\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Common Files\Adaptec Shared\System
.
C:\Program Files\cvsnt
C:\Program Files\MySQL\MySQL Server 5.0\bin
.

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1005(shankar)  GID: 513(None)
0(root) 513(None)   544(Administrators) 545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1005(shankar)  GID: 513(None)
0(root) 513(None)   544(Administrators) 545(Users)

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

HOME = `C:/Shankar'
Path = 
`C:\Apps\bin;C:\Apps\emacs-21.3\bin;C:\ant\bin;C:\java\bin;C:\cygwin\bin;C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;c:\Program
 Files\Microsoft Visual Studio 
.NET\Vc7\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\Common Files\Adaptec Shared\System;;C:\Program Files\cvsnt;C:\Program 
Files\MySQL\MySQL Server 5.0\bin;'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\shankar\Application Data'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `HQ-SHANKAR'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
DEVMGR_SHOW_DETAILS = `1'
EDITOR = `gnuclient'
EnvironmentVariable = `C:\Program Files\Common Files\InstallShield\'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\shankar'
INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\'
JAVA_HOME = `C:\java'
LIB = `C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\'
LOGONSERVER = `\\HQ-SHANKAR'
NOREBIND = `1'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERL5LIB = 
`C:\oracle\product\10.1.0\db_1\perl\lib\5.6.1\MSWin32-x86;C:\oracle\product\10.1.0\db_1\perl\lib\5.6.1;C:\oracle\product\10.1.0\db_1\perl\5.6.1\lib\MSWin32-x86;C:\oracle\product\10.1.0\db_1\perl\site\5.6.1;C:\oracle\product\10.1.0\db_1\perl\site\5.6.1\lib;C:\oracle\product\10.1.0\db_1\sysman\admin\scripts'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0209'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
SESSIONNAME = `Console'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\shankar\LOCALS~1\Temp'
TMP = `C:\DOCUME~1\shankar\LOCALS~1\Temp'
USERDOMAIN = `HQ-SHANKAR'
USERNAME = `shankar'
USERPROFILE = `C:\Documents and Settings\shankar'
VS71COMNTOOLS = `C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
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 = 0x0028
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 = 0x001a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin\lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts 
v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS 38115Mb  83% CP CS UN PA FC 
d:  cd N/AN/A

C:\cygwin

Re: strange bash behavior with CYGWIN=tty (was Re: [ANNOUNCEMENT] Updated: lynx-2.8.5-4)

2005-11-18 Thread Christopher Faylor
On Fri, Nov 18, 2005 at 03:11:34PM -0800, Shankar Unni wrote:
>Rodrigo Medina wrote:
>
>>The cycheck output is attached.
>
>Can't see anything odd here. Of course, since you didn't use the '-v' 
>and '-r' options, I don't see your environment, or your registry 
>settings here.
>
>But while I was playing around with my own settings to try to reproduce 
>this (I normally don't set CYGWIN at all), I ran into something odd with 
>bash. (Didn't even get as far as starting lynx).
>
>Trying
>
>  env CYGWIN=tty bash
>
>gave me a bash in which the first command echoes properly, but the 
>second and subsequent commands don't echo at all.

Correct.  You need to set CYGWIN=tty before you start the first Cygwin
process.

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: PerlTk under Cygwin?

2005-11-18 Thread Gerrit P. Haase

Yaakov S (Cygwin Ports) wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gerrit P. Haase wrote:


My fix was wrong, the requested header is not to be included and the
build went fine too.  With the fix from Yaakov I get only few errors
when running the testsuite.  create.t seems to hang.



create.t hangs by me also.  In the results below, I killed that process
so the tests would continue.



The widget demo does not act properly, e.g. when running the first demo.



To which demo are you referring?  The Widget Demonstration
($top_srcdir/demos/widget) seems to run properly.


Maybe I was using the wrong wndow manager?  Will try again later, need 
to test metacity anyway.



Gerrit
--
=^..^=

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

2005-11-18 Thread Larry Hall (Cygwin)

David Svoboda wrote:

I have built a C++ server program called 'analyzer'. But when I try to
run it, it fails upon trying to execute a 'fork' command. Why?


   $ analyzer --KANTOO_LANGUAGE=toy -server-multiple -fork
   Analyzer 2.0
***  5 [main] analyzer 1712 
fhandler_disk_file::fixup_mmap_after_fork: requested 0x1873 != 0x0 
mem alloc base 0x1873, state 0x1000, size 4096, Win32 error 487
*** d:\svoboda\kantoo\bin\analyzer (1712): *** 
recreate_mmaps_after_fork_failed
*** 9 [main] analyzer 2200 fork_parent: child 1712 died waiting for 
dll loading

*** Failed to fork properly!
]0;~
[EMAIL PROTECTED] ~
$

The *** lines indicate the errors.

Version info: The analyzer was built with G++ 3.3.3, on WinXPSP2. Here
is the output of cygcheck. So why does the fork call fail?


If running 'rebaseall' doesn't help (see the README) and 'analyzer' doesn't
use any DLLs that were built as part of that package (in which case you need
to tell 'rebaseall' about them), then try:



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

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