Re: perl textmode newline problem

2003-09-13 Thread Gerrit P. Haase
Peter,

>> I can't get perl to write files in text mode with correct line feeds.
>>
>> My perl program:
>> #!/usr/bin/perl
>> open(F, "> test.txt") or die "can't open file";
>> print F "Foo\n";
>> print F "Bar\n";
>> close(F);
>>
>> Outputs newlines as 0x0A.
>>
>> But my C program:
>> #include 
>> int main(int argc, char** argv)
>> {
>> FILE *fp = fopen("test3.txt", "w");
>> fprintf(fp, "Foo\n");
>> fprintf(fp, "Bar\n");
>> fclose(fp);
>> return 0;
>> }
>>
>> Writes newlines as 0x0D 0x0A. Same output dir.

Please use the PERLIO layers, due to problems with PERLIO and
binmode() in perl I patched perl to default to PERLIO=unix, you can
override this by setting PERLIO in your environment to PERLIO=crlf
which will push the CRLF layer on top, perl will do conversion of \n
to \r\n automatically then.

$ ./perl_newline.pl

$ od -c test.txt
000   F   o   o  \n   B   a   r  \n
010

$ export PERLIO=crlf

$ ./perl_newline.pl

$ od -c test.txt
000   F   o   o  \r  \n   B   a   r  \r  \n
012


Gerrit
-- 
=^..^=


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



kpsewhich.exe - Unable to locate DLL

2003-09-13 Thread Alex Vinokur
I updated some CYGWIN packets.

Now when I open the Cygwin window I have got the following error message box:

-- kpsewhich.exe - Unable to locate DLL -
The dynamic link library cygkpathsea-3-3-7 dll could not be found
in the specified patch ...
---

$ cygcheck -sr | grep cygk
   61k 2003/08/09 C:\cygwin\bin\cygkpathsea-3.dll
   60k 2003/07/27 C:\cygwin\bin\cygkpathsea-3abi13.dll

cygwin  packet version 1.5.3-1


What is wrong?

   =
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://mathforum.org/library/view/10978.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: SEGV in conv_path_list_buf_size with xemacs-21.5-b13 and cygwin-snapshot-20030904-1

2003-09-13 Thread Corinna Vinschen
On Fri, Sep 12, 2003 at 04:23:11PM -0500, Pete McCann wrote:
> Pete McCann writes:
>  > Corinna Vinschen writes:
>  > > Can you check how often the function cygwin_posix_to_win32_path_list_buf_size()
>  > > is called?  Does that happen fairly often?
>  > > 
>  > > Corinna
>  > 
>  > That function is called about 600 - 700 times (sometimes as many as
>  > 2000-3000) when I do a simple operation like checking for new mail in
>  > the spool file.  cygheap_max grows steadily with each call.
> 
> And, I don't see a destructor for path_conv that would free
> normalized_path.  Perhaps this is the source of the memory leak?
> Note that a path_conv is created on the stack inside
> conv_path_list_buf_size at path.cc, line 3627.

The problem should be solved in CVS.

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: Sshd - Can't get access thru Public Key

2003-09-13 Thread Corinna Vinschen
On Fri, Sep 12, 2003 at 05:59:03PM +0200, Olivier ALLART wrote:
> On aWin 2003 Server, I got the message
> 'Setuid : 500: Not permitted' when trying to login using RSA PK mechanisms.
> Login/Passwd works just fine, but using a PKey won't work.

That can be found in the mailing list archive already.
E.g. http://www.cygwin.com/ml/cygwin/2003-07/msg00684.html

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: Sshd - Can't get access thru Public Key

2003-09-13 Thread Olivier ALLART
Wow thanks a lot.

I wonder why this mail was not listed in the results when I was 
searching the MLs or web..

Olivier

*Corinna Vinschen wrote:

On Fri, Sep 12, 2003 at 05:59:03PM +0200, Olivier ALLART wrote:
 

On aWin 2003 Server, I got the message
'Setuid : 500: Not permitted' when trying to login using RSA PK mechanisms.
Login/Passwd works just fine, but using a PKey won't work.
   

That can be found in the mailing list archive already.
E.g. http://www.cygwin.com/ml/cygwin/2003-07/msg00684.html
Corinna

 



--
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: shutdown-1.3-1 patch for Win9x

2003-09-13 Thread Corinna Vinschen
On Sat, Sep 13, 2003 at 05:30:55AM +, Mark Ord wrote:
> Although shutdown.exe works fine on NT (XP at least), it's not possible to
> shutdown a system to a power off state with shutdown.exe on Win9x
> (Win98SE tested).
> 
> It's been my experience (on Win98SE anyway) that it's directly related
> to the ShutdownEx() API. Despite what the API docs say, EWX_POWEROFF
> actually performs a log off, while EWX_SHUTDOWN performs a power off
> shutdown, on Win9x. This behavour seems to hold true even in a non
> cygwin application.
> 
> The following patch to shutdown-1.3-1 makes 'shutdown -s' work as
> expected (power off, instead of log off) on Win9x, tested on Win98SE.

Thanks for the patch.  I've included it slightly different formatted.
I've uploaded a new version 1.4-1 with this patch to cygwin.com.

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: Cygwin on external drive?

2003-09-13 Thread Gerrit P. Haase
Hallo Peter,

Am Donnerstag, 11. September 2003 um 11:32 schriebst du:

> I moved a complete perfectly working Cygwin-configuration with
> Apache and SSL from C:\cygwin to F.\cygwin an external 40GB disk
> drive (connected via USB) and tried to get it running, but it will
> not work. I must say that I have expected problems. Should this be
> possible after a straight installation on an external drive from the
> beginning?  
> I think I found a hint in some faq that installation on C:\cygwin is
> not mandatory. 
> Thanks in advance :-) 

Works well for me with the correct mounts.  But using services which
are running under 'Local System' account doesn't work because Windows
'mounts' (Shared Drives/Folders) are only visible to the user but not
to the system.

Servus,
Gerrit
-- 
=^..^=


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



Re: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Max Bowsher
Christopher Faylor wrote:
> I've made test versions of gcc 3.3.1 (and the accompanying gcc-mingw
> package) available via setup.  This version is the 3.3.1 release plus
> the usual cygwin + mingw patches -- most of which come from Danny Smith.
> The set of custom patches necessary for cygwin and mingw is shrinking
> all of the time.  gcc 3.4 should be much better in this regard.
> 
> Anyway, it seems to work fine.  Usual caveats apply.
> 
> Problems go to the cygwin mailing list as always.

There is an error in the gcc-mingw preremove script.
The line "echo cd /usr" should be "cd /usr".

Max.


--
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: Find: missing alphabetically last dirtree

2003-09-13 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Kleven Bingham

> Hannu E K Nevalainen (garbage mail) wrote:
> >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> >>Of Christopher Faylor
> >
> 
> >
> >>Well, I'm fresh out of ideas, then.  I'm back to being unable
> to fix what
> >>I can't duplicate.
> >
> >
> >  :?7  sorry to hear that...
> >
> > I did try another thing; copy the contents of the CD to a
> FAT32(D:) and a
> > NTFS(F:) partition and then try my script on the result, using the
> > 2003-09-12 snapshot. Dunno if this tells us anything, but I was a bit
> > curious.
> > Outcome: FAT32 AND NTFS - find works as it should.
> >
> > Guess: there is something peculiar with the CDROM fs or contents!
>^
> You may be on to something here...
>
> I've been watching this thread the last couple of days and refrained
> from jumping in since I'm not entirely clear on the specifics of this
> issue, but this latest message threw up another red flag that made me
> think I might want to chime in.
>
> I've recently been playing with CD images and ISO image programs and
> found out that Microsoft often uses an internal app called cdimage.exe
> to generate the ISO images they use for CD distributions.  This program
> has some 'extended features' that are supposedly NOT ISO-9660 compliant.
>   One in particular allows you to 'compress' the image by scanning for
> identical files in the potential image and then only inserting the file
> data into the image once, while creating directory pointers to it 'from
> multiple locations.'  Basically, something that sounds a lot like hard
> linking.  The documentation I read stated that this DEFINITELY was not
> standard ISO-9660.  I was a bit surprised at that (not knowing much
> about ISO-9660), and I don't know how reliable that doc was, so I'm
> taking it with a grain of salt.

 This seems just to be a border case to multisessions on CD's for me, I'm
not convinced that it is 'standards-legal' to have it this way. It will most
likeley work in most cases.
 Here it seems as find and/or cygwin has problems in some undefined way. I
suspect that Chris probably has a great deal more clues about it ;-)

> If you haven't already Hannu, I would suggest you find a CD (or few)
> from another manufacturer or that you know is ISO-9660 compliant and
> test against that.  You very well may find some different results.

 I already know that the problem is _this particular CD_, as I said before;
it is the first in a set of three, on the other two 'find' does what is
expected.

 Come to think of it; might be something to try - if the above is indeed
true.
 I also have an idea on how to check for files with same contents (find,
md5sum, uniq - in combination).

> Or perhaps I don't have any clue what I'm talking about with respect to
> your actual problem. ;-)  Wouldn't be the first time!

 I have recollections of someone here... ahh... It _might_ be ME ;-)

My opinion and experience is that even the clueless can *at times* come up
with things that brings the discussion forth.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--


--
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: Find: missing alphabetically last dirtree

2003-09-13 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Christopher Faylor

> On Fri, Sep 12, 2003 at 11:21:19PM +0200, Hannu E K Nevalainen
> (garbage mail) wrote:
> >total 16450
> >dr-xr-xr-x2 500  513 0 Nov 21  2002 .
>^
> That's the problem.
>
> I found a bug in my previous code (strcpy != strcat) which
> probably accounts
> for it.  I'll generate another snapshot later tonight.

 I'll have a look ASAP :-).

I've been spending time on this but now have to hurry up with other things
;-/

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--


--
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: new package proposal : CLISP

2003-09-13 Thread Gerrit P. Haase
Hallo Sam,

Am Freitag, 5. September 2003 um 20:57 schriebst du:

> I created a new package: CLISP (http://clisp.cons.org)

> ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-1.tar.bz2
> ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-1-src.tar.bz2
> ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/setup.hint

> I built it with 1.3.22 (I will make a 1.5 as soon as I gather myself to
> upgrade).

> category: devel interpreters math shells

Yes, I already wrote an email to ask you to contribute this as a
package, but I deleted it again because I knew that there are already
cygwin binaries available for the brave.  I'm all for this being
included in the netrelease!


> devel: this is a development tool
> interpreters: like perl, python &c (but much better! :-)
> math: runs maxima, has arbitrary precision integers and floats
> shells: can be your login shell (http://clisp.cons.org/clash.html)

> I know that I am supposed to send this to cygwin-apps, but it is a
> subscriber-only mailing list which does not offer the "disable delivery
> option" (like mailman does).  I do not want any mailing list to be
> delivered to my mailbox (I read all mailing lists I need on gmane.org).

IIRC you can tell ezmlm to subscribe you but not to deliver.

Gerrit
-- 
=^..^=


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



Apache/PHP installation puzzle

2003-09-13 Thread dave_d
Fellow Cygwinners!

Now I fully expect to be told to RTFM --- but here goes anyway!

I've installed Cygwin on a W2K workstation primarily for the purpose of running 
Postgres and for this it works admirably. All installations have worked 
flawlessly.

Encouraged by the performance of Cygwin I decided that I would replace the 
local Windows IIS 'Personal Web Server' with Apache +PHP.  I started the Setup 
program, selected Apache and the PHP library and initiated the installation.  
The installation reported complete with no errors or warnings.  I started the 
Apache server and accessing 'localhost/index.html' produced the desired result -
 Apache is up and running.  I then wrote the approved php test script (  ) and pointed the browser to 'localhost/tester.php'.  No PHP!!  I 
checked the /etc/postinstall directory and the presence of apache-php-sh.done 
rather indicates that installation was OK.  To check I deleted this file, re-
installed the PHP library alone and, again, installation appears OK with no 
errors.  I checked in the setup logs - again, no errors.  However, nowhere on 
the system is the a libphp4 of any description to be found and so I can't see 
how I can add the LoadModule line to the httpd.conf file.

I've spent a couple of hours Googling and searching the mail archives but have 
not seen this problem refered to anywhere else. I would appreciate a nudge in 
the right direction,

Regards,

Dave.

--
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com


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



ANNOUNCEMENT for bath?

2003-09-13 Thread Rolf Campbell
I noticed there's a new version of bash out -14, but no announcement?

-Rolf



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


vertraulicher Antrag

2003-09-13 Thread collins adam



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



Problems building the dada engine

2003-09-13 Thread Eran Balaish
Hi.
It seems that there's a problem to build the dada engine 
(http://dev.null.org/dadaengine)
under cygwin. did anyone manage to do it?
Eran.

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


bash-2.05b-14 broken!

2003-09-13 Thread Sam Steingold
PS1="\[\e[33;1m\]\t\[\e[m\] \[\e[36;1m\]\w [\#]\\$\[\e[m\] "
there are two spaces after "$", not one as it should be
(and as it was with bash-2.05b-13 and on all the other unixes).

another manifestation of the same bug: when the command line is folded,
it folds one extra line.

apparently, the prompt output code prints one extra space which it does
not account for internally.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
  
 
Profanity is the one language all programmers know best.


--
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: new package proposal : CLISP

2003-09-13 Thread Sam Steingold
built against 1.5.3:

ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-2.tar.bz2
ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/clisp-2.31-2-src.tar.bz2
ftp://ftp2.cons.org/pub/lisp/clisp/binaries/latest/cygwin/setup.hint

I think I fixed all concerns with the binary package and most concerns
with the source one.
I would greatly appreciate it if someone took over this package
maintenance.  I am the "upstream maintainer" and I have quite enough on
my plate with that.

thanks.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
  
 
Growing Old is Inevitable; Growing Up is Optional.


--
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 for bash?

2003-09-13 Thread Rolf Campbell
Oops, s/th/sh/

Rolf Campbell wrote:
I noticed there's a new version of bash out -14, but no announcement?

-Rolf





--
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: bash-2.05b-14 broken!

2003-09-13 Thread Rolf Campbell
Yeah, this bash has the same problems that -12 did, and more.

PS1='\[\]$PWD\[\]>\[\] '
There are some literal escape chars in that...
I get a colored prompt like this:
/home/rcampbell>
if I type t, then I see a list of possible completions, and:

/home/rcampbell> t t
^^
These 2 characters have magically appeared, and are not erasable.
Sam Steingold wrote:

PS1="\[\e[33;1m\]\t\[\e[m\] \[\e[36;1m\]\w [\#]\\$\[\e[m\] "
there are two spaces after "$", not one as it should be
(and as it was with bash-2.05b-13 and on all the other unixes).
another manifestation of the same bug: when the command line is folded,
it folds one extra line.
apparently, the prompt output code prints one extra space which it does
not account for internally.


--
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: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Rolf Campbell
Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
can't link in libraries compiled with an older version of cygwin g++.

/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
reference to `___gxx_personality_v0'
/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
undefined reference to `__Unwind_Resume'

I get about 200 of those.

Oh, and my cygcheck took 3.4seconds.

Christopher Faylor wrote:

I've made test versions of gcc 3.3.1 (and the accompanying gcc-mingw
package) available via setup.  This version is the 3.3.1 release plus
the usual cygwin + mingw patches -- most of which come from Danny Smith.
The set of custom patches necessary for cygwin and mingw is shrinking
all of the time.  gcc 3.4 should be much better in this regard.
Anyway, it seems to work fine.  Usual caveats apply.

Problems go to the cygwin mailing list as always.

But you know that.

cgf


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sat Sep 13 12:16:27 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\WINNT\SYSTEM32
C:\WINNT
C:\WINNT\SYSTEM32\WBEM
C:\PERFORCE
C:\cygwin\bin
C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\Perforce
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\Program Files\SSH

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11643(rcampbell) GID: 10513(Domain Users)
10513(Domain Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11643(rcampbell) GID: 10513(Domain Users)
544(Administrators)   545(Users)
10513(Domain Users)

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

CYGWIN = `binmode'
HOME = `C:\cygwin\home\rcampbell'
MAKE_MODE = `unix'
PWD = `/tmp'
USER = `rcampbell'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\rcampbell\Application Data'
COLORFGBG = `0;default;15'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `PCRCAMPBELL2'
COMSPEC = `C:\WINNT\system32\cmd.exe'
COSMIC = `c:/node.beta1/COSMIC'
DISPLAY = `:0'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\PCRCAMPBELL2'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/rcampbell'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSE_ROOT = `C:\OSE\OSE4.4.1\'
P4CONFIG = `.p4config'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyc;.pyo;.pyw;.pys'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0806'
PROGRAMFILES = `C:\Program Files'
PS1 = `\[\]$PWD\[\]>\[\] '
SHLVL = `3'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\Temp'
TERM = `xterm'
TROPIC_UNIQUE_ID = `150'
USERDNSDOMAIN = `tropicnetworks.com'
USERDOMAIN = `TROPICNETWORKS'
USERNAME = `rcampbell'
USERPROFILE = `C:\Documents and Settings\rcampbell'
WINDIR = `C:\WINNT'
WINDOWID = `168046576'
_ = `/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
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `C:'
  flags = 0x0002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
Menu\Programs\Cygnus Solutions
  (default) = (unsupported type)
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

c:  hd  NTFS   19069Mb  74% CP CS UN PA FC Campbell
d:  cd  CDFS   0Mb -2147483548%CS  Audio CD

C: /cuserbinmode
.  /cygdrive userbinmode,cygdrive
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  sy

Re: Find: missing alphabetically last dirtree

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 11:55:08AM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
>> Of Christopher Faylor
>
>> On Fri, Sep 12, 2003 at 11:21:19PM +0200, Hannu E K Nevalainen
>> (garbage mail) wrote:
>> >total 16450
>> >dr-xr-xr-x2 500  513 0 Nov 21  2002 .
>>^
>> That's the problem.
>>
>> I found a bug in my previous code (strcpy != strcat) which
>> probably accounts
>> for it.  I'll generate another snapshot later tonight.
>
> I'll have a look ASAP :-).
>
>I've been spending time on this but now have to hurry up with other things
>;-/

How much time does it take to download a snapshot, unpack it, and run
find?

Ok.  I guess I don't have any more time to devote to it either.  Thanks
for playing.

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: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 12:20:39PM -0400, Rolf Campbell wrote:
>Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
>can't link in libraries compiled with an older version of cygwin g++.
>
>/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
>reference to `___gxx_personality_v0'
>/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
>undefined reference to `__Unwind_Resume'

Apparently not.

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: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Rolf Campbell
Christopher Faylor wrote:

On Sat, Sep 13, 2003 at 12:20:39PM -0400, Rolf Campbell wrote:

Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
can't link in libraries compiled with an older version of cygwin g++.

/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
reference to `___gxx_personality_v0'
/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
undefined reference to `__Unwind_Resume'
Apparently not.

cgf
Ok, let me rephrase:  Do you consider this a problem worth fixing?



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


[ANNOUNCEMENT] Updated: cygwin-1.5.4-1

2003-09-13 Thread Christopher Faylor
I've made a new version of the Cygwin DLL and associated utilities
available for download.  As usual, a list of what has changed is below.

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

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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

[EMAIL PROTECTED]

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

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

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

Christopher Faylor
Red Hat, Inc.

Changes since 1.5.3-1:

- Shared memory security fixes.  (Pierre Humblet)

- Signal handler tweaks.  (Christopher Faylor)

- Fix crash when resizing a console window.  (Christopher Faylor)

- Fix mmap to avoid memory corruption caused by mmap table management.
  (Corinna Vinschen)

- Fix problem where misbehaving program (like tee.exe) could trash its
  command line and, subsequently, cause a crash when queried by procps.
 (Christopher Faylor)

- Make sleep, nanosleep properly return correctly rounded amount of time left
  to sleep.  (Pierre Humblet)

- Avoid defining IPV6 stuff in cygwin headers since it really isn't available
  and could confuse some programs that check for it (like libjava).
  (Christopher Faylor)

- Fill in '.' and '..' fields for directories which lack them.
  Should fix "find won't recurse into last N directories in a drive root like
  c:\, where N == 1 || N == 2" problem; for some people at least.
  (Christopher Faylor)

- Correctly account for '.' and '..' in link counts.  (Christopher Faylor)

- Export argz* and envz* functions from newlib.  (Nicholas Wourms)

- Implement endusershell, getusershell and setusershell.  (Corinna Vinschen)

- Initialize pw_comment field in passwd fields parsed by cygwin (apparently
  helps perl).  (Christopher Faylor)

- Implement many new functions from BSD - daemon, forkpty, openpty, iruserok,
  ruserok, login_tty, openpty, forkpty, revoke, logwtmp, updwtmp.
  (Corinna Vinschen)

- *Finally* move getopt function into the cygwin DLL.  (Corinna Vinschen)

- Make cygcheck not report empty packages as "Incomplete". (Igor Pechtchanski)

- Remove cygcheck dependence on an external gzip program (speeds up cygcheck -c
  reporting).  (Christopher Faylor)

- Make atexit commands thread independent.  (Thomas Pfaff)

- Fix output from "mount -m" to correctly report -u mounts and managed
  mode mounts.  (AJ Reins)

- Fix strange smb problem where removing a directory succeeds but returns
  an error anyway.  (Corinna Vinschen, Christopher Faylor)

- Add a -d (--dump-only) option to cygcheck to avoid doing sanity tests
  on packages.  (Igor Pechtchanski)

- Fix problem where symlinks showed as foo.lnk on network shares.
  (Corinna Vinschen)

- Fix strange problem where a removal of a directory on a samba share would
  report failure even when the removal succeeded.
  (Corinna Vinschen,  Christopher Faylor)


--
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: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 12:43:38PM -0400, Rolf Campbell wrote:
>Christopher Faylor wrote:
>
>>On Sat, Sep 13, 2003 at 12:20:39PM -0400, Rolf Campbell wrote:
>>
>>>Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
>>>can't link in libraries compiled with an older version of cygwin g++.
>>>
>>>/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
>>>reference to `___gxx_personality_v0'
>>>/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
>>>undefined reference to `__Unwind_Resume'
>>
>>Apparently not.
>>
>Ok, let me rephrase:  Do you consider this a problem worth fixing?

No.

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: new package proposal : CLISP

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 09:45:16AM +0200, Gerrit P. Haase wrote:
>IIRC you can tell ezmlm to subscribe you but not to deliver.

A point which was made abundantly clear nine days ago.

This discussion is history on the cygwin mailing list.  Feel free
to continue it on the cygwin-apps mailing list.

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



/bin/kill -f complains but succeeds for non-cygwin apps

2003-09-13 Thread Rolf Campbell
/c/base2/node> notepad &
[1] 1888
/c/base2/node> ps
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 1936   11936   1936  con 11643 13:35:48 /usr/bin/rxvt
 139219361392   20400 11643 13:35:48 /usr/bin/bash
 188813921888   18880 11643 14:03:38 
/c/WINNT/SYSTEM32/notepad
 177613921776   18200 11643 14:03:42 /usr/bin/ps
/c/base2/node> /bin/kill -f 1888
couldn't kill pid 1888, 5


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sat Sep 13 14:05:36 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\WINNT\SYSTEM32
C:\WINNT
C:\WINNT\SYSTEM32\WBEM
C:\PERFORCE
C:\cygwin\bin
C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\Perforce
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\Program Files\SSH

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11643(rcampbell) GID: 10513(Domain Users)
10513(Domain Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11643(rcampbell) GID: 10513(Domain Users)
544(Administrators)   545(Users)
10513(Domain Users)

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

CYGWIN = `binmode'
HOME = `C:\cygwin\home\rcampbell'
MAKE_MODE = `unix'
PWD = `/c/base2/node'
USER = `rcampbell'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\rcampbell\Application Data'
COLORFGBG = `0;default;15'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `PCRCAMPBELL2'
COMSPEC = `C:\WINNT\system32\cmd.exe'
COSMIC = `c:/node.beta1/COSMIC'
DISPLAY = `:0'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\PCRCAMPBELL2'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/c/base2/node/comp'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSE_ROOT = `C:\OSE\OSE4.4.1\'
P4CONFIG = `.p4config'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyc;.pyo;.pyw;.pys'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0806'
PROGRAMFILES = `C:\Program Files'
PS1 = `\[\]$PWD\[\]>\[\] '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\Temp'
TERM = `xterm'
TROPIC_UNIQUE_ID = `150'
USERDNSDOMAIN = `tropicnetworks.com'
USERDOMAIN = `TROPICNETWORKS'
USERNAME = `rcampbell'
USERPROFILE = `C:\Documents and Settings\rcampbell'
WINDIR = `C:\WINNT'
WINDOWID = `168046576'
_ = `/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
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `C:'
  flags = 0x0002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
Menu\Programs\Cygnus Solutions
  (default) = (unsupported type)
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

c:  hd  NTFS   19069Mb  74% CP CS UN PA FC Campbell
d:  cd  CDFS   0Mb -2147483548%CS  Audio CD

C: /cuserbinmode
.  /cygdrive userbinmode,cygdrive
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

RE: [ANNOUNCEMENT] Updated: cygwin-1.5.4-1

2003-09-13 Thread Hannu E K Nevalainen \(garbage mail\)
> Subject: [ANNOUNCEMENT] Updated: cygwin-1.5.4-1

 I get cygwin1.dll "1.3.22-dontuse-21" by running setup.exe and cycling to
"All @ Install" in package selection, i.e. postinstall stuff barfs out.

Hrm... setup.exe doesn't seem to have 1.5.x listed anywhere, or am I blind?

/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--


--
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.4-1

2003-09-13 Thread Rolf Campbell
Which mirror did you use?  Try rcn.net

Hannu E K Nevalainen (garbage mail) wrote:

Subject: [ANNOUNCEMENT] Updated: cygwin-1.5.4-1


 I get cygwin1.dll "1.3.22-dontuse-21" by running setup.exe and cycling to
"All @ Install" in package selection, i.e. postinstall stuff barfs out.
Hrm... setup.exe doesn't seem to have 1.5.x listed anywhere, or am I blind?

/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html
--END OF MESSAGE--




--
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.4-1

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 08:18:45PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>> Subject: [ANNOUNCEMENT] Updated: cygwin-1.5.4-1
>
> I get cygwin1.dll "1.3.22-dontuse-21" by running setup.exe and cycling to
>"All @ Install" in package selection, i.e. postinstall stuff barfs out.
>
>Hrm... setup.exe doesn't seem to have 1.5.x listed anywhere, or am I blind?

Use another mirror, preferably one that already has 1.5.4.

--
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: Find: missing alphabetically last dirtree

2003-09-13 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Christopher Faylor

> On Sat, Sep 13, 2003 at 11:55:08AM +0200, Hannu E K Nevalainen
> (garbage mail) wrote:

> > I'll have a look ASAP :-).
> >
> >I've been spending time on this but now have to hurry up with
> other things
> >;-/
>
> How much time does it take to download a snapshot, unpack it, and run
> find?
>
> Ok.  I guess I don't have any more time to devote to it either.  Thanks
> for playing.
>
> cgf

 Disappointing, yes. I was there looking for it this morning at 10 o'klock
or so... saw nothing but the snapshot from yesterday.
 Now when I saw the 1.5.4(?) version announced I ran setup; and got 1.3.22
back...

 It isn't easy to test something you can't lay hands on. The snapshot still
is "2003-Sep-12" as the latest.

I guess you have NO automatic build for Saturday and Sunday.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--


--
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: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Charles Wilson
Rolf Campbell wrote:

Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
can't link in libraries compiled with an older version of cygwin g++.

/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
reference to `___gxx_personality_v0'
/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
undefined reference to `__Unwind_Resume'

I get about 200 of those.

Oh, and my cygcheck took 3.4seconds.
What happens if you use 'fabi-version=1' ?  '-fabi-version=0' ?

Also, what does the following command show:

g++ -E -dM - < /dev/null | awk '/GXX_ABI/ {print $3}'

gcc-3.2-3 gives "102"

--
Chuck




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


Re: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Rolf Campbell
Charles Wilson wrote:

Rolf Campbell wrote:

Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
can't link in libraries compiled with an older version of cygwin g++.

/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
reference to `___gxx_personality_v0'
/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
undefined reference to `__Unwind_Resume'

I get about 200 of those.

Oh, and my cygcheck took 3.4seconds.
What happens if you use 'fabi-version=1' ?  '-fabi-version=0' ?

Also, what does the following command show:

g++ -E -dM - < /dev/null | awk '/GXX_ABI/ {print $3}'

gcc-3.2-3 gives "102"

Chuck
Ok, it's not really an ABI change.  It's just that the newer g++ doesn't 
provide/require the "___gxx_personality_v0" or "__Unwind_Resume" 
symbols.  So, any library produced with 3.2-3 will not link into an app 
compiled with 3.3.1-1.



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


SSHD and XP problems; setguid fails

2003-09-13 Thread Stephen Biggs
Cygwin/SSHD on Windows XP SP1, all updated as of this evening.

I've seen some other posts on this issue but none really addresses what I 
am seeing.

The output from running SSHD in debug mode:
[EMAIL PROTECTED] ~
$ /usr/sbin/sshd -p 22 -D -d -d -d
debug2: read_server_config: filename /etc/sshd_config
debug1: sshd version OpenSSH_3.6.1p2
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
RSA key generation complete.

.. After connection from another unprivileged cygwin prompt:
[EMAIL PROTECTED] ~
$ ssh localhost
Read from socket failed: Connection reset by peer

The server outputs:
debug1: Server will not fork when running in debugging mode.
Connection from 127.0.0.1 port 1395
debug1: Client protocol version 2.0; client software version OpenSSH_3.6.1p2
debug1: match: OpenSSH_3.6.1p2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_3.6.1p2
debug2: Network child is on pid 2228
debug3: privsep user:group 1010:545
debug3: preauth child monitor started
setgid failed for 545
debug3: mm_request_receive entering
debug1: Calling cleanup 0x422880(0x0)

[EMAIL PROTECTED] ~
$

A verbose client run gives:
[EMAIL PROTECTED] ~
$ ssh -vvv localhost
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
debug1: Reading configuration data /etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug2: key_type_from_name: unknown key type ''
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'Comment:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type ''
debug3: key_read: missing keytype
debug1: identity file /home/steve/.ssh/identity type -1
debug3: Not a RSA1 key file /home/steve/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-END'
debug3: key_read: missing keytype
debug1: identity file /home/steve/.ssh/id_rsa type 1
debug1: identity file /home/steve/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p2
debug1: match: OpenSSH_3.6.1p2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
debug1: Calling cleanup 0x41b2e0(0x0)

[EMAIL PROTECTED] ~
$

The relevant entries in /etc/passwd:
Users:*:545:545:,S-1-5-32-545::
sshd:unused_by_nt/2000/xp:1010:545:sshd 
privsep,U-YIYEH-BESEDER\sshd,S-1-5-21-527237240-1004336348-1417001333-1010:/var/empty:/bin/false

sshd is the only UID in /etc/passwd that belongs to Users.

/etc/group entry:
Users:S-1-5-32-545:545:

/etc/passwd and /etc/group are world readable.

Can anybody point me in the right direction to find out how to get this 
to work?  I haven't even got to the fun parts trying to get key 
authentication working, yet.

Thanks for any assistance.



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



Still getting Signal 11 error msg

2003-09-13 Thread fergus
After some recent large updates including XFree* and tetex* and texmf* I am
still getting a "Signal 11" error msg after a request to xdvi a .dvi file.
This is after starting XWin -multiwindow and when running rxvt -display.
Anybody else getting this or similar, or recognise the symptom? Thank you.
Fergus


--
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: Still getting Signal 11 error msg

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 06:03:07PM +0100, [EMAIL PROTECTED] wrote:
>After some recent large updates including XFree* and tetex* and texmf* I am
>still getting a "Signal 11" error msg after a request to xdvi a .dvi file.
>This is after starting XWin -multiwindow and when running rxvt -display.
>Anybody else getting this or similar, or recognise the symptom? Thank you.

http://cygwin.com/problems.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: Still getting Signal 11 error msg

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 01:15:48PM -0400, Harold L Hunt II wrote:
>Don't send these messages to the Cygwin maiiling list.  That will only 
>lead to them ignoring you if you later have a legitimate question.

Hmm.  AFAICT, this discussion does belong in both groups until we narrow
down what is causing the crash.

>You say you are getting a "Signal 11" error message, but I don't see a 
>reference to which program is actually crashing.

Previous email mentions that the program in question is xdvi.  It even
received confirmation, right here in cygwin-xfree.  However neither of
the previous messages nor this message are going to help much since
there is no accompanying information about the environment in which the
crashes occur.  This is why the standard response is to direct people to
the problems page where attaching cygcheck output is suggested.

Attaching cygcheck output is something that Fergus has seemed reluctant
to do.  The cygwin problems page also has a lot of tips for reporting
problems, one of which is to not send email with vague subjects.

I have already requested that the xdvi package maintainer jump into
this discussion so maybe they will have some insight.

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: Still getting Signal 11 error msg

2003-09-13 Thread Harold L Hunt II
That's what I get for replying to email from bed on a Saturday morning.

Harold

Christopher Faylor wrote:

On Sat, Sep 13, 2003 at 01:15:48PM -0400, Harold L Hunt II wrote:

Don't send these messages to the Cygwin maiiling list.  That will only 
lead to them ignoring you if you later have a legitimate question.


Hmm.  AFAICT, this discussion does belong in both groups until we narrow
down what is causing the crash.

You say you are getting a "Signal 11" error message, but I don't see a 
reference to which program is actually crashing.


Previous email mentions that the program in question is xdvi.  It even
received confirmation, right here in cygwin-xfree.  However neither of
the previous messages nor this message are going to help much since
there is no accompanying information about the environment in which the
crashes occur.  This is why the standard response is to direct people to
the problems page where attaching cygcheck output is suggested.
Attaching cygcheck output is something that Fergus has seemed reluctant
to do.  The cygwin problems page also has a lot of tips for reporting
problems, one of which is to not send email with vague subjects.
I have already requested that the xdvi package maintainer jump into
this discussion so maybe they will have some insight.
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: [ANNOUNCEMENT] Updated: cygwin-1.5.4-1

2003-09-13 Thread Hannu E K Nevalainen \(garbage mail\)


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Christopher Faylor
> Sent: Saturday, September 13, 2003 8:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.5.4-1
> 
> 
> On Sat, Sep 13, 2003 at 08:18:45PM +0200, Hannu E K Nevalainen 
> (garbage mail) wrote:
> >> Subject: [ANNOUNCEMENT] Updated: cygwin-1.5.4-1
> >
> > I get cygwin1.dll "1.3.22-dontuse-21" by running setup.exe and 
> cycling to
> >"All @ Install" in package selection, i.e. postinstall stuff barfs out.
> >
> >Hrm... setup.exe doesn't seem to have 1.5.x listed anywhere, or 
> am I blind?
> 
> Use another mirror, preferably one that already has 1.5.4.

Ouch ;-) I've been using sunsite.dk so long that I'm blind WRT that too...

*Now* I get the stuff I expected (using ...rcn.net).

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE-- 

--
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: Still getting Signal 11 error msg

2003-09-13 Thread Jan Nieuwenhuizen

> After some recent large updates including XFree* and tetex* and texmf* I am
> still getting a "Signal 11" error msg after a request to xdvi a .dvi file.
> This is after starting XWin -multiwindow and when running rxvt -display.
> Anybody else getting this or similar, or recognise the symptom?

It seems to be related with the XAPPL config file XDvi.  Could you try
running xdvi.bin directly (so that XAPPLRESDIR does not get set)?

I'm building a debug version to investigate the problem with the
config file.

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


--
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: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Danny Smith
On Sat, Sep 13, 2003 at 12:43:38PM -0400, Rolf Campbell wrote:
>Christopher Faylor wrote:
>
>>On Sat, Sep 13, 2003 at 12:20:39PM -0400, Rolf Campbell wrote:
>>
>>>Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
>>>can't link in libraries compiled with an older version of cygwin g++.
>>>
>>>/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
>>>reference to `___gxx_personality_v0'
>>>/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
>>>undefined reference to `__Unwind_Resume'
>>
>>Apparently not.
>>
>Ok, let me rephrase:  Do you consider this a problem worth fixing?


gcc 3.2-3 used Dwarf2 exceptions, which worked most of the time. (In fact,
I don't recall any bug reports at all on cygwin list).  But it didn't work
with w32api callbacks, nor with some combinations of compiler switches
(notably -mcpu=i586 or -mno-accumulate-outgoing-args and
-fomit-frame-pointer).

cygwin gcc-3.3.1 uses setjmp-longjmp exception mechanism,
mingw does too and has done since gcc-3.2.1.

The two undefined references are Dwarf2 specific.  The corresponding
SjLj symbols are __gxx_personality_sj0 and  __Unwind_SjLj_Resume.

Danny

http://search.yahoo.com.au - Yahoo! Search
- Looking for more? Try the new Yahoo! Search

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



xdvi: SIGSEGV in XtInitialize

2003-09-13 Thread Jan Nieuwenhuizen

I had a look at the xdvi problem; if XAPPLRESDIR is set to a directory
that actually contains a file called `XDvi' that can be read,
XtInitialize provokes a SIGSEGV.

Anyone who X11 with debugging info who wants to look at this?

Jan.


Breakpoint 1, main (argc=2, argv=0x10032170)
at /netrel/src/tetex-bin-2.0.2-13/texk/xdvik/xdvi.c:2291
(gdb) c
Continuing.

Breakpoint 2, main (argc=2, argv=0x10032170)
at /netrel/src/tetex-bin-2.0.2-13/texk/xdvik/xdvi.c:2377
(gdb) l 2377,2378
2377top_level = XtInitialize(prog, "XDvi", options, XtNumber(options),
2378 &argc, argv);
(gdb) s

Program received signal SIGSEGV, Segmentation fault.
0x in ?? () from 
(gdb) bt
#0  0x in ?? () from 
(gdb) up
Initial frame selected; you cannot go up.
(gdb)

 
cygcheck ./xdvi.in.exe
.\xdvi.bin.exe
  c:\cygwin\usr\X11R6\bin\cygICE-6.dll
c:\cygwin\bin\cygwin1.dll
  C:\WINDOWS\System32\KERNEL32.dll
C:\WINDOWS\System32\ntdll.dll
  c:\cygwin\usr\X11R6\bin\cygSM-6.dll
  c:\cygwin\usr\X11R6\bin\cygX11-6.dll
  c:\cygwin\usr\X11R6\bin\cygXext-6.dll
  c:\cygwin\usr\X11R6\bin\cygXpm-4.dll
  c:\cygwin\bin\cygkpathsea-3.dll

XFree86-bin 4.3.0-2


-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


--
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.4-1

2003-09-13 Thread Editor of PoliSource
1.5.4-1 is obviously later than what I got, but how would I find the version 
number of my current version? It doesn't seem to be in the file name.

_
Use custom emotions -- try MSN Messenger 6.0! 
http://www.msnmessenger-download.com/tracking/reach_emoticon

--
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: Find: missing alphabetically last dirtree

2003-09-13 Thread Hannu E K Nevalainen \(garbage mail\)

Sidenote:
I've got a problem with running setup. Might have been caused by getting
1.3.22 version of cygwin1.dll installed at my update attempt earlier today.

As things went wrong somewhere I tried brute force; Reinstall everything...
setup.exe seems to have some peculiar problem with "Reinstall"-ing
_update-info-dir-00213-1. It ends up with this:

+---+
[Microsoft Visual C++ Runtime Library  x]

 (X) Runtime Error!

 Program: ...\setup-2.415.exe


 abnormal program termination

   [ OK ]
++
SIGH. Not checked what the problem is, setup-2.340.2.5 seems to have the
same problem (IIRC). Stopped trying to reinstall.

... bash seems to come up as usual, so I'm not that worried. I guess it has
something to do with that particular package.
--


 1.5.4 - The same 'find' result as with previous snapshots.
The Samples directory doesn't get traversed.

There seems to be one positive change though... I've tested all three CD's
in the MSDN set once again.
 I get "bad" results on *all* of them - i.e. _consistent_, though faulty
behaviour for all of them.

 I've also tried a bunch of other _MICROSOFT_ CD's that I have, many of them
show the same faulty result: One directory isn't traversed.
 I tried CD's I've burned myself (Digital picture collections); no fault,
 I tried other CD's too... not found one which fails. (e.g. Complete set of
Redhat 8.0 CDs)


 I wouldn't be surprised if others may _reproduce_ this now... Any takers?
 Grab your favorite(!?) Microsoft-package-CD and run the attached script on
it e.g. "mkdir z; cd z; find_check D:"


Another thing; The first line of output here is new:

$ command ls -lan P:
ls: P:/..: No such file or directory
total 16450
dr-xr-xr-x5 500  513 0 Nov 21  2002 .
dr-xr-xr-x2 500  513 0 Nov 21  2002 IE60
-r-xr-xr-x1 500  513   1707856 Oct 15  2001 InstMSIA.exe
-r-xr-xr-x1 500  513   1821008 Sep 24  2001 InstMSIW.exe
dr-xr-xr-x2 500  513 0 Nov 21  2002 NT4SP
dr-xr-xr-x4 500  513 0 Nov 21  2002 Program Files
dr-xr-xr-x4 500  513 0 Nov 21  2002 Samples
-r-xr-xr-x1 500  513 45126 Sep 28  2002 autorun.exe
-r--r--r--1 500  51329 Oct 17  2001 autorun.inf
-r--r--r--1 500  513  13181440 Nov 21  2002 msdn.msi
-r--r--r--1 500  513  3584 Mar  1  2002 msdnadvt.mst
-r--r--r--1 500  513 23245 Nov 16  2002 readme.htm
-r-xr-xr-x1 500  513 57409 May 10  2002 setup.exe
$ command ls -lan /cygdrive/p
total 16450
dr-xr-xr-x5 500  513 0 Nov 21  2002 .
dr-xr-xr-x   16 00   0 Jan  1  1970 ..
dr-xr-xr-x2 500  513 0 Nov 21  2002 IE60
-r-xr-xr-x1 500  513   1707856 Oct 15  2001 InstMSIA.exe
-r-xr-xr-x1 500  513   1821008 Sep 24  2001 InstMSIW.exe
dr-xr-xr-x2 500  513 0 Nov 21  2002 NT4SP
dr-xr-xr-x4 500  513 0 Nov 21  2002 Program Files
dr-xr-xr-x4 500  513 0 Nov 21  2002 Samples
-r-xr-xr-x1 500  513 45126 Sep 28  2002 autorun.exe
-r--r--r--1 500  51329 Oct 17  2001 autorun.inf
-r--r--r--1 500  513  13181440 Nov 21  2002 msdn.msi
-r--r--r--1 500  513  3584 Mar  1  2002 msdnadvt.mst
-r--r--r--1 500  513 23245 Nov 16  2002 readme.htm
-r-xr-xr-x1 500  513 57409 May 10  2002 setup.exe

I'm goin to bed now... the time is 00:45, local.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E


Filenames: FIND_CHK.-cygdrive-p-QTR37ENUD1-D63D-731C.2003-09-13

 FIND_CHK.  <- literal
 -cygdrive-p<- CD was in in /cygdrive/p/
 QTR37ENUD1 <- "label" of the CD
 D63D-731C  <- "Serial number"
 2003-09-13 <- Date of cygwin1.dll


-- MSDN CD # 1 --


--- FIND_CHK.-cygdrive-p-QTR37ENUD1-D63D-731C.2003-09-13.sw 2003-09-13
23:41:30.0 +0200
+++ FIND_CHK.-cygdrive-p-QTR37ENUD1-D63D-731C.2003-09-13.sdir   2003-09-13
23:41:30.0 +0200
@@ -1,4 +1,3 @@
-p:\
 p:\IE60
 p:\NT4SP
 p:\Program Files
@@ -58,3 +57,807 @@ p:\Program Files\Microsoft Visual Studio
 p:\Program Files\Microsoft Visual Studio .NET\Common7
 p:\Program Files\Microsoft Visual Studio .NET\Common7\IDE
 p:\Samples
+P:\Samples\VC
+P:\Samples\VCSharp
+P:\Samples\VCSharp\General
+P:\Samples\VCSharp\General\CSharpAutomatingOffice
+P:\Samples\VCSharp\General\CSharpAutomatingOffice\AutoWord
+P:\Samples\VCSharp\General\CSharpAutomatingOffice\AutoWord\CreateWordAssemb
ly
+P:\Samples\VCSharp\General\CSharpAutomatingOffice\AutoWord\Example1
+P:\Samples\VCSharp\General\CSharpAutomatingOffice\AutoWord\Example2
+P:\Samples\VCSharp\General\CSharpAutomatingOffice\AutoWord\Example3

  <*** SNIP ***>

+P:\Samples\VC\ManagedExtensions\WindowsForms\progressbarctl
+P:\Sam

Re: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Rolf Campbell
Danny Smith wrote:
On Sat, Sep 13, 2003 at 12:43:38PM -0400, Rolf Campbell wrote:
Christopher Faylor wrote:
On Sat, Sep 13, 2003 at 12:20:39PM -0400, Rolf Campbell wrote:
Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
can't link in libraries compiled with an older version of cygwin g++.

/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
reference to `___gxx_personality_v0'
/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
undefined reference to `__Unwind_Resume'
gcc 3.2-3 used Dwarf2 exceptions, which worked most of the time. (In fact,
I don't recall any bug reports at all on cygwin list).  But it didn't work
with w32api callbacks, nor with some combinations of compiler switches
(notably -mcpu=i586 or -mno-accumulate-outgoing-args and
-fomit-frame-pointer).
cygwin gcc-3.3.1 uses setjmp-longjmp exception mechanism,
mingw does too and has done since gcc-3.2.1.
The two undefined references are Dwarf2 specific.  The corresponding
SjLj symbols are __gxx_personality_sj0 and  __Unwind_SjLj_Resume.
Danny
Ok, are there command-line switches to change the exception mechanism 
used?  I would like to be able to use cygwin gcc 3.2 to build libraries 
that work with cygwin gcc 3.3.



--
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: Find: missing alphabetically last dirtree

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 08:24:35PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
>>Of Christopher Faylor
>
>>On Sat, Sep 13, 2003 at 11:55:08AM +0200, Hannu E K Nevalainen (garbage
>>mail) wrote:
>
>>>I'll have a look ASAP :-).
>>>
>>>I've been spending time on this but now have to hurry up with
>>other things
>>>;-/
>>
>>How much time does it take to download a snapshot, unpack it, and run
>>find?
>>
>>Ok.  I guess I don't have any more time to devote to it either.  Thanks
>>for playing.
>>
>>cgf
>
>Disappointing, yes.  I was there looking for it this morning at 10
>o'klock or so...  saw nothing but the snapshot from yesterday.

"Snapshot from yesterday"?  I said I would generate a snapshot "later
tonight" and that's what I did.  "later tonight" in my timezone would
have the same date as any other snapshot previously generated earlier in
that day.  The ChangeLog shows that I fixed a problem with something
called "ndisk_links".  That should have been a pretty good clue.

>I guess you have NO automatic build for Saturday and Sunday.

The snapshots are not built automatically.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: Find: missing alphabetically last dirtree

2003-09-13 Thread Christopher Faylor
On Sun, Sep 14, 2003 at 12:45:58AM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>As things went wrong somewhere I tried brute force; Reinstall everything...
>setup.exe seems to have some peculiar problem with "Reinstall"-ing
>_update-info-dir-00213-1. It ends up with this:
>
>+---+
>[Microsoft Visual C++ Runtime Library  x]
>
> (X) Runtime Error!
>
> Program: ...\setup-2.415.exe
>
>
> abnormal program termination
>
>   [ OK ]
>++
>SIGH. Not checked what the problem is, setup-2.340.2.5 seems to have the
>same problem (IIRC). Stopped trying to reinstall.
>
>... bash seems to come up as usual, so I'm not that worried. I guess it has
>something to do with that particular package.

So start a new thread if you have setup problems.

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



(link to) gcc-testsuite results for cygming-special 3.3.1

2003-09-13 Thread Tim Prince
http://gcc.gnu.org/ml/gcc-testresults/2003-09/msg00497.html
-- 
Tim Prince

--
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: (link to) gcc-testsuite results for cygming-special 3.3.1

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 05:48:11PM -0700, Tim Prince wrote:
>http://gcc.gnu.org/ml/gcc-testresults/2003-09/msg00497.html

Are you saying that you'd like to be the package maintainer for this?
That would be great!
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: Why flex doesn't work in new version of cygwin (1.5.3)

2003-09-13 Thread lijun xu
Dear all,

I have a program that uses c++ class generate by flex.exe. It runs well  in the 
version (1.3.10). When I upgrade to the latest version (1.5.3).The program always 
return "Exception: STATUS_ACCESS_VIOLATION".The content of dump file is as follows:
Exception: STATUS_ACCESS_VIOLATION at eip=35B31200
eax= ebx=0022F784 ecx= edx= esi=0A046130 edi=0A046A08
ebp=3F5F4FB5 esp=00224118 program=E:\cygwin\home\Administrator\Test\mctester.exe
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
 220306 [main] mctester 1076 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
 251474 [main] mctester 1076 handle_exceptions: Error while dumping state (probably 
corrupted stack)
Any help is appreciated.

Lijun Xu

Re: Find: missing alphabetically last dirtree

2003-09-13 Thread Christopher Faylor
On Sat, Sep 13, 2003 at 12:21:48PM -0400, Christopher Faylor wrote:
>Ok.  I guess I don't have any more time to devote to it either.  Thanks
>for playing.

Ok.  I lied.  This still bugged me and I finally managed to duplicate it
on one of my non-CD directories.  The problem only manifests if the first
entry in a directory is a directory.  It's an ancient cygwin problem that
should be fixed in "tonight's snapshot".

By "tonight" I am, of course, referring to my own frame of reference
which is EDT (UTC -400).

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/



[ANNOUNCEMENT] Updated: flex-2.5.31-1

2003-09-13 Thread Christopher Faylor
I've made a new version of 'flex' available for download.  This updates
the package to the latest version available from sourceforge.  This
compiles out of the box and the program seems to pass its test suite.

For a brief descripton of this package, see http://cygwin.com/packages/

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.  To select the
'flex' package for the first time, click on the 'Devel' category and
then click on the 'skip' field next to 'flex' until 2.5.31-1 is
displayed.

If you have questions or comments, please send them to the Cygwin
mailing list (see http://cygwin.com/lists.html).

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

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

[EMAIL PROTECTED]

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

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

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

Christopher Faylor


--
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: Why flex doesn't work in new version of cygwin (1.5.3)

2003-09-13 Thread Christopher Faylor
On Sun, Sep 14, 2003 at 09:28:15AM +0800, lijun xu wrote:
>I have a program that uses c++ class generate by flex.exe.  It runs
>well in the version (1.3.10).  When I upgrade to the latest version
>(1.5.3).  The program always return "Exception:
>STATUS_ACCESS_VIOLATION".

I've just released a new version of flex.  Maybe it will work better.
It seems to pass its test suites so that should be a good sign.

You may have to recompile any c++ libraries if you have also upgraded
gcc.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



grep.exe - Unable to locate DLL

2003-09-13 Thread Alex Vinokur

"Alex Vinokur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I updated some CYGWIN packets.
>
> Now when I open the Cygwin window I have got the following error message box:
>
> -- kpsewhich.exe - Unable to locate DLL -
> The dynamic link library cygkpathsea-3-3-7 dll could not be found
> in the specified patch ...
> ---
>
> $ cygcheck -sr | grep cygk
>61k 2003/08/09 C:\cygwin\bin\cygkpathsea-3.dll
>60k 2003/07/27 C:\cygwin\bin\cygkpathsea-3abi13.dll
>
> cygwin  packet version 1.5.3-1
>
>
> What is wrong?
>

I have got a problem with grep as well.

Error message box :

-- grep.exe : Unable To Locale DLL --
The dynamic link library cygpcre.dll could not be found
in the specified patch ...



   =
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://mathforum.org/library/view/10978.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.4-1

2003-09-13 Thread Rolf Campbell
uname -a

Editor of PoliSource wrote:
1.5.4-1 is obviously later than what I got, but how would I find the 
version number of my current version? It doesn't seem to be in the file 
name.

_
Use custom emotions -- try MSN Messenger 6.0! 
http://www.msnmessenger-download.com/tracking/reach_emoticon




--
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: grep.exe - Unable to locate DLL

2003-09-13 Thread Igor Pechtchanski
On Sun, 14 Sep 2003, Alex Vinokur wrote:

>
> "Alex Vinokur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > I updated some CYGWIN packets.
> >
> > Now when I open the Cygwin window I have got the following error
> > message box:
> >
> > -- kpsewhich.exe - Unable to locate DLL -
> > The dynamic link library cygkpathsea-3-3-7 dll could not be found
> > in the specified patch ...
> > ---
> >
> > $ cygcheck -sr | grep cygk
> >61k 2003/08/09 C:\cygwin\bin\cygkpathsea-3.dll
> >60k 2003/07/27 C:\cygwin\bin\cygkpathsea-3abi13.dll
> >
> > cygwin  packet version 1.5.3-1
> >
> > What is wrong?
>
> I have got a problem with grep as well.
>
> Error message box :
>
> -- grep.exe : Unable To Locale DLL --
> The dynamic link library cygpcre.dll could not be found
> in the specified patch ...
> 

Is this an NT-based OS?  Are the DLLs executable?  If not, they should be.
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: (link to) gcc-testsuite results for cygming-special 3.3.1

2003-09-13 Thread Charles Wilson
Christopher Faylor wrote:

On Sat, Sep 13, 2003 at 05:48:11PM -0700, Tim Prince wrote:

http://gcc.gnu.org/ml/gcc-testresults/2003-09/msg00497.html


Are you saying that you'd like to be the package maintainer for this?
That would be great!
Snarkiness aside, Oh Magnate of Meanness, but I believe Tim was giving 
you precisely what you asked for.

You said the packages (gcc-3.3.1-1 and gcc-mingw-20030911-1) were 
available for testing.  Tim ran the testsuite, today, 13 Sep 2003.  And 
then reported the results.  He also reported them to the gcc-testresults 
mailing list -- but only sent "us" a link to that earlier report.

Some more words from Tim would've been nice -- and keeping the response 
in your original thread instead of starting a new one wouldn't've hurt, 
either.

But I really really hope you haven't invented a new rule where:

"please test"
"okay, here's my results"
"great, thanks for volunteering to take over maint of the package"
'cause that'd really cut down on the number of people who bother to read 
'Avail for test' messages...

--
Chuck


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


Re: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Charles Wilson
Danny Smith wrote:

gcc 3.2-3 used Dwarf2 exceptions, which worked most of the time. (In fact,
I don't recall any bug reports at all on cygwin list).  But it didn't work
with w32api callbacks, nor with some combinations of compiler switches
(notably -mcpu=i586 or -mno-accumulate-outgoing-args and
-fomit-frame-pointer).
cygwin gcc-3.3.1 uses setjmp-longjmp exception mechanism,
mingw does too and has done since gcc-3.2.1.
The two undefined references are Dwarf2 specific.  The corresponding
SjLj symbols are __gxx_personality_sj0 and  __Unwind_SjLj_Resume.
So, just to make sure I understand...

This "problem" only affects C++ code -- and only C++ code which uses 
exceptions.  If a C++ library uses exceptions, it should be recompiled 
with the new compiler.  If a C++ _program_ uses excetions -- or uses a 
(C++) library which uses exceptions -- then it should be 
recompiled/relinked too, but only after the suspect lib has been 
recompiled with gcc-3.3.1, as well.

But C code (libraries, apps, etc) are unaffected, and need no recompiling.

Right?

--
Chuck


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


w2ksp4 cygwin Perl/Tk 'cpan -i Tk' fails

2003-09-13 Thread David Christensen
Hello, world!

I have a W2K SP4 box with a fresh install of Cygwin, and would like to
use Perl/Tk.  When I attempt to install the Tk module using cpan:

[EMAIL PROTECTED]:~$ cpan -i Tk
CPAN: Storable loaded ok
Going to read /home/dpchrist/.cpan/Metadata
  Database was generated on Sat, 13 Sep 2003 12:45:46 GMT
Running install for module Tk
...
Failed Test Stat Wstat Total Fail  Failed  List of Failed

---
t/cursor.t   255 65280 11 100.00%  1
t/entry.t336   29   8.63%  129 181-183 186-187 190-1
95 198-205
   207 280 284 306 308 311 3
27-329
t/listbox.t  425   41   9.65%  79 82-83 85-87 89-91 176-
177 247
   262-263 269-278 288-289 2
91-294 317
   323-324 326-329 331 333 3
38 393
t/wm-time.t6  1536126  50.00%  7-12
2 tests and 9 subtests skipped.
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force
Warning: Cannot install 2, don't know what it is.
Try the command

i /2/

to find objects with matching identifiers.


A full build log can be found here:

http://www.holgerdanske.com/dpchrist/cygwin-cpan-tk.log


Any suggestions?


TIA,

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: Available for testing: gcc-3.3.1-1 and gcc-mingw-20030911-1

2003-09-13 Thread Gerrit P. Haase
Hallo Rolf,

Am Sonntag, 14. September 2003 um 01:07 schriebst du:

> Danny Smith wrote:
>> On Sat, Sep 13, 2003 at 12:43:38PM -0400, Rolf Campbell wrote:
>>>Christopher Faylor wrote:
On Sat, Sep 13, 2003 at 12:20:39PM -0400, Rolf Campbell wrote:
>Is this new gcc supposed to be ABI compatible with 3.2.x?  Because I 
>can't link in libraries compiled with an older version of cygwin g++.
>
>/c/temp/cppunit-1.8.0/src/cppunit/TestSucessListener.cpp: undefined 
>reference to `___gxx_personality_v0'
>/c/temp/cppunit-1.8.0/src/cppunit/../../include/cppunit/TestListener.h:33: 
>undefined reference to `__Unwind_Resume'
>> 
>> gcc 3.2-3 used Dwarf2 exceptions, which worked most of the time. (In fact,
>> I don't recall any bug reports at all on cygwin list).  But it didn't work
>> with w32api callbacks, nor with some combinations of compiler switches
>> (notably -mcpu=i586 or -mno-accumulate-outgoing-args and
>> -fomit-frame-pointer).
>> 
>> cygwin gcc-3.3.1 uses setjmp-longjmp exception mechanism,
>> mingw does too and has done since gcc-3.2.1.
>> 
>> The two undefined references are Dwarf2 specific.  The corresponding
>> SjLj symbols are __gxx_personality_sj0 and  __Unwind_SjLj_Resume.
>> 
>> Danny
> Ok, are there command-line switches to change the exception mechanism 
> used?  I would like to be able to use cygwin gcc 3.2 to build libraries 
> that work with cygwin gcc 3.3.

It is a build time issue.  You use --disable-sjlj-exceptions or not
to configure gcc, should be compatible when using it (with the caveats
mentioned above).  IIRC dwarf2 and sjlj exceptions are exclusive.


Gerrit
-- 
=^..^=


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