setup.ini causes problems to setup.exe

2006-10-23 Thread Angelo Graziosi
I want to flag that: the current setup.ini (20061023 02:00) contains: @ libasprintf0 sdesc: "C-style formatted output in C++ (runtime)" ldesc: "libasprintf makes the C formatted output routines (fprintf et. a

RE: Cygwin broken after update (PATH problem?)

2006-10-23 Thread Dave Korn
On 23 October 2006 07:49, Com MN PG P E B Consultant 3 wrote: >> >> Your /etc/profile has DOS-style CRLF line endings. > > Well, the problem is that there *is* no /etc/profile at all. Well, that tells us two things: 1) Setup must have failed part-way through. Normally re-running it, with

Re: setup.ini causes problems to setup.exe

2006-10-23 Thread Corinna Vinschen
On Oct 23 10:12, Angelo Graziosi wrote: > > I want to flag that: > > the current setup.ini (20061023 02:00) contains: > > > @ libasprintf0 > sdesc: "C-style formatted output in C++ (runtime)"

Strange fork/exec bug, two processes instead of one are created

2006-10-23 Thread Papasha
Hello, everyone, I have a problem using fork/exec, I have a program that launches other program: //spawner.exe #include #include int main(int argc, char* argv[]) { pid_t pid = 0; if (argc < 2) { fprintf(stderr, "Usage: spawner executable [arguments]\n"); return -1; } pid = fork(); if (pid =

setup.exe hosed?

2006-10-23 Thread Ken Shiring
To the Cygwin guys: I recently downloaded a new setup.exe from the Cygwin main page. This is what I see when I pick any mirror site: (null) line 4841: syntax error, unexpected LT, expecting NL (null) line 4841: unrecognized line 4841(do you have the latest setup?) This repeats like 10 times.

RE: setup.exe hosed?

2006-10-23 Thread Dave Korn
On 23 October 2006 11:15, Ken Shiring wrote: > To the Cygwin guys: > > I recently downloaded a new setup.exe from the Cygwin main page. This > is what I see when I pick any mirror site: > > (null) line 4841: syntax error, unexpected LT, expecting NL > (null) line 4841: unrecognized line 4841(do

1.5.21-1 readdir() not returning complete directory entries for network paths after rewinddir()

2006-10-23 Thread Benjamin Lindner
Hello list, Issuing a rewinddir() on a mounted network path caues successive calls to readdir() to only return "." and ".." ignoring the actual further content of the directory. I searched the mailing list and found the following two bug reports dealing with this problem: http://www.cygwin.com

Re: Strange fork/exec bug, two processes instead of one are created

2006-10-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Papasha on 10/23/2006 2:57 AM: > > I use it to launch a program compiled using MSVC++ 2005: > > It starts, everything is ok, but in windows TaskMan I see something like > this: > spawner.exe > spawner.exe > testproj.exe To be expected.

RE: Cygwin broken after update (PATH problem?)

2006-10-23 Thread Com MN PG P E B Consultant 3
> >> Your /etc/profile has DOS-style CRLF line endings. > > > > Well, the problem is that there *is* no /etc/profile at all. > > Well, that tells us two things: > > 1) Setup must have failed part-way through. Normally > re-running it, with > "Install from local package directory", and cli

Re: 1.5.21-1 readdir() not returning complete directory entries for network paths after rewinddir()

2006-10-23 Thread Corinna Vinschen
On Oct 23 13:50, Benjamin Lindner wrote: > Hello list, > > Issuing a rewinddir() on a mounted network path caues successive calls > to readdir() to only return "." and ".." ignoring the actual further > content of the directory. > > I searched the mailing list and found the following two bug re

Re: SDL/OpenGL program fails to link when I want to use wgl-function

2006-10-23 Thread Eric Lilja
Eric Lilja wrote: Hello, I'm using a fully updated cygwin and mingw developement binaries of SDL (version 1.2.11). Consider the following program: //#include #include #include #include static void display() { glClear(GL_COLOR_BUFFER_BIT); glBegin(GL_POLYGON); glVertex2f(-0.

Snapshot 20061023, ghostscript and xdvi

2006-10-23 Thread Angelo Graziosi
I want to flag the following problems observed with the current snapshot 20061023 08:34:32. A few days ago, it was flagged a problem with XDVI: http://cygwin.com/ml/cygwin/2006-10/msg00591.html. >From the discussion of the thread (and also this http://cygwin.com/ml/cygwin/2006-10/msg00714.h

Re: 1.5.21-1 readdir() not returning complete directory entries for network paths after rewinddir()

2006-10-23 Thread Corinna Vinschen
On Oct 23 16:21, Corinna Vinschen wrote: > On Oct 23 13:50, Benjamin Lindner wrote: > > Hello list, > > > > Issuing a rewinddir() on a mounted network path caues successive calls > > to readdir() to only return "." and ".." ignoring the actual further > > content of the directory. > > [...] > Fu

How to uninstall xorg-x11-devel and all things depending upon it?

2006-10-23 Thread Steve Robbins
Hello, I need to uninstall xorg-x11-devel. I found this simple task to be incredibly frustrating, so I'm posting my experience to see whether there's an better way to do things. I fired up Cygwin Setup, selected the package for uninstall, and proceeded to the end. However, there were a

Re: Snapshot 20061023, ghostscript and xdvi

2006-10-23 Thread Corinna Vinschen
On Oct 23 17:09, Angelo Graziosi wrote: > I want to flag the following problems observed with the current snapshot > 20061023 08:34:32. > > A few days ago, it was flagged a problem with XDVI: > http://cygwin.com/ml/cygwin/2006-10/msg00591.html. > > >From the discussion

Re: Snapshot 20061023, ghostscript and xdvi

2006-10-23 Thread Angelo Graziosi
Corinna Vinschen wrote: > What *exactly* doesn't work anymore? Can you please provide a simple > testcase which shows the problem reproducible? You have right, but, for the moment, I do not know how to produce a simple test case. I will think to it. For the moment what I can say on "*exactly* d

bug bash-3.1.17(9) : CR problems when using cat to generate cmd line arguments

2006-10-23 Thread Howard Mak
I can't seem to get the latest version of bash to work with the command PROGRAM `cat file_containing_arguments.txt` when the file is created on a textmode mount. Seems like carriage returns are not processed correctly. I've attached a test script illustrating the problem. Comments: -

Re: bug bash-3.1.17(9) : CR problems when using cat to generate cmd line arguments

2006-10-23 Thread Howard Mak
Apparently, the attachment in my previous email got dropped. Here it is again. - Howard On Mon, 23 Oct 2006 12:29:31 -0400, Howard Mak wrote: > I can't seem to get the latest version of bash to work with the command > PROGRAM `cat file_containing_arguments.txt` > when the file is created

Re: Snapshot 20061023, ghostscript and xdvi

2006-10-23 Thread Angelo Graziosi
Corinna Vinschen : > Can you please provide a simple > testcase which shows the problem reproducible? Now the testcase. The tar ball contains test_figure.tex w.eps test_figure.dvi The last is obtained compiling with: latex test_figure.tex Using xdvi test_figure.dvi & wit

Re: Snapshot 20061023, ghostscript and xdvi

2006-10-23 Thread Corinna Vinschen
On Oct 23 19:01, Angelo Graziosi wrote: > > Corinna Vinschen : > > > Can you please provide a simple > > testcase which shows the problem reproducible? > > Now the testcase. > > The tar ball contains > >test_figure.tex >w.eps >test_figure.dvi > > The last is obtained compiling wi

Re: Snapshot 20061023, ghostscript and xdvi

2006-10-23 Thread Angelo Graziosi
Corinna Vinschen wrote: > Sorry, I don't see any difference. In both cases, cygwin 1.5.21 and > current from CVS and in a previous replay: > $ uname -a > CYGWIN_NT-5.1 cathi 1.7.0(0.160/4/2) 2006-10-23 17:00 i686 Cygwin

Re: Snapshot 20061023, ghostscript and xdvi

2006-10-23 Thread Corinna Vinschen
On Oct 23 19:26, Angelo Graziosi wrote: > > Corinna Vinschen wrote: > > > Sorry, I don't see any difference. In both cases, cygwin 1.5.21 and > > current from CVS > > > and in a previous replay: > > > $ uname -a > > CYGWIN_NT-5.1 cathi 1.7.0(0.160/4/2) 2006-10-23 17:00 i686

Re: Snapshot 20061023, ghostscript and xdvi

2006-10-23 Thread Angelo Graziosi
Same result with $ uname -a CYGWIN_NT-5.1 homepc 1.7.0s(0.160/4/2) 20061023 14:06:13 i686 Cygwin This time, trying xdvi test_figure.dvi & I also obeserve, on the command line, the following error message: $ 6 [sig] gs 3988 C:\cygwin\usr\X11R6\bin\gs.exe: *** fatal error - C:\cy

GMP-4.2, MPFR-2.2, was Re: Problems with GMP in latest Cygwin

2006-10-23 Thread Brooks Moses
Angelo Graziosi wrote: Tim Prince wrote: This is not such a new problem, but I have not been able to get a working pre-built version of gmp from the mirrors I normally use. It worked fine when I installed from the source on the same server, once I recognized that --enable-shared is required, so

RE: GMP-4.2, MPFR-2.2, was Re: Problems with GMP in latest Cygwin

2006-10-23 Thread Danny Smith
> > Angelo Graziosi wrote: > > Thanks for the links. Unfortunately, the package files that David > Billinghurst references therein seem to have disappeared; does anyone > know where they can currently be found? > ftp://ftp.gnu.org/gnu/gmp/gmp-4.2.1.tar.bz2 http://www.mpfr.org/mpfr-current/mp

Re: Snapshot 20061023, ghostscript and xdvi (new problems?)

2006-10-23 Thread Angelo Graziosi
Perhaps there are new problems. I send only for the sake of completeness. Usually I update Cygwin dawnloading the packages with the scripts 'getcurr.sh' and 'clean_setup.pl' (both in the tar ball). Now with the snapshot 20061023 14:06:13, Cygwin gives t

Re: GMP-4.2, MPFR-2.2, was Re: Problems with GMP in latest Cygwin

2006-10-23 Thread Brooks Moses
Danny Smith wrote: Thanks for the links. Unfortunately, the package files that David Billinghurst references therein seem to have disappeared; does anyone know where they can currently be found? ftp://ftp.gnu.org/gnu/gmp/gmp-4.2.1.tar.bz2 http://www.mpfr.org/mpfr-current/mpfr-2.2.0.tar.bz2 ht

How do I kill a grandchild process from shell program?

2006-10-23 Thread Jim Seymour
I've been Googling all afternoon trying to figure out whether this is a bug, a "feature", or a stupid user problem. If it's the latter, I apologize in advance... I'm using Cygwin v1.5.21-2 and bash v3.1.17(9) under Windows XP Pro. I have two shell programs - one that launches the other in the

Re: How do I kill a grandchild process from shell program?

2006-10-23 Thread Lev Bishop
On 10/23/06, Jim Seymour <[EMAIL PROTECTED]> wrote: However, if things don't work fine, the background process sticks around to plague me later. I'd like to end my main script by killing the background process (if it's still around), but I'm having a helluva time figuring out HOW. How about:

RE: GMP-4.2, MPFR-2.2, was Re: Problems with GMP in latest Cygwin

2006-10-23 Thread Billinghurst, David \(CALCRTS\)
> From: Brooks Moses > > Angelo Graziosi wrote: > > Tim Prince wrote: > >>This is not such a new problem, but I have not been able to get a > >>working pre-built version of gmp from the mirrors I normally use. It > >>worked fine when I installed from the source on the same > server, once I > >>re

Re: GMP-4.2, MPFR-2.2, was Re: Problems with GMP in latest Cygwin

2006-10-23 Thread Wynfield Henman
1. The newes gnu mp (gmp) sources are at: http://swox.com/gmp/ 2.) To built it as a dll with cygwin you must use the following conffigure options. ./configure --disable-static --enable-shared CPPFLAGS="-DDLL_EXPORT" make make check # All tests passed

Re: bug bash-3.1.17(9) : CR problems when using cat to generate cmd line arguments

2006-10-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Howard Mak on 10/23/2006 10:35 AM: >> I can't seem to get the latest version of bash to work with the command >> PROGRAM `cat file_containing_arguments.txt` >> when the file is created on a textmode mount. Seems like carriage returns

Which newest version of emacs could be compiled in cygwin?

2006-10-23 Thread William Xue
Hi, I want to compile an own version of emacs in cygwin without X. Until now, which version could be compiled in cygwin? I have tried the newest cvs version of emacs 22 and emacs-unicode-2, both them are failed. Advance thanks! -- Sincerely yours, William -- Unsubscribe info: http://cy

Re: emacs 21.3.50.1 and cc-mode

2006-10-23 Thread Wynfield Henman
William Xue, do you get this problem when you open up a new cpp file? e.g. $ emacs new-file.cpp Your are right you don't need X-windows. Emacs will detect if its in an X-win or not and choose the console interface if not. Maybe try to: (1) reinstall it (2) uninstall and try the 21.12

another cygport bug

2006-10-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The check for config_h in cygautoreconf does not work when the line requests a template by a different name, as is the case with coreutils 6.4: $ grep CONFIG_HEADERS coreutils-6.4/configure.ac AC_CONFIG_HEADERS([lib/config.h:lib/config.hin]) $ cygpor

Re: emacs 21.3.50.1 and cc-mode

2006-10-23 Thread William Xue
On Tue, 24 Oct 2006 12:46:54 +0800, Wynfield Henman <[EMAIL PROTECTED]> wrote: William Xue, do you get this problem when you open up a new cpp file? e.g. $ emacs new-file.cpp Yes, the message is in *Messages* buffer. ---8<->8--- (emacs test