Re: [1.7] does not compile with -ansi

2009-03-25 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave Korn wrote: > Should signal.h perhaps wrap the stuff tagged 'CX' and 'RTS' at > http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html > in #ifndef __STICT_ANSI__ ? Actually, it looks like someone already thought about that, but

Re: [1.7] does not compile with -ansi

2009-03-25 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave Korn wrote: > Should signal.h perhaps wrap the stuff tagged 'CX' and 'RTS' at > http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html > in #ifndef __STICT_ANSI__ ? What about those marked 'XSI'? Yaakov -BEGIN PGP SIGNATUR

Re: gcc4: extern inline vs. c99

2009-03-25 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave Korn wrote: > Dave Korn wrote: >> See also http://gcc.gnu.org/ml/gcc/2007-03/threads.html#01088 for >> background >> and a solution. You mean like this (attached)? > Oh, but see also: > > http://sourceware.org/ml/newlib/2007/msg00326.htm

Re: libtool: two cygwin patches

2009-03-25 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles Wilson wrote: > Thanks for looking in to this; this failure has always bugged me because > I know cygwin supports it, but I've never had the time to track it down. It has bugged me for quite a while too, as libglade-based packages often requ

Re: csih: Unattended installations are not possible

2009-03-25 Thread Charles Wilson
Julio Costa wrote: > Hope you can make something useful from these patches, because I think > this helps cygwin getting more 'smooth' in configuration activities. Thanks for the patch. After a brief glance, it looks good to me. I plan to release a new csih package sometime in the next week -- I'v

Re: [1.7] does not compile with -ansi

2009-03-25 Thread Dave Korn
Yaakov (Cygwin/X) wrote: > #includes only #ifdef _POSIX_THREADS, which > is not defined if the -ansi compiler flag is passed. STC: > > $ echo '#include ' > test-signal.c > > $ gcc-4 -ansi -c test-signal.c > In file included from /usr/include/sys/signal.h:107, > from /usr/incl

Re: libtool: two cygwin patches

2009-03-25 Thread Charles Wilson
Yaakov (Cygwin/X) wrote: > I attached two patches for libtool for your consideration: > > 1) 2.2-export-all-symbols.patch: > > On Cygwin, the --export-all-symbols linker flag is required; > --export-dynamic has no effect (see > http://sourceware.org/bugzilla/show_bug.cgi?id=6744). > > This patch

Re: _set_fmode?

2009-03-25 Thread Charles Wilson
Christopher Faylor wrote: > I always just use: > > gcc --print-file-name=binmode.o > > Why isn't that adequate? It is. Works like a charm, in fact. I just didn't know about it. I created a new patch using that idiom, and pushed it upstream. Thanks! -- Chuck -- Unsubscribe info: http://

[1.7] does not compile with -ansi

2009-03-25 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 #includes only #ifdef _POSIX_THREADS, which is not defined if the -ansi compiler flag is passed. STC: $ echo '#include ' > test-signal.c $ gcc-4 -ansi -c test-signal.c In file included from /usr/include/sys/signal.h:107, from /u

Re: gcc4: extern inline vs. c99

2009-03-25 Thread Dave Korn
Dave Korn wrote: > > See also http://gcc.gnu.org/ml/gcc/2007-03/threads.html#01088 for background > and a solution. Oh, but see also: http://sourceware.org/ml/newlib/2007/msg00326.html for an important bugfix to that solution. cheers, DaveK -- Unsubscribe info: http://cygw

Re: gcc4: extern inline vs. c99

2009-03-25 Thread Dave Korn
Yaakov (Cygwin/X) wrote: > gcc-4 -std=c99 appears to be treating extern inline functions as if they > were marked dllexport, leading to all sorts of linking problems. STC: Hi Yaakov, This is nothing to do with dllexport, as it happens. The semantics of "extern inline" have changed in recen

Re: [ANNOUNCEMENT] Updated: gnuplot-4.2.4-1 - A command-line driven interactive function plotting utility.

2009-03-25 Thread Jim Kleckner
Jim Kleckner wrote: Dr. Volker Zell wrote: Hi A new version of 'gnuplot' has been uploaded to a server near you. [snip] Would you mind to consider including the patch documented here: http://article.gmane.org/gmane.os.cygwin.applications/17023 and here: http://cygwin.com/ml/cygwin-apps/20

Re: MinTTY 0.4-alpha1

2009-03-25 Thread Ashok Vadekar
--confirm-exit-error ? - Original Message - From: cygwin-ow...@cygwin.com To: cygwin@cygwin.com Sent: Wed Mar 25 20:50:45 2009 Subject: Re: MinTTY 0.4-alpha1 Frank Fesevur: > An minor option I would like is to always close MinTTY, even when bash > exits with status code. Now I need to p

Re: MinTTY 0.4-alpha1

2009-03-25 Thread Andy Koppe
Frank Fesevur: > An minor option I would like is to always close MinTTY, even when bash > exits with status code. Now I need to press for instance the enter key > to close MinTTY after I pressed Ctrl+D and I have pressed Ctrl+C at > least once. Any successfully executed command will clear the exit

Re: 'less': not working with 'mintty' > v0.3.6

2009-03-25 Thread Andy Koppe
Lee D. Rothstein wrote: > However, while works, generates: > >  ESCOF > > on the bottom command line and doesn't change the rest of the > screen. If I then type -C (required to allow keyboard input > to be accepted, at all, at this point), and then, , and > both work. I'm sorry, but I'm out of

gcc4: extern inline vs. c99

2009-03-25 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dave, gcc-4 -std=c99 appears to be treating extern inline functions as if they were marked dllexport, leading to all sorts of linking problems. STC: $ cat > test-ntohs1.c < extern void foo (uint32_t); int main(void) { uint32_t a = 10; ht

libtool: two cygwin patches

2009-03-25 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, I attached two patches for libtool for your consideration: 1) 2.2-export-all-symbols.patch: On Cygwin, the --export-all-symbols linker flag is required; - --export-dynamic has no effect (see http://sourceware.org/bugzilla/show_bug.cgi?id=67

Re: [ANNOUNCEMENT] Updated: gnuplot-4.2.4-1 - A command-line driven interactive function plotting utility.

2009-03-25 Thread Larry Hall (Cygwin)
Jim Kleckner wrote: Dr. Volker Zell wrote: Hi A new version of 'gnuplot' has been uploaded to a server near you. [snip] Would you mind to consider including the patch documented here: http://article.gmane.org/gmane.os.cygwin.applications/17023 and here: http://cygwin.com/ml/cygwin-apps/20

Re: [ANNOUNCEMENT] Updated: gnuplot-4.2.4-1 - A command-line driven interactive function plotting utility.

2009-03-25 Thread Jim Kleckner
Dr. Volker Zell wrote: Hi A new version of 'gnuplot' has been uploaded to a server near you. [snip] Would you mind to consider including the patch documented here: http://article.gmane.org/gmane.os.cygwin.applications/17023 and here: http://cygwin.com/ml/cygwin-apps/2008-06/msg00102.html

Re: MinTTY 0.4-alpha1

2009-03-25 Thread Frank Fesevur
2009/3/25 Andy Koppe : > I've uploaded development release 0.4-alpha1 of MinTTY to > http://mintty.googlecode.com. This has a few new or improved features > to try and break: So far, no problems. > Let me know how you get on, or what else you'd like to see improved. > (But don't mention tabs! :)

Dig problems

2009-03-25 Thread sloan31
Hello, I am experiencing problems with the dig utility from the bind package included with cygwin. Here is the error I get: $ dig msn.com ;; communications error: connection reset I have just installed cygwin on 3 different machines and the dig command only works on one of

Re: problem with pthread.h

2009-03-25 Thread Dave Korn
Václav Haisman wrote: > Dana wrote, On 25.3.2009 20:58: >> I have been trying to compile a program that needs to use the pthread >> library under cygwin. I have installed the newest versions of all of the >> tools. The file pthread.h is there in /usr/include, but the types used >> in it, like pthre

Re: [Re: GCC 4 installation problem]

2009-03-25 Thread Dave Korn
Vincent De Groote wrote: > > > Help request cancelled. > The symbolic link was not built properly (I forgot the -s argument) Sounds more to me like you forgot to use the alternatives program to configure the alternatives and have been messing around manually in its private data directories and

Re: GCC 4 installation problem

2009-03-25 Thread Dave Korn
Vincent De Groote wrote: > I changed the /etc/alternatives/gcc to point to /usr/bin/gcc-4.exe How, precisely? Exactly what command did you use. > Is there another package to install to make it work, or something else > to do ? Nope, it all should work without complications. Does it still

Re: problem with pthread.h

2009-03-25 Thread Václav Haisman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dana wrote, On 25.3.2009 20:58: > I have been trying to compile a program that needs to use the pthread > library under cygwin. I have installed the newest versions of all of the > tools. The file pthread.h is there in /usr/include, but the types use

[Re: GCC 4 installation problem]

2009-03-25 Thread Vincent De Groote
Help request cancelled. The symbolic link was not built properly (I forgot the -s argument) Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

problem with pthread.h

2009-03-25 Thread Dana
I have been trying to compile a program that needs to use the pthread library under cygwin. I have installed the newest versions of all of the tools. The file pthread.h is there in /usr/include, but the types used in it, like pthread_attr_t for example, are normally defined in sys/types.h. Exce

GCC 4 installation problem

2009-03-25 Thread Vincent De Groote
Hello, I had a gcc-3 compiler, and i installed the gcc-4.3.2 package with the setup program. I changed the /etc/alternatives/gcc to point to /usr/bin/gcc-4.exe When I tried to compile a simple hello world program, I have problems with the system include files: /usr/include/stdio.h:176: err

Re: File not found with scp

2009-03-25 Thread Larry Hall (Cygwin)
Ryan Stewart wrote: On Wed, Mar 25, 2009 at 10:52 AM, Thorsten Kampe <...> wrote: * Ryan Stewart (Wed, 25 Mar 2009 10:19:45 -0500) On Wed, Mar 25, 2009 at 9:21 AM, Ryan Stewart <...> wrote: I found the problem. When I use scp--from computer A to computer B only--my home isn't c:\cygwin\home\rya

RE: Two versions of the same package? It was Re: Compiling flpsed under cygwin

2009-03-25 Thread Daniel Senderowicz
OK. Sound easy, I'll try that. Thanks for your time. Cheers, Daniel On Wed, 2009-03-25 at 11:28 -0700, Mike Ayers wrote: > > From: cygwin-xfree-ow...@cygwin.com > > [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Daniel Senderowicz > > Sent: Wednesday, March 25, 2009 10:57 AM > > > OK. How

RE: Two versions of the same package? It was Re: Compiling flpsed under cygwin

2009-03-25 Thread Mike Ayers
> From: cygwin-xfree-ow...@cygwin.com > [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Daniel Senderowicz > Sent: Wednesday, March 25, 2009 10:57 AM > OK. How do I check if there are any dependencies on the cygwin fltk? > Also, how do I remove this package? Is there an easy way of > doing i

[ANNOUNCEMENT] [1.7] Updated: openssl-0.9.8k-2, openssl-devel-0.9.8k-2

2009-03-25 Thread Corinna Vinschen
I've updated the Cygwin 1.7 version of OpenSSL to 0.9.8k-2. This also includes the openssl-devel package. This is an upstream security and bugfix release. The Cygwin release is the vanilla version, no additional patches. Official release message:

RE: Two versions of the same package? It was Re: Compiling flpsed under cygwin

2009-03-25 Thread Daniel Senderowicz
OK. How do I check if there are any dependencies on the cygwin fltk? Also, how do I remove this package? Is there an easy way of doing it, or I have to dig all related files? Thanks. Daniel On Wed, 2009-03-25 at 10:34 -0700, Mike Ayers wrote: > > From: cygwin-xfree-ow...@cygwin.com > > [mailto:c

Re: File not found with scp

2009-03-25 Thread Ryan Stewart
On Wed, Mar 25, 2009 at 10:52 AM, Thorsten Kampe <...> wrote: > * Ryan Stewart (Wed, 25 Mar 2009 10:19:45 -0500) >> On Wed, Mar 25, 2009 at 9:21 AM, Ryan Stewart <...> >> wrote: >> I found the problem. When I use scp--from computer A to computer B >> only--my home isn't c:\cygwin\home\ryan, but c:\

[ANNOUNCEMENT] Updated: openssl-0.9.8k-1, openssl-devel-0.9.8k-1

2009-03-25 Thread Corinna Vinschen
I've updated the version of OpenSSL to 0.9.8k-1. This also includes the openssl-devel package. This is an upstream security and bugfix release. The Cygwin release is the vanilla version, no additional patches. Official release message: ===

Re: 'less': not working with 'mintty' > v0.3.6

2009-03-25 Thread Lee D. Rothstein
>> \e[1;2A back-line # >> \e[1;2B forw-line # >> \e[5;2~ back-screen # /+--Scroll page bck >> \e[6;2~ forw-screen # /+--Scroll page frw >> \eOH goto-line # -- Beginning of input >> \eOF goto-end # -- End of input >> -- >> And, yes, I remembered to compile with 'lesskey'. >> >>

Re: Hopefully new details on the rsync crash issue

2009-03-25 Thread Larry Hall (Cygwin)
Jon Sjöstedt wrote: Hello all! As many others, I also have problems using rsync in cygwin. I hope adding my case can help some expert find the source problem. If more tests are desired, I will conduct them. Setup: I have an OpenBSD4.4-box with rsync 3.0.3. rsync is running in daemon mode and i

bash: /usr/bin/sed: Permission denied

2009-03-25 Thread Balint
I installed the current stable cygwin on an XP Professional SP3 machine as a local user with admin rights. It is a completely default install, "next-next-finish" style. Now when starting the shell, it gives several error messages, the first of which is this: bash: /usr/bin/sed: Permission denied

Re: File not found with scp

2009-03-25 Thread Thorsten Kampe
* Ryan Stewart (Wed, 25 Mar 2009 10:19:45 -0500) > On Wed, Mar 25, 2009 at 9:21 AM, Ryan Stewart > wrote: > > I'm trying to use scp to copy a remote file to a local directory, and > > it's telling me the file isn't found. > [...] > > I found the problem. When I use scp--from computer A to compute

Re: wget -k downloading to shares fails with seemingly spurious "permission denied" error

2009-03-25 Thread Corinna Vinschen
On Mar 25 13:47, Barry Kelly wrote: > Can anyone else at all confirm the behaviour I am seeing, or is it just > me? (Or is Larry just blessed? :) No, I can reproduce it using an XP client and a remote directory on my 2K8 domain controller. Examining the strace output from wget, you can see that w

Re: File not found with scp

2009-03-25 Thread Ryan Stewart
On Wed, Mar 25, 2009 at 9:21 AM, Ryan Stewart wrote: > I'm trying to use scp to copy a remote file to a local directory, and > it's telling me the file isn't found. [...] I found the problem. When I use scp--from computer A to computer B only--my home isn't c:\cygwin\home\ryan, but c:\Program Fil

Re: [SOLVED] Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13

2009-03-25 Thread Dave Korn
Christopher Faylor wrote: > On Wed, Mar 25, 2009 at 12:49:36PM +, Dave Korn wrote: >> So the linker is DTRT, the problem has always existed but been masked by the >> fact that nothing between -lm and -lcygwin used to import anything, the >> problem has arisen now because now that does happen,

Re: [SOLVED] Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13

2009-03-25 Thread Christopher Faylor
On Wed, Mar 25, 2009 at 12:49:36PM +, Dave Korn wrote: > So the linker is DTRT, the problem has always existed but been masked by the >fact that nothing between -lm and -lcygwin used to import anything, the >problem has arisen now because now that does happen, and the solution is to >mung the

Re: Problem [1.7]: no directory release-2/glpk/ yet

2009-03-25 Thread Christopher Faylor
On Wed, Mar 25, 2009 at 09:32:47AM +0100, Corinna Vinschen wrote: >On Mar 25 08:25, Fergus wrote: >> Sorry, I'm getting boring on the subject, BUT access to release-2/glpk/ >> really is failing with one particular mirror at least: > >The permission bits on the glpk directory on sourceware were se

File not found with scp

2009-03-25 Thread Ryan Stewart
I'm trying to use scp to copy a remote file to a local directory, and it's telling me the file isn't found. The file is there, I can connect and see it via ssh, and I can also use both ssh and scp with no problem in the other direction. i.e From computer A to computer B, ssh works but not scp. From

Re: cygwin 1.7 problems: network, path, file system

2009-03-25 Thread Thomas Wolff
Just to finally provide some positive feedback: I installed cygwin 1.7 again this year and the problems I experienced with Hummingbird NFS do not occur anymore. Thomas, ping? On Jun 18 12:53, Corinna Vinschen wrote: I don't have hummingbird NFS installed, just Microsoft's NFS from SFU resp.

Hopefully new details on the rsync crash issue

2009-03-25 Thread Jon Sjöstedt
Hello all! As many others, I also have problems using rsync in cygwin. I hope adding my case can help some expert  find the source problem. If more tests are desired, I will conduct them. Setup: I have an OpenBSD4.4-box with rsync 3.0.3. rsync is running in daemon mode and is started by inetd. I

Re: wget -k downloading to shares fails with seemingly spurious "permission denied" error

2009-03-25 Thread Barry Kelly
Can anyone else at all confirm the behaviour I am seeing, or is it just me? (Or is Larry just blessed? :) Thanks, -- Barry Barry Kelly wrote: > I'm having a problem that doesn't seem to admit logical explanation, > apart from a bug in either wget, Cygwin or Windows' implementation of > SMB shar

Re: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Dave Korn
Marc Girod wrote: > > Dave Korn wrote: >> /var/log/setup.log.full should tell you if it happened in the >> most-recent >> previous run of setup.exe >> > Thanks. > My latest setup run is thus stamped between: > > 2009/03/11 13:49:59 Starting cygwin install, version 2.573.2.3 > ... and > 2009/03/

Re: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Marc Girod
Dave Korn wrote: > > /var/log/setup.log.full should tell you if it happened in the > most-recent > previous run of setup.exe > Thanks. My latest setup run is thus stamped between: 2009/03/11 13:49:59 Starting cygwin install, version 2.573.2.3 ... and 2009/03/11 14:11:07 Ending cygwin install

Re: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Dave Korn
Marc Girod wrote: > > Dave Korn-6 wrote: Ah, my clones have been posting again I see! >> Did you by any chance run setup.exe to do an update and have a bash shell >> still open and then perhaps click on the "In-use files detected" >> replace-on-reboot option and then try to carry on using Cyg

Re: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Marc Girod
Dave Korn-6 wrote: > > Did you by any chance run setup.exe to do an update and have a bash > shell > still open and then perhaps click on the "In-use files detected" > replace-on-reboot option and then try to carry on using Cygwin without > rebooting? The behaviour you describe is exactly wha

Re: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Dave Korn
Marc Girod wrote: > Just to report that the problem disappeared after reboot. > Marc Did you by any chance run setup.exe to do an update and have a bash shell still open and then perhaps click on the "In-use files detected" replace-on-reboot option and then try to carry on using Cygwin without r

[SOLVED] Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13

2009-03-25 Thread Dave Korn
[SOLVED, yes, but no patch just yet, only the full explanation.] Corinna Vinschen wrote: > What I'm wondering is, why did it work all these years before? Is it > a bug in the new binutils? Or was it a bug in the old binutils to > create working results? I installed Cygwin-1.5 from the Time

Re: unable to remap C:\cygwin\bin\cygncurses-8.dll

2009-03-25 Thread Marc Girod
Just to report that the problem disappeared after reboot. Marc -- View this message in context: http://www.nabble.com/unable-to-remap-C%3A%5Ccygwin%5Cbin%5Ccygncurses-8.dll-tp22667393p22700800.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://c

Re: csih: Unattended installations are not possible

2009-03-25 Thread Julio Costa
Sorry. Dumb gmail mailer wrapped some lines. Here are the patches, in attachments. Have Fun! ___ Julio Costa Charles Kettering - "My interest is in the future because I am going to spend the rest of my life there." cygwin-service-installation-helper.sh.diff Description: Binary data s

Re: csih: Unattended installations are not possible

2009-03-25 Thread Julio Costa
Hi again, Chuck and Corinna, can you please take a look at this? On Fri, Mar 20, 2009 at 20:12, Julio Emanuel wrote: [snip] > > Chuck, if this is the old 'time compression' problem :) I could try to > help and see if I send a patch to your evaluation. > I just don't want to take something in han

Re: Problem [1.7]: no directory release-2/glpk/ yet

2009-03-25 Thread Corinna Vinschen
On Mar 25 08:25, Fergus wrote: > Sorry, I'm getting boring on the subject, BUT access to release-2/glpk/ > really is failing with one particular mirror at least: The permission bits on the glpk directory on sourceware were set so that "others" didn't have r-x access, I fixed that. I hope the mi

Re: Problem [1.7]: no directory release-2/glpk/ yet

2009-03-25 Thread Fergus
Sorry, I'm getting boring on the subject, BUT access to release-2/glpk/ really is failing with one particular mirror at least: wget -r ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release-2/bash works just fine but wget -r ftp://mirrors.kernel.org/sources.redhat.com/cygwin/release-2/glpk

MinTTY 0.4-alpha1

2009-03-25 Thread Andy Koppe
Hi, I've uploaded development release 0.4-alpha1 of MinTTY to http://mintty.googlecode.com. This has a few new or improved features to try and break: - The options dialog gained an Apply button and no longer blocks terminal output. - The options have been rearranged, hopefully for the better. - F

Re: Problem [1.7]: no directory release-2/glpk/ yet

2009-03-25 Thread Fergus
Sorry, got them now. (But only by visiting a mirror site and right-clicking on the files. wget could not, and still cannot, pick them up for me. Probably my driving.) Fergus Fergus wrote: Twelve hours after the first appearance of these entries: glpk/glpk-4.36-4-src.tar.bz2 glpk/glpk-4.36-4.