Re: Minimal test case for Make crash bug

2004-03-20 Thread Dan Kegel
Dan Kegel wrote:
int main(int argc, char **argv)
{
int i;
for (i=0; ; i++) {
int fd = open("foo.c", O_RDONLY);
printf("fd #%d is %d\n", i, fd);
}
}
This crashes for me at the 133rd fd unless I run it under gdb ...
OK, I built a debugging version of cygwin1.dll and dropped it
on top of the normal one, then ran my test program with
  export CYGWIN=error_start:C:\\cygwin\\bin\\gdb.exe
  ./foo
and hit 'c' and then 'bt' as suggested.  Looks like the
debugger is a bit happier with the debugging build.
I don't have time to look at it tonight, but in case
it makes any sense to you, here's the backtrace.
Thanks,
Dan
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 660.0x838]
fhandler_base::fhandler_base() (this=0x0)
at 
../../../../cygwin-snapshot-20040318-1/winsup/cygwin/fhandler.cc:1275
1275{
Current language:  auto; currently c++
(gdb) bt
#0  fhandler_base::fhandler_base() (this=0x0)
at 
../../../../cygwin-snapshot-20040318-1/winsup/cygwin/fhandler.cc:1275
#1  0x61031854 in fhandler_disk_file::fhandler_disk_file() (this=0x0)
at 
../../../../cygwin-snapshot-20040318-1/winsup/cygwin/fhandler_disk_file.cc:379
#2  0x6101e174 in build_fh_pc(path_conv&) ([EMAIL PROTECTED])
at ../../../../cygwin-snapshot-20040318-1/winsup/cygwin/fhandler.h:311
#3  0x6101ded8 in build_fh_name(char const*, void*, unsigned, 
suffix_info*) (
name=0x401050 "foo.c", h=0x0, opt=1, si=0x0)
at ../../../../cygwin-snapshot-20040318-1/winsup/cygwin/dtable.cc:351
#4  0x61095071 in open (unix_path=0x401050 "foo.c", flags=0)
at ../../../../cygwin-snapshot-20040318-1/winsup/cygwin/syscalls.cc:550
#5  0x610883cf in _sigfe ()
at ../../../../cygwin-snapshot-20040318-1/winsup/cygwin/cygserver.h:82
#6  0x0085 in ?? ()
#7  0x in ?? ()
#8  0x0022f070 in ?? ()



--
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: Trailing commandline arguments not allowed.

2004-03-20 Thread George Hester
I tried $cygrunsvr -I Apache Oh forget it.  The problem was my servername.

I cannot have $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto

It has to be $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto

It was the space in Apache 1.3

-- 
George Hester
__
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Sat, 20 Mar 2004, George Hester wrote:
> 
> > According to the documentation of starting the Apache web server as a
> > service in cygwin the generic formula is:
> >
> > $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
>  ^ this should be a space
> >   [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
> >
> > So I did this in the bash shell:
> >
> > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto
>   ^ you need a space here
> 
> > Same thing with:
> > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto
>   ^ here^ and here
> 
> > The result was the error I posted in the subject.  What did I do wromg?
> 
> See above (you need to put a space before each -* flag).
> 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!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


--
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: Beep or playing a sound [Attn: CGF]

2004-03-20 Thread Lev Bishop
See:
http://www.cygwin.com/ml/cygwin/2003-05/msg01615.html

Lev


--
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: Beep or playing a sound [Attn: CGF]

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 10:49:16PM -0500, Igor Pechtchanski wrote:
>On Sat, 20 Mar 2004, Christopher Faylor wrote:
>
>> On Fri, Mar 19, 2004 at 09:52:12PM -0500, Igor Pechtchanski wrote:
>> >On Fri, 19 Mar 2004, Edwin Goei wrote:
>> >>Is there a program that will beep or make a sound in cygwin?  In bash,
>> >>I've tried "echo -e \\a" and I get a control-G char but no sound.  Is
>> >>there a program that will play a sound file that comes w/ cygwin?  I
>> >>run xemacs which does produce sounds but I'm looking for a simpler way.
>> >
>> >The ^G character will work in an xterm or rxvt running under X11.
>> >
>> >It also used to work in the Cygwin console, but apparently doesn't
>> >anymore...
>>
>> echo "^G"
>>
>> where ^G is the literal "control g" character works fine for me.  ^G
>> uses the Windows MessageBeep call so if that isn't working then there
>> are undoubtedly other things wrong with your system.  Either that or you
>> have sound muted.
>
>MessageBeep in general does not work on my system (even from a non-Cygwin
>program).  There used to be a "DefaultBeep" event in Windows that had a
>sound associated with it -- that was the sound that MessageBeep used.
>I don't know why there is no such event now, but there isn't.

The missing DefaultBeep is a generic problem in need of fixing.  As I'm
sure you know, you do this via the control panel.  In XP it is the
Sounds and Audio Devices Properties selection.

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: Minimal test case for Make crash bug

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 08:32:13PM -0800, Dan Kegel wrote:
>It's all a bit mysterious.  Where's a good place to look for clues?
>I've already tried shutting down as many systray programs as I can...

Build a debugging version of cygwin, use CYGWIN=error_start:..., type 'c'
when gdb pops up, and then inspect like pointers, 'this' pointers,
etc.
--
Christopher Faylor
Cygwin Project Leader
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: Minimal test case for Make crash bug

2004-03-20 Thread Dan Kegel
Dan Kegel wrote:
Got it.  I'm attaching a minimal test case.  glibc's makefile
requires that Make be able to handle 140 levels of include recursion,
but cygwin Make crashes after about 130 -- unless you're running
under gdb or strace, in which case it works fine.
Turns out the smallest test case is even smaller:

#include 
#include 
#include 
int main(int argc, char **argv)
{
int i;
for (i=0; ; i++) {
int fd = open("foo.c", O_RDONLY);
printf("fd #%d is %d\n", i, fd);
}
}
This crashes for me at the 133rd fd unless I run it under
gdb, in which case it runs quite happily forever without
crashing (though it runs out of fds fairly soon).
And this is a WinXP system with an up-to-date cygwin and
scads of memory, not some Win95 box with 16MB...
It's all a bit mysterious.  Where's a good place to
look for clues?  I've already tried shutting down as many
systray programs as I can...
- Dan
--
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: Beep or playing a sound [Attn: CGF]

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher Faylor wrote:

> On Fri, Mar 19, 2004 at 09:52:12PM -0500, Igor Pechtchanski wrote:
> >On Fri, 19 Mar 2004, Edwin Goei wrote:
> >>Is there a program that will beep or make a sound in cygwin?  In bash,
> >>I've tried "echo -e \\a" and I get a control-G char but no sound.  Is
> >>there a program that will play a sound file that comes w/ cygwin?  I
> >>run xemacs which does produce sounds but I'm looking for a simpler way.
> >
> >The ^G character will work in an xterm or rxvt running under X11.
> >
> >It also used to work in the Cygwin console, but apparently doesn't
> >anymore...
>
> echo "^G"
>
> where ^G is the literal "control g" character works fine for me.  ^G
> uses the Windows MessageBeep call so if that isn't working then there
> are undoubtedly other things wrong with your system.  Either that or you
> have sound muted.
>
> cgf

MessageBeep in general does not work on my system (even from a non-Cygwin
program).  There used to be a "DefaultBeep" event in Windows that had a
sound associated with it -- that was the sound that MessageBeep used.
I don't know why there is no such event now, but there isn't.  I did have
to install a service pack and some hotfixes recently, so I suspect they
had removed this somehow.  In any case, the sound is not muted, and the
Beep() call works.

I did not say the MessageBeep approach was wrong for everyone, I just said
it doesn't work on some systems.  Apparently it does in yours.  I'll
investigate...
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: Trailing commandline arguments not allowed.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, George Hester wrote:

> According to the documentation of starting the Apache web server as a
> service in cygwin the generic formula is:
>
> $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
 ^ this should be a space
>   [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
>
> So I did this in the bash shell:
>
> $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto
  ^ you need a space here

> Same thing with:
> $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto
  ^ here^ and here

> The result was the error I posted in the subject.  What did I do wromg?

See above (you need to put a space before each -* flag).
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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 when compiling c++ using gcc

2004-03-20 Thread Luc Hermitte
Hello,

* On Sat, Mar 20, 2004 at 03:46:34AM -0500, Feng Y <[EMAIL PROTECTED]> wrote:
>  I used the following command to compile the c++ file:
>  gcc -o ping ping.cc

Use g++ and not gcc to compile C++ code. Or at least, add the arguments
that tell gcc that it is compiling C++ code.

>  I got the following messages:
>  agent.h: No such file or directory
>  tcltc.h: No such file or directory
>  packet.h: No such file or directory
>  
>  
>  How can I link these header files in NS directories?

Where are they installed ? Let's say there is an $NS2/include directory
=> g++ -I$NS2/include -o ping ping.cpp

Anyway, these questions are not relative to cygwin, but to GCC and other
*nix command-line compilers.
=> 
- man gcc
- find a tutorial about makefiles, compiling under unices, etc...


HTH,
-- 
Luc Hermitte

--
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: Starting a Win32 app from inside Cygwin

2004-03-20 Thread Gianni Mariani
Chris Powell wrote:

I'm hoping someone can point me in the right direction here, though I'm not
even sure this is possible.
I currently use cygwin in WinXP to display X session from an AIX machine.
This works very well.  The software on the AIX box can call a word processor
(Uniplex) on the AIX box to edit text files.  What I'd like to do is instead
of launching the AIX word processor inside of the X session is launch Word
on the WinXP machine to edit the file out on an NFS.
Another site is currently doing this, but they are all linux and OpenOffice.
The script on the AIX box does a rsh back to the linux box and opens OO word
processing with the text file on an NFS.
It there anyway to do this back to a WinXP box?

Any advise is appreciated.

You probably can do that using ssh.

You might be able to run Samba on your AIX machine instead of using 
nfs.  You might also be able to install SFU from MS which is supposed to 
support NFS.

G

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


Starting a Win32 app from inside Cygwin

2004-03-20 Thread Chris Powell
I'm hoping someone can point me in the right direction here, though I'm not
even sure this is possible.

I currently use cygwin in WinXP to display X session from an AIX machine.
This works very well.  The software on the AIX box can call a word processor
(Uniplex) on the AIX box to edit text files.  What I'd like to do is instead
of launching the AIX word processor inside of the X session is launch Word
on the WinXP machine to edit the file out on an NFS.

Another site is currently doing this, but they are all linux and OpenOffice.
The script on the AIX box does a rsh back to the linux box and opens OO word
processing with the text file on an NFS.

It there anyway to do this back to a WinXP box?

Any advise is appreciated.

Chris Powell


--
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: Minimal test case for Make crash bug

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 12:55:20PM -0800, Dan Kegel wrote:
>Dan Kegel wrote:
>>Sadly, error_start didn't seem to be able to start gdb:
>
>Thanks to Igor for pointing out that error_start must be a
>DOS path.  Here's what I see once I correct that:
>
>$ export CYGWIN=error_start:C:\\cygwin\\bin\\gdb.exe
>$ make
>...
>(gdb) bt
>#0  0x77f75a59 in ntdll!DbgUiConnectToDbg ()
>   from /cygdrive/c/WINDOWS/System32/ntdll.dll
>#1  0x77f5f31f in ntdll!KiUserCallbackDispatcher ()
>   from /cygdrive/c/WINDOWS/System32/ntdll.dll
>#2  0x0005 in ?? ()
>#3  0x0004 in ?? ()
>#4  0x0001 in ?? ()
>#5  0x006effd0 in ?? ()
>#6  0x82ba40e8 in ?? ()
>#7  0x in ?? ()
>#8  0x77fa88f0 in wcstombs () from /cygdrive/c/WINDOWS/System32/ntdll.dll
>
>Unfortunately, that's also about what I see when I do
>$ export CYGWIN=error_start:C:\\cygwin\\bin\\gdb.exe
>$ ./a.exe

>where a.exe is the following compiled with cygwin's gcc:
>#include 
>int main(int argc, char **argv)
>{
>int *x;
>x = 0;
>printf("Null is %d\n", *x);
>}
>
>Looking at the other two threads (why are there three?)
>doesn't help.

Cygwin is a multi-threaded application.  Thread 1 would be the thread
which is having difficulties in this case.  The above stack trace is for
the thread that gets created when a debugger attaches to a process.  If
you type 'c' in gdb you should see where the real error is occurring.
Of course, since the error is in the cygwin DLL, you won't see the
source lines unless you rebuild the DLL with debugging.

FWIW, I can't duplicate this problem.  The stack trace would indicate
an OOM situation wrt cygwin's heap (which is separate from the program
heap) but if that was the case cygwin should have issued an error.
--
Christopher Faylor
Cygwin Project Leader
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: Beep or playing a sound [Attn: CGF]

2004-03-20 Thread Christopher Faylor
On Fri, Mar 19, 2004 at 09:52:12PM -0500, Igor Pechtchanski wrote:
>On Fri, 19 Mar 2004, Edwin Goei wrote:
>>Is there a program that will beep or make a sound in cygwin?  In bash,
>>I've tried "echo -e \\a" and I get a control-G char but no sound.  Is
>>there a program that will play a sound file that comes w/ cygwin?  I
>>run xemacs which does produce sounds but I'm looking for a simpler way.
>
>The ^G character will work in an xterm or rxvt running under X11.
>
>It also used to work in the Cygwin console, but apparently doesn't
>anymore...

echo "^G"

where ^G is the literal "control g" character works fine for me.  ^G
uses the Windows MessageBeep call so if that isn't working then there
are undoubtedly other things wrong with your system.  Either that or you
have sound muted.

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 and -lang-c89

2004-03-20 Thread Frédéric L. W. Meunier
On Sun, 21 Mar 2004 [EMAIL PROTECTED] wrote:

> I have the lastest stable version of cygwin installed and when I try to compile som 
> programs (e.g. gnugo 3.0 (http://www.gnu.org/software/gnugo/gnugo.html)) i get the 
> following error:
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../engine-I../utils  -I../interface -g 
> -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align 
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
> -Wp,-lang-c89 -c sgfgen.c
> cc1: error: unrecognized option `-lang-c89'
>
> Does anyone know how to fix it?

What about using Google ?
http://mail.gnu.org/archive/html/gnugo-devel/2002-06/msg00035.html

-- 
How to contact me - http://www.pervalidus.net/contact.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/



gcc and -lang-c89

2004-03-20 Thread mpe501
Hello!

I have the lastest stable version of cygwin installed and when I try to compile som 
programs (e.g. gnugo 3.0 (http://www.gnu.org/software/gnugo/gnugo.html)) i get the 
following error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../engine-I../utils  -I../interface -g -O2 
-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-lang-c89 -c 
sgfgen.c
cc1: error: unrecognized option `-lang-c89'

Does anyone know how to fix it?

Regards,
David


--
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: [ANNOUNCEMENT] Updated: cygwin-1.5.9-1

2004-03-20 Thread Frédéric L. W. Meunier
On Sat, 20 Mar 2004, Christopher Faylor wrote:

> On Sat, Mar 20, 2004 at 06:05:23PM -0300, Fr?d?ric L. W. Meunier wrote:
> >On Fri, 19 Mar 2004, Christopher Faylor wrote:
> >
> >$ cygcheck.exe -f /usr/lib/libiberty.a
> >binutils-20040312-1
> >cygwin-1.5.9-1
> >
> >Since you maintain both, what's the consensus ?
>
> That you have too much time on your hands?

Sorry, but I don't get it (sarcasm ?).

Anyway, I have time to report it. Maybe you'll have to "fix" it
once you figure which should be part of Cygwin.

-- 
How to contact me - http://www.pervalidus.net/contact.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: [ANNOUNCEMENT] Updated: cygwin-1.5.9-1

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 06:05:23PM -0300, Fr?d?ric L. W. Meunier wrote:
>On Fri, 19 Mar 2004, Christopher Faylor wrote:
>
>$ cygcheck.exe -f /usr/lib/libiberty.a
>binutils-20040312-1
>cygwin-1.5.9-1
>
>Since you maintain both, what's the consensus ?

That you have too much time on your hands?

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: How do I install these in Cygwin from this web interface?

2004-03-20 Thread George Hester
Well because I thought the page had something to do with Cygwin.  Sorry.

-- 
George Hester
__
"Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> On Sat, 20 Mar 2004, George Hester wrote:
> 
> > http://apache.dev.wapme.net/
> >
> > Thanks.
> > George Hester
> 
> Why ask us?  Why not ask the author of the page?
> 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!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Trailing commandline arguments not allowed.

2004-03-20 Thread George Hester
According to the documentation of starting the Apache web server as a service in 
cygwin the generic formula is:

$ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
  [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]

So I did this in the bash shell:

$cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto

Same thing with:
$cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto

The result was the error I posted in the subject.  What did I do wromg?

-- 
George Hester
__


--
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: How do I install these in Cygwin from this web interface?

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, George Hester wrote:

> http://apache.dev.wapme.net/
>
> Thanks.
> George Hester

Why ask us?  Why not ask the author of the page?
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



How do I install these in Cygwin from this web interface?

2004-03-20 Thread George Hester
http://apache.dev.wapme.net/

Thanks.

George Hester
__


--
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: [ANNOUNCEMENT] Updated: cygwin-1.5.9-1

2004-03-20 Thread Frédéric L. W. Meunier
On Fri, 19 Mar 2004, Christopher Faylor wrote:

$ cygcheck.exe -f /usr/lib/libiberty.a
binutils-20040312-1
cygwin-1.5.9-1

Since you maintain both, what's the consensus ?

-- 
How to contact me - http://www.pervalidus.net/contact.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: Minimal test case for Make crash bug

2004-03-20 Thread Dan Kegel
Dan Kegel wrote:
Sadly, error_start didn't seem to be able to start gdb:
Thanks to Igor for pointing out that error_start must be a
DOS path.  Here's what I see once I correct that:
$ export CYGWIN=error_start:C:\\cygwin\\bin\\gdb.exe
$ make
...
(gdb) bt
#0  0x77f75a59 in ntdll!DbgUiConnectToDbg ()
   from /cygdrive/c/WINDOWS/System32/ntdll.dll
#1  0x77f5f31f in ntdll!KiUserCallbackDispatcher ()
   from /cygdrive/c/WINDOWS/System32/ntdll.dll
#2  0x0005 in ?? ()
#3  0x0004 in ?? ()
#4  0x0001 in ?? ()
#5  0x006effd0 in ?? ()
#6  0x82ba40e8 in ?? ()
#7  0x in ?? ()
#8  0x77fa88f0 in wcstombs () from /cygdrive/c/WINDOWS/System32/ntdll.dll
Unfortunately, that's also about what I see when I do
$ export CYGWIN=error_start:C:\\cygwin\\bin\\gdb.exe
$ ./a.exe
where a.exe is the following compiled with cygwin's gcc:
#include 
int main(int argc, char **argv)
{
int *x;
x = 0;
printf("Null is %d\n", *x);
}
Looking at the other two threads (why are there three?)
doesn't help.
The stackdump file seems more informative than the gdb
started with error_start.  Has anyone used gdb from
this context with success lately?  gdb has no problem
with a.exe when run normally.
- Dan
--
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: More on 'setup' fails and breaks pre-existing Cygwin installation.

2004-03-20 Thread Igor Pechtchanski
Okay, I don't recall seeing the output of "cygcheck -svr" attached to any
of your messages, as requested in .
Please *attach* the output rather than including it inline.  You should be
able to run cygcheck from a CMD prompt.

Did you try a clean install by moving your Cygwin root directory out of
the way?  Whether or not you're able to do this, and what exact errors you
get when doing this, might prove instructive...  FWIW, unless you have
non-standard mounts, you should be able to recover the original (albeit
non-working) installation by moving the old root directory back to
c:\cygwin...  But first things first -- we need to see the output of
"cygcheck -svr".

BTW, does running "c:\cygwin\bin\bash --norc" also result in no prompt?
If not, does that bash work normally (note that you'll need to explicitly
prepend "/bin:/usr/bin:/usr/X11R6/bin" to your PATH before you'll be able
to run any commands)?
Igor

On Sat, 20 Mar 2004, Christopher M. Balz wrote:

> The hang itself is indeed a soft hang.  I can click out of it using the
> 'Cancel' button, and then at least sometimes, 'setup' will tell me that
> installation is complete.  Somewhere in these last clicks is where my
> entire machine was taken down during two of my earlier attempts today.
>
> cd c:\cygwin\bin
> .\bash.exe --login -i
>
> yields nothing, as before -- meaning that a blinking prompt is shown on
> the line after the last command, and that's all.
>
>  - CB
>
> Igor Pechtchanski wrote:
>
> >On Sat, 20 Mar 2004, Christopher M. Balz wrote:
> >
> >>Answering Igor's questions . . .
> >>
> >>'setup' hangs when it dies.  The window its in closes without any
> >>problem, though.
> >
> >So it doesn't really crash anything?  And this doesn't sound like a hard
> >hang, either -- at least the events are processed normally...
> >
> >>Running 'cygwin.bat' from the command line yields nothing.
> >
> >I.e., just shows another prompt right away, or runs but doesn't show the
> >prompt?  How about if you run
> >
> >cd c:\cygwin\bin
> >.\bash.exe --login -i
> >
> >?
> >
> >>Below is the content of my setup.log.full file:
> >>
> >>setup.log.full [irrelevant parts snipped]:
> >>2004/03/20 10:11:01 Starting cygwin install, version 2.416
> >>[X-startup-scripts] action=1.0.4-1 trust=curr installed=1.0.3-1 src?=no
> >> categories=All, XFree86
> >>[xterm] action=185-2 trust=curr installed=185-1 src?=no
> >> categories=All, XFree86
> >>2004/03/20 10:11:17 Installing file://C:\Program 
> >>Files\cygwin/http%3a%2f%2fmirrors.sunsite.dk%2fcygwin/release/XFree86/X-startup-scripts/X-startup-scripts-1.0.4-1.tar.bz2
> >>2004/03/20 10:11:18 Installing file://C:\Program 
> >>Files\cygwin/http%3a%2f%2fmirrors.sunsite.dk%2fcygwin/release/XFree86/xterm/xterm-185-2.tar.bz2
> >>2004/03/20 10:11:20 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/post-texmf.sh
> >>2004/03/20 11:24:36 mbox note: Installation Complete
> >>2004/03/20 11:24:37 Ending cygwin install
> >
> >Okay, so this shows that you did not reinstall either tetex-base or
> >tetex-tiny (good), and the postinstall script is still executed (bad).
> >This means that it never completed the execution, otherwise it would have
> >been renamed to "*.done".  Try actually renaming it (by running
> >
> >cd c:\cygwin\etc\postinstall
> >ren post-texmf.sh post-texmf.sh.done
> >
> >from a CMD prompt).  Then try re-running setup and see if it still hangs.
> >Also, try the latest setup snapshot ()
> >and see if it fares better.
> >
> >It would also be interesting to try actually running the script (via
> >
> >c:\cygwin\bin\sh.exe -x /etc/postinstall/post-texmf.sh.done
> >
> >) and seeing if it hangs and what output it produces.
> >HTH,
> >   Igor
> >
> >>Igor Pechtchanski wrote:
> >>
> >>>On Sat, 20 Mar 2004, Christopher M. Balz wrote:
> >>>
> On Win2K SP 4 up-to-date, I install most packages (including X and tex)
> and 'setup' hangs with the folllowing message:
> 
>    Running . . .
> 
>    No package
> 
>    /etc/postinstall/post-texmf.sh
> 
> The  progress bar is almost finished at this point (above).
> 
> The install has broken my Cygwin shell completely.  It pops up in a
> window and closes fine but shows no text.
> 
> >>>Have you seen  (my
> >>>previous reply)?  If you run "cygwin.bat" from a CMD shell, do you get any
> >>>messages?
> >>>
> The first two times 'setup' hung, it crashed my machine.
> >>>
> >>>"Crashed" as in BSOD?  What is the exact error (you may need to enable
> >>>BSODs for this or look in the Windows Event log).
> >>>
> I did try moving 'post-textmf.sh' to 'post-textmf.sh.done' but no luck.
> >>>   ^^  ^^^
> >>>This should be 'post-texmf.sh' and 'post-texmf.sh.done'...  But that file
> >>>will be recreated every time you reinstall tetex-base or tetex-tiny.
> >>

Re: More on 'setup' fails and breaks pre-existing Cygwin installation.

2004-03-20 Thread Christopher M. Balz
The hang itself is indeed a soft hang.  I can click out of it using the 
'Cancel' button, and then at least sometimes, 'setup' will tell me that 
installation is complete.  Somewhere in these last clicks is where my 
entire machine was taken down during two of my earlier attempts today.

   cd c:\cygwin\bin
   .\bash.exe --login -i
yields nothing, as before -- meaning that a blinking prompt is shown on 
the line after the last command, and that's all.

- CB

Igor Pechtchanski wrote:

On Sat, 20 Mar 2004, Christopher M. Balz wrote:

 

Answering Igor's questions . . .

'setup' hangs when it dies.  The window its in closes without any
problem, though.
   

So it doesn't really crash anything?  And this doesn't sound like a hard
hang, either -- at least the events are processed normally...
 

Running 'cygwin.bat' from the command line yields nothing.
   

I.e., just shows another prompt right away, or runs but doesn't show the
prompt?  How about if you run
cd c:\cygwin\bin
.\bash.exe --login -i
?

 

Below is the content of my setup.log.full file:

setup.log.full [irrelevant parts snipped]:
2004/03/20 10:11:01 Starting cygwin install, version 2.416
[X-startup-scripts] action=1.0.4-1 trust=curr installed=1.0.3-1 src?=no
categories=All, XFree86
[xterm] action=185-2 trust=curr installed=185-1 src?=no
categories=All, XFree86
2004/03/20 10:11:17 Installing file://C:\Program Files\cygwin/http%3a%2f%2fmirrors.sunsite.dk%2fcygwin/release/XFree86/X-startup-scripts/X-startup-scripts-1.0.4-1.tar.bz2
2004/03/20 10:11:18 Installing file://C:\Program Files\cygwin/http%3a%2f%2fmirrors.sunsite.dk%2fcygwin/release/XFree86/xterm/xterm-185-2.tar.bz2
2004/03/20 10:11:20 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/post-texmf.sh
2004/03/20 11:24:36 mbox note: Installation Complete
2004/03/20 11:24:37 Ending cygwin install
   

Okay, so this shows that you did not reinstall either tetex-base or
tetex-tiny (good), and the postinstall script is still executed (bad).
This means that it never completed the execution, otherwise it would have
been renamed to "*.done".  Try actually renaming it (by running
cd c:\cygwin\etc\postinstall
ren post-texmf.sh post-texmf.sh.done
from a CMD prompt).  Then try re-running setup and see if it still hangs.
Also, try the latest setup snapshot ()
and see if it fares better.
It would also be interesting to try actually running the script (via

c:\cygwin\bin\sh.exe -x /etc/postinstall/post-texmf.sh.done

) and seeing if it hangs and what output it produces.
HTH,
Igor
 

Igor Pechtchanski wrote:

   

On Sat, 20 Mar 2004, Christopher M. Balz wrote:

 

On Win2K SP 4 up-to-date, I install most packages (including X and tex)
and 'setup' hangs with the folllowing message:
  Running . . .

  No package

  /etc/postinstall/post-texmf.sh

The  progress bar is almost finished at this point (above).

The install has broken my Cygwin shell completely.  It pops up in a
window and closes fine but shows no text.
   

Have you seen  (my
previous reply)?  If you run "cygwin.bat" from a CMD shell, do you get any
messages?
 

The first two times 'setup' hung, it crashed my machine.
   

"Crashed" as in BSOD?  What is the exact error (you may need to enable
BSODs for this or look in the Windows Event log).
 

I did try moving 'post-textmf.sh' to 'post-textmf.sh.done' but no luck.
   

 ^^  ^^^
This should be 'post-texmf.sh' and 'post-texmf.sh.done'...  But that file
will be recreated every time you reinstall tetex-base or tetex-tiny.
 

Thank you in advance!
- CB
   

Is there any post-texmf.sh output in /var/log/setup.log.full?
 Igor
 

 



--
*Contact Info:*
Christopher M. Balz
Senior Software Engineer
/TreeLogic Software Engineering /
160 Lincoln Avenue
Palo Alto, CA 94301-2437 U.S.A.
650.327.0367
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 

[EMAIL PROTECTED] 

". . . / This Cabinet is formd of Gold / And Pearl & Crystal shining bright
And within it opens into a World / . . .
Another England there I saw / Another London with its Tower
Another Thames & other Hills / And another pleasant Surrey Bower
. . ."
- from /The Crystal Cabinet /, a 
poem by *William Blake * 
(18th-century English poet) where Blake rues England's rule.

--
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: More on 'setup' fails and breaks pre-existing Cygwin installation.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher M. Balz wrote:

> Answering Igor's questions . . .
>
> 'setup' hangs when it dies.  The window its in closes without any
> problem, though.

So it doesn't really crash anything?  And this doesn't sound like a hard
hang, either -- at least the events are processed normally...

> Running 'cygwin.bat' from the command line yields nothing.

I.e., just shows another prompt right away, or runs but doesn't show the
prompt?  How about if you run

cd c:\cygwin\bin
.\bash.exe --login -i

?

> Below is the content of my setup.log.full file:
>
> setup.log.full [irrelevant parts snipped]:
> 2004/03/20 10:11:01 Starting cygwin install, version 2.416
> [X-startup-scripts] action=1.0.4-1 trust=curr installed=1.0.3-1 src?=no
>  categories=All, XFree86
> [xterm] action=185-2 trust=curr installed=185-1 src?=no
>  categories=All, XFree86
> 2004/03/20 10:11:17 Installing file://C:\Program 
> Files\cygwin/http%3a%2f%2fmirrors.sunsite.dk%2fcygwin/release/XFree86/X-startup-scripts/X-startup-scripts-1.0.4-1.tar.bz2
> 2004/03/20 10:11:18 Installing file://C:\Program 
> Files\cygwin/http%3a%2f%2fmirrors.sunsite.dk%2fcygwin/release/XFree86/xterm/xterm-185-2.tar.bz2
> 2004/03/20 10:11:20 running: C:\cygwin\bin\sh.exe -c /etc/postinstall/post-texmf.sh
> 2004/03/20 11:24:36 mbox note: Installation Complete
> 2004/03/20 11:24:37 Ending cygwin install

Okay, so this shows that you did not reinstall either tetex-base or
tetex-tiny (good), and the postinstall script is still executed (bad).
This means that it never completed the execution, otherwise it would have
been renamed to "*.done".  Try actually renaming it (by running

cd c:\cygwin\etc\postinstall
ren post-texmf.sh post-texmf.sh.done

from a CMD prompt).  Then try re-running setup and see if it still hangs.
Also, try the latest setup snapshot ()
and see if it fares better.

It would also be interesting to try actually running the script (via

c:\cygwin\bin\sh.exe -x /etc/postinstall/post-texmf.sh.done

) and seeing if it hangs and what output it produces.
HTH,
Igor

> Igor Pechtchanski wrote:
>
> >On Sat, 20 Mar 2004, Christopher M. Balz wrote:
> >
> >>On Win2K SP 4 up-to-date, I install most packages (including X and tex)
> >>and 'setup' hangs with the folllowing message:
> >>
> >>Running . . .
> >>
> >>No package
> >>
> >>/etc/postinstall/post-texmf.sh
> >>
> >>The  progress bar is almost finished at this point (above).
> >>
> >>The install has broken my Cygwin shell completely.  It pops up in a
> >>window and closes fine but shows no text.
> >>
> >>
> >
> >Have you seen  (my
> >previous reply)?  If you run "cygwin.bat" from a CMD shell, do you get any
> >messages?
> >
> >>The first two times 'setup' hung, it crashed my machine.
> >
> >"Crashed" as in BSOD?  What is the exact error (you may need to enable
> >BSODs for this or look in the Windows Event log).
> >
> >>I did try moving 'post-textmf.sh' to 'post-textmf.sh.done' but no luck.
> >   ^^  ^^^
> >This should be 'post-texmf.sh' and 'post-texmf.sh.done'...  But that file
> >will be recreated every time you reinstall tetex-base or tetex-tiny.
> >
> >>Thank you in advance!
> >>  - CB
> >
> >Is there any post-texmf.sh output in /var/log/setup.log.full?
> >   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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: text editor for cygwin

2004-03-20 Thread Charles D. Russell
On Sat, 20 Mar 2004, Charles D. Russell wrote:

> It has always seemed strange to me that vim was not included in the
> "development" package, since vi is a normal component of linux/unix.

Igor Pechtchanski wrote:

Again, there is no "development" package in Cygwin.  There are individual
packages for things like "vim", and "bash", and "sed", and "sh-utils",
etc.  There was a suggestion of implementing "profiles" for Cygwin that
bundle various packages for specific usage patterns, but nobody has gotten
around to implementing it yet.
___

"Package" was the wrong word, since it has a specific technical meaning, but
there is an option in cygwin setup, labelled "development",  that downloads
a fairly complete unix programming environment -- except for an editor.  I
now have in my personal installation notes a memo not to forget about the
editor, but why confuse new users?


--
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: Minimal test case for Make crash bug

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Dan Kegel wrote:

Dan Kegel wrote:
> Got it.  I'm attaching a minimal test case.  glibc's makefile
> requires that Make be able to handle 140 levels of include recursion,
> but cygwin Make crashes after about 130 -- unless you're running
> under gdb or strace, in which case it works fine.
> To repeat the bug, just unpack the two attachments and run 'make'.
> If you have the bug, it will crash; otherwise it will echo a list
> of 140 words.
Christopher Faylor wrote:
> You should probably investigate using the CYGWIN environment variable
> "error_start" field:
>
> http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
>
> Also, please send the output of the stackdump file here.
I'm attaching make.exe.stackdump (another new feature of cygwin, cool).

Sadly, error_start didn't seem to be able to start gdb:

$ export CYGWIN=error_start:/usr/bin/gdb
$ make
*** starting debugger for pid 2156, tid 496
   4 [main] make 2488 try_to_debug: Failed to start debugger: Win32
error 3
*** continuing pid 2156 from debugger call (0)
Signal 11
but hopefully the stackdump file will give you what you need.
- Dan
$ net helpmsg 3
The system cannot find the path specified.
I believe that the path after "error_start:" should be a Win32 path.
This could be better documented on the above page.
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!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton
--
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: Minimal test case for Make crash bug

2004-03-20 Thread Dan Kegel
Dan Kegel wrote:
Got it.  I'm attaching a minimal test case.  glibc's makefile
requires that Make be able to handle 140 levels of include recursion,
but cygwin Make crashes after about 130 -- unless you're running
under gdb or strace, in which case it works fine.
To repeat the bug, just unpack the two attachments and run 'make'.
If you have the bug, it will crash; otherwise it will echo a list
of 140 words.
Christopher Faylor wrote:
You should probably investigate using the CYGWIN environment variable
"error_start" field:
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

Also, please send the output of the stackdump file here.
I'm attaching make.exe.stackdump (another new feature of cygwin, cool).

Sadly, error_start didn't seem to be able to start gdb:

$ export CYGWIN=error_start:/usr/bin/gdb
$ make
*** starting debugger for pid 2156, tid 496
  4 [main] make 2488 try_to_debug: Failed to start debugger: Win32 
error 3
*** continuing pid 2156 from debugger call (0)
Signal 11

but hopefully the stackdump file will give you what you need.
- Dan
Exception: STATUS_ACCESS_VIOLATION at eip=6102B0BB
eax= ebx= ecx= edx=003C esi=00226668 edi=0A07B0B0
ebp=00226610 esp=00226610 program=C:\cygwin\bin\make.exe, pid 3400, thread main
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
00226610  6102B0BB  (, , 00226650, 6101E154)
00226620  610317F4  (, 001B, 00D0, 61093940)
00226650  6101E154  (00226668, 0058, 002266A0, 0A07C453)
002269C0  6101DEB8  (0A07B0B0, , 0001, )
00226A20  61094FD1  (0A07B0B0, , 01B6, 61093882)
00226A40  610E61A6  (0022F208, 0A07B0B0, , 01B6)
00226A70  610D5E9C  (0022F208, 0A07B0B0, 00413CC1, 61056402)
00226A90  610D5F41  (0A07B0B0, 00413CC1, 00226AD0, 61093882)
00226B80  610882AF  (0A07B0B0, 000A, 0007, )
00226C70  00414EC0  (0A07ADD0, 000A, 0007, )
00226D60  00414EC0  (0A07ADE0, 000A, 0007, )
00226E50  00414EC0  (0A07A278, 000A, 0007, )
00226F40  00414EC0  (0A0796A8, 000A, 0007, )
00227030  00414EC0  (0A0753E0, 000A, 0007, )
00227120  00414EC0  (0A0793D8, 000A, 0007, )
00227210  00414EC0  (0A07, 000A, 0007, )
End of stack trace (more stack frames may be present)

--
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: several messages

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher M. Balz wrote:

> On Win2K SP 4 up-to-date, I install most packages (including X and tex)
> and 'setup' hangs with the folllowing message:
>
> Running . . .
>
> No package
>
> /etc/postinstall/post-texmf.sh
>
> The  progress bar is almost finished at this point (above).
>
> The install has broken my Cygwin shell completely.  It pops up in a
> window and closes fine but shows no text.

Have you seen  (my
previous reply)?  If you run "cygwin.bat" from a CMD shell, do you get any
messages?

> The first two times 'setup' hung, it crashed my machine.

"Crashed" as in BSOD?  What is the exact error (you may need to enable
BSODs for this or look in the Windows Event log).

> I did try moving 'post-textmf.sh' to 'post-textmf.sh.done' but no luck.
^^  ^^^
This should be 'post-texmf.sh' and 'post-texmf.sh.done'...  But that file
will be recreated every time you reinstall tetex-base or tetex-tiny.

> Thank you in advance!
>   - CB

Is there any post-texmf.sh output in /var/log/setup.log.full?
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Minimal test case for Make crash bug (was: Re: make segfault building cross-glibc with latest cygwin)

2004-03-20 Thread Dan Kegel
Dan Kegel wrote:
Aha.  Using 'make -d' shows more detail:
...
so the recursion in extra-module.mk (which is expected, though
I don't know how many repeats are normal) is going awry somehow.
Got it.  I'm attaching a minimal test case.  glibc's makefile
requires that Make be able to handle 140 levels of include recursion,
but cygwin Make crashes after about 130 -- unless you're running
under gdb or strace, in which case it works fine.
To repeat the bug, just unpack the two attachments and run 'make'.
If you have the bug, it will crash; otherwise it will echo a list
of 140 words.
I've tried building gnu make 3.79.1 and 3.80 from scratch,
but they both suffer from the same problem.  I also tried
compiling make without optimization; didn't help.
So it's a Heisenbug in a small box now.  I wonder if it could
be a bug in Cygwin itself?
- Dan
modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
   ISO8859-6 ISO8859-7 ISO8859-8 ISO8859-9 ISO8859-10\
   ISO8859-11 ISO8859-13 ISO8859-14 ISO8859-15   \
   T.61 ISO_6937 SJIS KOI-8 HP-ROMAN8 EBCDIC-AT-DE   \
   EBCDIC-AT-DE-A EBCDIC-CA-FR EUC-KR UHC JOHAB libJIS libKSC\
   BIG5 EUC-JP libGB EUC-CN libCNS EUC-TW ISO646 EBCDIC-DK-NO\
   EBCDIC-DK-NO-A EBCDIC-ES EBCDIC-ES-A EBCDIC-ES-S EBCDIC-FI-SE \
   EBCDIC-FI-SE-A EBCDIC-FR EBCDIC-IS-FRISS EBCDIC-IT EBCDIC-PT  \
   EBCDIC-UK EBCDIC-US IBM037 IBM038 IBM274 IBM275 IBM423\
   IBM500 IBM870 IBM871 IBM891 IBM903 IBM904 IBM905 IBM1047  \
   IBM874 CP737 CP775 ISO-2022-KR\
   KOI8-R LATIN-GREEK LATIN-GREEK-1 IBM256 IBM273 IBM277 IBM278  \
   IBM280 IBM281 IBM284 IBM285 IBM290 IBM297 IBM420 IBM424   \
   IBM437 IBM850 IBM851 IBM852 IBM855 IBM857 IBM860 IBM861   \
   IBM862 IBM863 IBM864 IBM865 IBM868 IBM869 IBM875 IBM880   \
   IBM866 CP1258 \
   IBM918 IBM1004 IBM1026 CP1250 CP1251 CP1252 CP1253 CP1254 \
   CP1255 CP1256 CP1257 ISO-2022-JP MACINTOSH IEC_P27-1  \
   ASMO_449 ANSI_X3.110 CSN_369103 CWI DEC-MCS ECMA-CYRILLIC \
   GOST_19768-74 GREEK-CCITT GREEK7 GREEK7-OLD INIS INIS-8   \
   INIS-CYRILLIC ISO_6937-2 ISO_2033 ISO_5427 ISO_5427-EXT   \
   ISO_5428 ISO_10367-BOX MAC-IS MAC-UK NATS-DANO NATS-SEFI  \
   SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342

extra-modules-left := $(modules)
include foo.mk

foo:
echo extra-objs is $(extra-objs)
mod := $(firstword $(extra-modules-left))
extra-modules-left := $(strip $(filter-out $(mod),$(extra-modules-left)))

extra-objs := $(extra-objs) $(mod)

ifneq (,$(extra-modules-left))
include foo.mk
endif


--
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: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Christopher Faylor
On Sat, Mar 20, 2004 at 12:28:47AM -0800, Dan Kegel wrote:
>(long lines wrapped, sorry).
>I tried sticking gdb in a crucial place in 
>crosstool-0.28-pre8c/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/glibc-2.1.3/Makefile
>by replacing the call to $(MAKE) with a call to gdb $(MAKE):

You should probably investigate using the CYGWIN environment variable
"error_start" field:

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

Also, please send the output of the stackdump file here.

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/



'setup' fails and breaks pre-existing Cygwin installation.

2004-03-20 Thread Christopher M. Balz
On Win2K SP 4 up-to-date, I install most packages (including X and tex) 
and 'setup' hangs with the folllowing message:

   Running . . .

   No package

   /etc/postinstall/post-texmf.sh

The  progress bar is almost finished at this point (above).

The install has broken my Cygwin shell completely.  It pops up in a 
window and closes fine but shows no text.  The first two times 'setup' 
hung, it crashed my machine.

I did try moving 'post-textmf.sh' to 'post-textmf.sh.done' but no luck.

Thank you in advance!

 - CB
--
*Contact Info:*
Christopher M. Balz
Senior Software Engineer
/TreeLogic Software Engineering /
160 Lincoln Avenue
Palo Alto, CA 94301-2437 U.S.A.
650.327.0367
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 

[EMAIL PROTECTED] 

". . . / This Cabinet is formd of Gold / And Pearl & Crystal shining bright
And within it opens into a World / . . .
Another England there I saw / Another London with its Tower
Another Thames & other Hills / And another pleasant Surrey Bower
. . ."
- from /The Crystal Cabinet /, a 
poem by *William Blake * 
(18th-century English poet) where Blake rues England's rule.

--
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: g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Lars Steinke wrote:

> Hello,
>
>   call system('cmd.exe /c cls')
>
> works! Thank you Dave!
>
> Now I have a new problem with 'call system':
> I wolud like to start a batch-file named '1.bat'.
> 1.bat and my program are in the same directory (C:\test).
>
>   call system('1.bat')
>   pause
>   end
>
> Error-message:
>
> 1.bat: not found
>
> If i add the directory to the PATH:
>
> PATH=%PATH%;C:\test
>
> it works, but normally the current directory should be scanned, also if
> it is not in the PATH...?
>
> If I try to start my program from the cygwin-shell (current directory is
> the directory where the program is saved) i get the following
> error-message:
>
> bash: a.exe: command not found
>
> This is no 'call system'-problem, but mayby there is a correllation.
>
> Thank you very much, Lars.

Lars,

In Cygwin, like in most Unixes, and unlike Windows, "." (the current
directory) has to explicitly be in the PATH for programs to be found there
(see ).  As the FAQ says, you can
prepend "./" to the name of the program in the current directory.
Alternatively, you can add "." to the PATH, either in your environment, or
via a "putenv" call if FORTRAN supports it.
Igor
P.S. FYI, system("cmd /c cls") won't work on Win9x.
-- 
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-20 Thread Lars Steinke
Hello,

  call system('cmd.exe /c cls')

works! Thank you Dave!

Now I have a new problem with 'call system':
I wolud like to start a batch-file named '1.bat'.
1.bat and my program are in the same directory (C:\test).

  call system('1.bat')
  pause
  end

Error-message:

1.bat: not found

If i add the directory to the PATH:

PATH=%PATH%;C:\test

it works, but normally the current directory should be scanned, also if it is not in 
the PATH...?


If I try to start my program from the cygwin-shell (current directory is the directory 
where the program is saved) i get the following error-message:

bash: a.exe: command not found

This is no 'call system'-problem, but mayby there is a correllation.


Thank you very much, Lars.


Attachment: check.txt (cygcheck)



Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 19 16:21:43 2004
Windows XP Professional Ver 5.1 Build 2600 Service Pack 1
Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Programme\Symantec\Norton Ghost 2003\
c:\texmf\miktex\bin
C:\cygwin\bin
SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS
HOME = `C:\cygwin\home\Steinke'
MAKE_MODE = `unix'
PWD = `/home/Steinke'
USER = `Steinke'
ALLUSERSPROFILE = `C:\Dokumente und Einstellungen\All Users'
APPDATA = `C:\Dokumente und Einstellungen\Steinke\Anwendungsdaten'
COMMONPROGRAMFILES = `C:\Programme\Gemeinsame Dateien'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Dokumente und Einstellungen\Steinke'
INFOPATH = 
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
MANPATH = 
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PKG_CONFIG_PATH = `:/usr/X11R6/lib/pkgconfig'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 2, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0602'
PROGRAMFILES = `C:\Programme'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOKUME~1\Steinke\LOKALE~1\Temp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/2.0.1,/usr/share/texmf}'
TMP = `c:\DOKUME~1\Steinke\LOKALE~1\Temp'
USERDOMAIN = `STEINKE-1Q96FW1'
USERNAME = `Steinke'
USERPROFILE = `C:\Dokumente und Einstellungen\Steinke'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
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\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
a:  fd   N/AN/A
c:  hd  NTFS   13319Mb  64% CP CS UN PA FC Winxp_normal
C:\cygwin  / system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
  /cygdrive system  binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Cygwin DLL version info:
DLL version: 1.5.7
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 109
Cygdrive flags: cygdrive flags

Cygwin Package Information
Package

Re: text editor for cygwin

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Charles D. Russell wrote:

> It has always seemed strange to me that vim was not included in the
> "development" package, since vi is a normal component of linux/unix.

Again, there is no "development" package in Cygwin.  There are individual
packages for things like "vim", and "bash", and "sed", and "sh-utils",
etc.  There was a suggestion of implementing "profiles" for Cygwin that
bundle various packages for specific usage patterns, but nobody has gotten
around to implementing it yet.
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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 install problem.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher M. Balz wrote:

> Hi Igor,

Christopher,

Please don't send personal mail with Cygwin questions.  All Cygwin-related
questions should be addressed to the Cygwin mailing list, both because
that's the expected thing to do, and because it'll be archived and may
help others experiencing the same problems.  I'm directing my reply to
that list, and, for your convenience, setting the Reply-To:  accordingly.

Also, please see the Cygwin problem reporting guidelines at
 for the necessary information that
should accompany your problem report.

> Running 'setup' has broken my Cygwin installation, and it is a "no
> package" /etc/postinstall install problem

FYI, "No package" in setup simply means that setup could not determine
which package the postinstall script came from.  This functionality
(figuring out the package that the postinstall script belongs to) is
broken at the moment, but shouldn't affect the actual execution of the
postinstall scripts.

> With a similar problem you suggested:
>    >"mv /etc/postinstal/XFree86-bin-icons.sh{,.done}"
> What do you suggest to do if the file is unknown (I can't get it to
> repeat anymore; setup is dying earlier and earlier now as I keep trying
> to re-run setup) and the Cygwin prompt is broken?
>
>  - CB

I suggest looking at the setup logs (/var/log/setup.log*), especially the
".full" one (note that it gets overwritten every time you run setup).
Also, to find out why the Cygwin prompt window doesn't come up, you can
run "c:\cygwin\cygwin.bat" from a CMD window (that way you'll see the
error message, if any).

In what way is setup "dying"?  Does it actually crash?  Which version of
setup are you running?

FWIW, if you feel that your Cygwin install is broken, you might want to
rename the root directory and try to install anew.  If the install works,
you may be able to simply your data from parts of the old tree into the
new one, depending on the extent of modifications you've performed to the
installation...
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



text editor for cygwin

2004-03-20 Thread Charles D. Russell
It has always seemed strange to me that vim was not included in the
"development" package, since vi is a normal component of linux/unix.


--
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: text editor for cygwin

2004-03-20 Thread John Morrison
Vim and emac are both available via the cygwin setup program.

J.

> From: Christopher Spears
> 
> I installed cygwin with the shells package on my
> computer with Windows 2000.  However, I discovered
> that I don't have vi or vim.  Is there a way to
> download one of these (or a different) text editor
> into cygwin?  Which text editors would you recommend?


--
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: text editor for cygwin

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Christopher Spears wrote:

> I installed cygwin with the shells package on my
> computer with Windows 2000.  However, I discovered
> that I don't have vi or vim.  Is there a way to
> download one of these (or a different) text editor
> into cygwin?  Which text editors would you recommend?
>
> -Chris

Chris,

There is no "Shells" package under Cygwin.  Do you mean to say that you've
installed all packages in the "Shells" category (i.e., "ash", "bash",
"clisp", "mc", "pdksh", "rxvt", "sh-utils", "tcsh", and "zsh")?

Most of the editors in Cygwin are found in the "Editors" category.  As of
today, you have a choice of (in alphabetical order): "ed" (if you're
desperate), "emacs", "emacs-X11" (requires X), "mc", "nano", "nedit"
(requires X), "vim", and "xemacs".  There's also "pico", which comes with
the "pine" package (in the "Mail" category).  Note that some of these
require other support packages, and some are quite huge.

FYI, if you're looking for a specific package, you can switch setup to the
"Full" view, which will show you all available packages sorted
alphabetically.
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Dan Kegel
Brian wrote:
I've not much experience with distcc, but it looks like you're trying to
use gcc 2.95.  This version of gcc is known to be broken with Cygwin and
is not supported -- it has been removed from the Cygwin mirrors. 
Apologies if this does not apply to your circumstance...
Right, doesn't apply to my circumstance.  I'm not using
the cygwin gcc-2.95 at all; I'm building it from virgin
sources.  And I do have to use gcc-2.95 for this.  Anyway,
the problem isn't in gcc-2.95 at all; it appears to be
in the make that comes with cygwin, or something like that.
I'm still tracking it down.
- Dan
--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change
--
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/


text editor for cygwin

2004-03-20 Thread Christopher Spears
I installed cygwin with the shells package on my
computer with Windows 2000.  However, I discovered
that I don't have vi or vim.  Is there a way to
download one of these (or a different) text editor
into cygwin?  Which text editors would you recommend?

-Chris

--
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: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Dan Kegel
Dan Kegel wrote:
I've been adding cygwin support to http://kegel.com/crosstool
so I can build hetrogenous distcc clusters targeting e.g. Red Hat 6.2.
I have a nice automated shell script to do this;
works great under Linux, and I'm slowly chipping away at the problems
under Cygwin.  The latest one is a Heisenbug: a submake crashes,
but only if I don't run it under gdb :-(
Aha.  Using 'make -d' shows more detail:

Report bugs to <[EMAIL PROTECTED]>.

Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `../Makeconfig' (search path) (no ~ expansion)...
...
Reading makefile 
`/cygdrive/c/dank/test/crosstool-0.28-pre8c/build/i686-unknown-
linux-gnu/gcc-2.95.3-glibc-2.1.3/build-glibc/iconvdata/iconv-rules' 
(search path) (don't care) (no ~ expansion)...
Reading makefile `extra-module.mk' (search path) (no ~ expansion)...
Reading makefile `extra-module.mk' (search path) (no ~ expansion)...
[ 129 repeats of above line ]
Reading makefile `extra-module.mk' (search path) (no ~ expansion)...
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x0a07a738 PID 492
make[1]: *** [iconvdata/lib] Segmentation fault (core dumped)
Removing child 0x0a07a738 PID 492  from chain.

so the recursion in extra-module.mk (which is expected, though
I don't know how many repeats are normal) is going awry somehow.
I'll look into it more when I don't have a sqiggly baby on my lap
who wants to help.
- Dan
--
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: Apache obatined in Cygwin Setup is FOREIGN

2004-03-20 Thread George Hester
OK here is the attchment.

George Hester
__
"Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> On Fri, 19 Mar 2004, George Hester wrote:
> 
> > I forgot.  I have to override this newsreader and often I forget.  I
> > hope this is better.  Believe me the stuff it puts in that causes you
> > the trouble I do NOT mean to do intentionally.
> 
> It is better, thanks.  I didn't mean to chide you, just to alert you to
> the fact that it was hard to properly reply to your message.
> 
> > Igor Pechtchanski wrote:
> > > George,
> > >
> > > Please change either your style of reply quoting or your signature.  I had
> > > to jump through hoops to be able to include the full thread history in my
> > > reply, as pine kept cutting it off at the '-- ' in your signature.  Also,
> > > please try not to quote raw e-mail addresses in your replies.  More below.
> > >
> > > On Fri, 19 Mar 2004, George Hester wrote:
> > >
> > > > Igor Pechtchanski wrote:
> > > > > On Fri, 19 Mar 2004, George Hester wrote:
> > > > >
> > > > > > I downloaded and installed the Apache Server from the Cygwin setup.
> > > > > > It's in Chinese and Russian.  At least the index.html is NOT English.
> > > > > > How do I remove this and get the English version?  Thanks.
> > > > >
> > > > > Apache comes with the index.html page in multiple languages.  It selects
> > > > > the page to display based on your browser's accepted language preference.
> > > > > Try telnetting to the apache port and requesting 'GET / HTTP/1.0', and see
> > > > > which page is returned.
> > > > > Igor
> > > >
> > > > OK Igor I can try that.  I actually have a few language prefs in my
> > > > browser.  I suppose if I remove the non-English ones that may fix it.
> > > > But you know this is not right.  Apache should pull out the language
> > > > pref from the top which is English (US) in my case en-us.  There must be
> > > > a setting that is incorrect where the Apache is looking at 2nd 3rd pref
> > > > instead of 1st pref.
> > >
> > > I've just verified that Cygwin's Apache (which is version 1.3.29) doesn't
> > > recognize "en-US" (but does recognize "en").  This may be a bug in
> > > Apache...
> > >
> > > > Let me see what happens when I remove the other language prefs...yup
> > > > that did it.  The secondary and tertiary language prefs are interfering.
> > >
> > > Try adding "en" after "en-US"...
> > >
> > > > Another thing I am noticing.  When I start the Apache server logout no
> > > > lomger works in Cygwin.  The bash shell just hangs.  In fact it has hung
> > > > through the entire write of this post.  I have to kill the Cygwin
> > > > session by "X" the command console window.
> > >
> > > I don't see this on Win2k SP3, Cygwin 1.5.8.  But then, I run apache as a
> > > service.  You didn't provide enough information to allow others to attempt
> > > to reproduce this.  Please review the Cygwin problem reporting guidelines
> > > at  and try again...  Make sure to
> > > provide the exact sequence of actions that results in the hang.
> > > Igor
> >
> > Lets see:
> >
> > I double-click the Cygwin icon on the desktop.  I go into the default
> > bash shell.  I type \usr\sbin\httpd I then try logout and Cygwin hangs.
> 
> Please pay attention to details -- typing \usr\sbin\httpd will not even
> start Apache in a bash shell; you'd need to type /usr/sbin/httpd for that
> (note the forward slashes).  Also, httpd with no options forks and puts
> itself in the background, but, on some OSes may still be attached to the
> originating console (which is what you see -- bash has exited, but the
> *console window* that ran bash cannot exit because of httpd running).
> Since you haven't told us what version of the OS you're trying this on, we
> can't guess what the problem or the possible solutions might be.
> 
> > Not sure of the version of Cygwin...I think it just updated when I ran
> > setup a moment ago.
> 
> As specified in , the way to report the
> version of Cygwin (along with the OS version and enough details about your
> installation to try reproducing your problem) is to attach (as an
> uncompressed text attachment) the output of "cygcheck -svr" to your
> message.
> 
> > I'll try changing to en with the other language prefs and see if there
> > is a change.
> >
> > George Hester
> 
> HTH,
> 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!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
> 

cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://c

Re: Apache obatined in Cygwin Setup is FOREIGN

2004-03-20 Thread George Hester
Basically Thorsten you are telling me to get a different newsreader.  The stuff
you are having trouble with I do not do intentionally.

I try to make things better for you.
But sometimes I forget.  Please understand
I am NOT doing this to you intentionally.
It is a result of this newsreader.

Note complaining about my newsreader could also
be said of those used here where this 
issue comes up.  I am trying.

George Hester
__
"Thorsten Kampe"  wrote in message news:[EMAIL PROTECTED]
> * George Hester (2004-03-20 05:49 +0100)
> > [whatever]
> 
> And for christ's sake: have a line break and stop these senseless
> bottom full-quotings. You're emails are already unreadable enough.
> 
> Thorsten
> 
>


--
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: Configure a mailer to not quote raw e-mail addresses in replies (was: help with gcc)

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, Alex Vinokur wrote:

> "Igor Pechtchanski" wrote in message :
> > Alex,
> >
> > Please configure your mailer to not quote raw e-mail addresses in your
> > replies -- let's not make it easier for the spam harvesters.  More below.
> >
> [snip]
> OE-QuoteFix has been recommended to do that :
> http://groups.google.com/groups?th=1ebcb6e9525fa75b
>
> Could you recommend another tool?

Sure.  Any reasonable mailer (e.g., pine, mutt, Thunderbird, Netscape
Messenger, Eudora, the Bat) can be configured to omit the raw e-mail
address when a proper name is supplied.  I'm sure the newsreaders are just
as configurable.  FWIW, I use pine.  AFAICS, QuoteFix is a plug-in for
MS Outlook that accomplishes the same thing...  Don't know if it could be
done natively in Outlook...

> By the way. Your original message contains the following signature
> (explicit e-mail address).
> > --
> > http://cs.nyu.edu/~pechtcha/
> >   |\  _,,,---,,_ [EMAIL PROTECTED]
> > ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
> [snip]

Yes, I'm aware of that.  But it's my choice to display them -- I don't
expect you to do anything about them (except, maybe, optionally snip my
signature out of your replies, which, again, most reasonable mailers do).
Looking at your Google Groups posting, I believe you understood exactly
what I meant -- the e-mail address after a name in the "... wrote" string.
I'm mostly requesting this for others, who might unknowingly find their
e-mail addresses broadcasted for the whole world to see (since the
archives don't do address mangling in message bodies).
Igor
P.S. Thanks for taking the effort to research this, BTW.
-- 
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: Apache obatined in Cygwin Setup is FOREIGN

2004-03-20 Thread Thorsten Kampe
* George Hester (2004-03-20 05:49 +0100)
> [whatever]

And for christ's sake: have a line break and stop these senseless
bottom full-quotings. You're emails are already unreadable enough.

Thorsten


--
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: Apache obatined in Cygwin Setup is FOREIGN

2004-03-20 Thread Igor Pechtchanski
On Fri, 19 Mar 2004, George Hester wrote:

> I forgot.  I have to override this newsreader and often I forget.  I
> hope this is better.  Believe me the stuff it puts in that causes you
> the trouble I do NOT mean to do intentionally.

It is better, thanks.  I didn't mean to chide you, just to alert you to
the fact that it was hard to properly reply to your message.

> Igor Pechtchanski wrote:
> > George,
> >
> > Please change either your style of reply quoting or your signature.  I had
> > to jump through hoops to be able to include the full thread history in my
> > reply, as pine kept cutting it off at the '-- ' in your signature.  Also,
> > please try not to quote raw e-mail addresses in your replies.  More below.
> >
> > On Fri, 19 Mar 2004, George Hester wrote:
> >
> > > Igor Pechtchanski wrote:
> > > > On Fri, 19 Mar 2004, George Hester wrote:
> > > >
> > > > > I downloaded and installed the Apache Server from the Cygwin setup.
> > > > > It's in Chinese and Russian.  At least the index.html is NOT English.
> > > > > How do I remove this and get the English version?  Thanks.
> > > >
> > > > Apache comes with the index.html page in multiple languages.  It selects
> > > > the page to display based on your browser's accepted language preference.
> > > > Try telnetting to the apache port and requesting 'GET / HTTP/1.0', and see
> > > > which page is returned.
> > > > Igor
> > >
> > > OK Igor I can try that.  I actually have a few language prefs in my
> > > browser.  I suppose if I remove the non-English ones that may fix it.
> > > But you know this is not right.  Apache should pull out the language
> > > pref from the top which is English (US) in my case en-us.  There must be
> > > a setting that is incorrect where the Apache is looking at 2nd 3rd pref
> > > instead of 1st pref.
> >
> > I've just verified that Cygwin's Apache (which is version 1.3.29) doesn't
> > recognize "en-US" (but does recognize "en").  This may be a bug in
> > Apache...
> >
> > > Let me see what happens when I remove the other language prefs...yup
> > > that did it.  The secondary and tertiary language prefs are interfering.
> >
> > Try adding "en" after "en-US"...
> >
> > > Another thing I am noticing.  When I start the Apache server logout no
> > > lomger works in Cygwin.  The bash shell just hangs.  In fact it has hung
> > > through the entire write of this post.  I have to kill the Cygwin
> > > session by "X" the command console window.
> >
> > I don't see this on Win2k SP3, Cygwin 1.5.8.  But then, I run apache as a
> > service.  You didn't provide enough information to allow others to attempt
> > to reproduce this.  Please review the Cygwin problem reporting guidelines
> > at  and try again...  Make sure to
> > provide the exact sequence of actions that results in the hang.
> > Igor
>
> Lets see:
>
> I double-click the Cygwin icon on the desktop.  I go into the default
> bash shell.  I type \usr\sbin\httpd I then try logout and Cygwin hangs.

Please pay attention to details -- typing \usr\sbin\httpd will not even
start Apache in a bash shell; you'd need to type /usr/sbin/httpd for that
(note the forward slashes).  Also, httpd with no options forks and puts
itself in the background, but, on some OSes may still be attached to the
originating console (which is what you see -- bash has exited, but the
*console window* that ran bash cannot exit because of httpd running).
Since you haven't told us what version of the OS you're trying this on, we
can't guess what the problem or the possible solutions might be.

> Not sure of the version of Cygwin...I think it just updated when I ran
> setup a moment ago.

As specified in , the way to report the
version of Cygwin (along with the OS version and enough details about your
installation to try reproducing your problem) is to attach (as an
uncompressed text attachment) the output of "cygcheck -svr" to your
message.

> I'll try changing to en with the other language prefs and see if there
> is a change.
>
> George Hester

HTH,
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: tin-1.6.2: 8-bit chars not displayed, gettext transliterates

2004-03-20 Thread A . Alper ATICI
Hi,

On Sat, 20 Mar 2004 11:05:46 +0100, Corinna Vinschen
<[EMAIL PROTECTED]> wrote:
>
>It was not a known problem but now it is.  I have no solution for
>that problem so far, unfortunately.  Try experimenting with setting
>the environment variable ISO2ASC to values between 0 and 6 before
>starting tin, perhaps that mitigates it a bit.
>

I guess I've come up with sth to resolve the issues:

First off, transliteration is a general gettext issue in Cygwin 
(i.e. applicable to mutt, slrn, etc. also) and can be remedied by
setting OUTPUT_CHARSET in the environment accordingly, e.g.

$ OUTPUT_CHARSET=iso-8859-1 LC_ALL=de_DE tin -ra

I'm not sure whether all versions of gettext shipped with Cygwin
honors this env. var, but gettext-0.12 (cygintl-2) knows about it.


As for displaying 8-bit chars in messages, I've tweaked one line in
sources (see below) and rebuilt with --disable-locale, specifically:

./configure --prefix=/usr --mandir=/usr/share/man --enable-prototypes\
--without-pgp --without-pgpk --with-screen=ncurses \
--disable-locale --disable-mime-strict-charset

I've managed to display 8-bit chars after that in messages, in headers
also. The tweak below enables NLS without locale (which is Cygwin),
but have not tested thoroughly to observe side-effects, if any.


diff -Nur tin-1.6.2/src/main.c tin/src/main.c
--- tin-1.6.2/src/main.c2003-08-10 16:27:36.0 +0300
+++ tin/src/main.c  2004-03-20 09:56:54.004414400 +0200
@@ -96,7 +96,7 @@
cmd_line = TRUE;

/* initialize locale support */
-#if defined(HAVE_SETLOCALE) && !defined(NO_LOCALE)
+#if defined(HAVE_SETLOCALE)
if (setlocale(LC_ALL, "")) {
 #  ifdef ENABLE_NLS
bindtextdomain(PACKAGE, LOCALEDIR);



--
Alper Atıcı
PGP key @ http://sks.dnsalias.net:11371/pks/lookup?op=index&search=0xB824F550


--
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: Beep or playing a sound [User's Guide alert]

2004-03-20 Thread Igor Pechtchanski
On Fri, 19 Mar 2004, Edwin Goei wrote:

> Igor Pechtchanski wrote:
>
> > The ^G character will work in an xterm or rxvt running under X11.
>
> You're right, I wasn't thinking clearly when I wrote the email, sorry.
>
> > Oh well, there's always 'cat `cygpath -W`/Media/ding.wav > /dev/dsp'. ;-)
>
> Just what I wanted.  Thanks.  Is there any documentation on /dev/dsp?  I
> did a google search and didn't find anything.
>
> -Edwin

Edwin,

There should be quite a few documents on the net describing /dev/dsp on
Linux (try putting /dev/dsp in quotes when Googling).  It's a relatively
new implementation in Cygwin, however, and apparently wasn't around when
 was written...
It should, most likely, be added.  FYI, /dev/dsp is a.k.a /dev/sound and
/dev/audio.
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Brian Dessent
Dan Kegel wrote:

>$ eval `cat i686.dat gcc-2.95.3-glibc-2.1.3.dat` sh all.sh --notest
> After whirring and clanking for an hour or two on my wife's Athlon 1400
> running Windows XP, this bombs with the odd error
>make  -C iconvdata subdir_lib
>make[1]: *** [iconvdata/subdir_lib] Segmentation fault (core dumped)
> A short way to reproduce it a 2nd time is
> 
> #!/bin/sh
> PATH="/opt/crosstool/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/bin:$PATH"
> export PATH
> cd crosstool-0.28-pre8c/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3
> cd build-glibc
> make iconvdata/lib LD=i686-unknown-linux-gnu-ld
> RANLIB=i686-unknown-linux-gnu-ranlib

I've not much experience with distcc, but it looks like you're trying to
use gcc 2.95.  This version of gcc is known to be broken with Cygwin and
is not supported -- it has been removed from the Cygwin mirrors. 
Apologies if this does not apply to your circumstance...

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: Process of Installation?

2004-03-20 Thread Brian Dessent
George Hester wrote:

> When I run the setup for Cygwin I go through various dialog boxes to download and 
> install various packages.  All the packages come in as name.tar.bz2 files.  Consider 
> this package:
> 
> http://sourceforge.net/project/showfiles.php?group_id=28862
> 
> The files here are in the form name.tar.gz.  What I did was ungzip the package and 
> recompress it as a bz2 file.  What I'd like to do is use the same sequence of events 
> that Cygwin uses to install the name.tar.bz2 files downloaded from Cygwin setup to 
> install my newly formed bz2 file as I just described.  But I don't know the process 
> (the sequence of events) that Cygwin uses on the bz2 files to install the modules.
> 
> So I am asking what that sequence of events are and if it is possible to "manually" 
> install a package such as the above using the same sequence of events as are used 
> through the Setup interface?  Thanks.


.bz2 and .gz are simply compression types.  They specify nothing about
the content or format contained therein.

Cygwin's setup.exe is designed to install Cygwin packages.  These are
not arbitrary .bz2 files but rather special archives created by the
maintainers in a way that makes them installable by setup.  You cannot
simply point setup at arbitrary tarballs[*] and expect it to work.  If
you want to install the items to which you refer, you will need to
download, unpack, configure, make, and install them yourself, fixing any
issues that come up along the way.  Setup can only work with Cygwin
packages.

[*] Unless of course those files are Cygwin packages, with corresponding
setup.ini files.

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: tin-1.6.2: 8-bit chars not displayed, gettext transliterates

2004-03-20 Thread Corinna Vinschen
On Mar 19 13:57, A. Alper ATICI wrote:
> Hello,
> 
> tin-1.6.2 displays ? in place of 8-bit chars, and its gettext always
> transliterates messages though it selects the correct message
> catalogue after setting LC_ALL (this is Cygwin 1.5.8 on XP-Pro).
> 
> Is this a known problem, or am I missing sth?

It was not a known problem but now it is.  I have no solution for
that problem so far, unfortunately.  Try experimenting with setting
the environment variable ISO2ASC to values between 0 and 6 before
starting tin, perhaps that mitigates it a bit.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
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: Setup broke on my install base

2004-03-20 Thread John Sellers
Thanks, my new DSL account was just activated so I re-installed cygwin 
to test out the connection.  Everything worked.  I then duplicated the 
behavior I saw, and played with a number of mirrors.  I now think that 
what people told me in the first place was correct, but I have no 
explanation of why I earlier saw similar behavior when trying other 
mirror sites.  The only explanation I can think of is that the PEBCAK.  :-)

Igor Pechtchanski wrote:

John,

First, try selecting a different mirror.  Setup will not re-download the
packages you already have in the cache, even if the mirror is no longer
accessible.
If you get that problem with all the mirrors, try accessing
 and
 from your
web browser.  If you succeed, try to download the packages again after
setting the "Connection" selector to "Use IE5 Settings" in setup.
Igor
On Fri, 19 Mar 2004, John Sellers wrote:

 

A while back, setup stopped working when downloading, although I could
still install, and uninstall locally.   What is the best route to fixing
this without modifying a substantual installed base?
   

[SNIP]

--
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: make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Dan Kegel
Dan Kegel wrote:
Short story: make is dumping core on me repeatably under cygwin-1.5.9-1.
Things seem a bit unstable.
Should I roll back to an older version of cygwin?  If so,
which packages should I roll back?
Long story:
I've been adding cygwin support to http://kegel.com/crosstool
so I can build hetrogenous distcc clusters targeting e.g. Red Hat 6.2.
I have a nice automated shell script to do this;
works great under Linux, and I'm slowly chipping away at the problems
under Cygwin.  The latest one is a Heisenbug: a submake crashes,
but only if I don't run it under gdb :-(
One more datapoint: it doesn't seem to crash if I run it
under strace, either.
And no, the machine is not overclocked... it's been quite stable.
For what it's worth, I tried rolling back make and cygwin; didn't
seem to help (but then, I didn't reboot... hey, come to think of it,
isn't it standard practice to reboot when fixing any windows problem?
Guess I'll try again in the morning.)
- Dan
--
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/


Problem when compiling c++ using gcc

2004-03-20 Thread Feng Y
 Hi,
 
 I am new to Cygwin and I am using NS2 under cygwin-1.3.12.
When I tried to use gcc to compile some C++ code and
recompile NS, I met some problems. 
 
 I used the following command to compile the c++ file:
 gcc -o ping ping.cc
 
 I got the following messages:
 agent.h: No such file or directory
 tcltc.h: No such file or directory
 packet.h: No such file or directory
 
 
 How can I link these header files in NS directories?
 
 Thanks in advance.
 
 Yang
  
 

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



make segfault building cross-glibc with latest cygwin

2004-03-20 Thread Dan Kegel
Short story: make is dumping core on me repeatably under cygwin-1.5.9-1.
Things seem a bit unstable.
Should I roll back to an older version of cygwin?  If so,
which packages should I roll back?
Long story:
I've been adding cygwin support to http://kegel.com/crosstool
so I can build hetrogenous distcc clusters targeting e.g. Red Hat 6.2.
I have a nice automated shell script to do this;
works great under Linux, and I'm slowly chipping away at the problems
under Cygwin.  The latest one is a Heisenbug: a submake crashes,
but only if I don't run it under gdb :-(
Here's how to tickle the bug (at least here):
  $ wget http://kegel.com/crosstool/crosstool-0.28-pre8c.tar.gz
  $ tar -xzvf crosstool-0.28-pre8c.tar.gz
  $ cd crosstool-0.28-pre8c
  $ export RESULT_TOP=/opt/crosstool
  $ mkdir -p /opt/crosstool
  $ eval `cat i686.dat gcc-2.95.3-glibc-2.1.3.dat` sh all.sh --notest
After whirring and clanking for an hour or two on my wife's Athlon 1400
running Windows XP, this bombs with the odd error
  make  -C iconvdata subdir_lib
  make[1]: *** [iconvdata/subdir_lib] Segmentation fault (core dumped)
A short way to reproduce it a 2nd time is
#!/bin/sh
PATH="/opt/crosstool/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/bin:$PATH"
export PATH
cd crosstool-0.28-pre8c/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3
cd build-glibc
make iconvdata/lib LD=i686-unknown-linux-gnu-ld 
RANLIB=i686-unknown-linux-gnu-ranlib

(long lines wrapped, sorry).
I tried sticking gdb in a crucial place in 
crosstool-0.28-pre8c/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/glibc-2.1.3/Makefile
by replacing the call to $(MAKE) with a call to gdb $(MAKE):

iconvdata/% localedata/% po/%:
# $(MAKE) $(PARALLELMFLAGS) -C $(@D) $(@F)
gdb $(MAKE)
and then used
 set args -C iconvdata subdir_lib
 run
but the darn thing proceded to work properly.
Also, on a different machine, I had a completely different
failure mode (see 
http://sources.redhat.com/ml/crossgcc/2004-03/msg00136.html)

I'm attaching cygcheck.out.
Thanks,
Dan

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sat Mar 20 00:08:16 2004

Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\opt\gnome\bin
C:\cygwin\usr\local\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\system32\WBEM
c:\Program Files\Pinnacle\Shared Files
.

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1004(liz) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1004(liz) GID: 513(None)
513(None)544(Administrators)  
545(Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\liz'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/dank/test/crosstool-0.28-pre8c'
USER = `liz'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\liz\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `ZILF'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
DISPLAY = `:0.0'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\liz'
LOGONSERVER = `\\ZILF'
MANPATH = `:/usr/X11R6/man:/opt/gnome/man:/usr/local/man:/usr/X11R6/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = 
`/cygdrive/c/dank/test/crosstool-0.28-pre8c/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/glibc-2.1.3'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 4 Stepping 4, AuthenticAMD'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0404'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\liz\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\liz\LOCALS~1\Temp'
USERDOMAIN = `ZILF'
USERNAME = `liz'
USERPROFILE = `C:\Documents and Settings\liz'
WINDIR = `C:\WINDOWS'
_ = `/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
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
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\SO