Re: how to build php in cygwin?

2004-05-05 Thread Joshua Daniel Franklin
On Thu, 6 May 2004 14:37:29 +0800, kalmen <[EMAIL PROTECTED]> wrote: > I am not familiar with compilation under cygwin , but i need the php for > testing most of the > LAMP application in cygwin , before deploy into the linux box , therefore i > need to try to > build the php and mod_php myself. >

Re: problems with cygwin

2004-05-05 Thread Tarun Sharma
Hi I have attached the error I am getting. But I have installed windowmaker. Everything seems to be fine till this point.But the problem happening when I am running it. please let me know if these errors helps you regards tarun [EMAIL PROTECTED] ~ $ startx Welcome to the XWin X Server Vendor: The

how to build php in cygwin?

2004-05-05 Thread kalmen
Hi, I am not familiar with compilation under cygwin , but i need the php for testing most of the LAMP application in cygwin , before deploy into the linux box , therefore i need to try to build the php and mod_php myself. where can i find information for building the php ? Steps , requirements and

Re: permission problems (and more)

2004-05-05 Thread none none
--- "Larry Hall (RFK Partners, Inc)" wrote: > From a comparison of your environment with mine, > I see that you don't give specific permissions to Just when I thought I would get the answer, it looks like you didn't pay your internet bill or something (your answer ends in the middle of the sentenc

Re: Cygwin runtime

2004-05-05 Thread Igor Pechtchanski
On Wed, 5 May 2004, Ted Yu wrote: > Hi, > This is related to Cygwin DLL posts. > If I stick to Cygwin runtime, I should be able to call > DLL generated by Cygwin from MSVC project. > For the moment, I encounter exception calling into > this DLL: > 000f77d0() > fft_general_0(float * 0x02e60040, int

Re: permission problems (and more)

2004-05-05 Thread Larry Hall (RFK Partners, Inc)
At 10:51 PM 5/5/2004, you wrote: >--- Larry Hall wrote: >> OK, first check the output of /var/log/cron.log. >> If that doesn't clarify the situation for you, send >> it and the output of 'ls -Rl /var' to the list. > >$ ls -Ral /var >/var: >total 0 >drwxr-x---+ 3 user Users 0 Thu Mar

Re: permission problems (and more)

2004-05-05 Thread none none
--- Larry Hall wrote: > OK, first check the output of /var/log/cron.log. > If that doesn't clarify the situation for you, send > it and the output of 'ls -Rl /var' to the list. $ ls -Ral /var /var: total 0 drwxr-x---+ 3 user Users 0 Thu Mar 25 18:43:15 2004 cache/ drwxrwxrwt+ 3 u

Re: sshd, plink, bash and path problems

2004-05-05 Thread Larry Hall
At 09:56 PM 5/5/2004, you wrote: >I'm not subscribed to the list. Kindly CC: me in any threads that result from this >email. Thanks. > >Here's my setup: > >Client: Win2K box with Putty/Plink >Server: Win2K professional with cygwin/sshd (actually copssh, but it's just a minimal >cygwin install)

Re: problems with cygwin

2004-05-05 Thread Larry Hall
At 09:26 PM 5/5/2004, you wrote: >Hi Tarun, > >I havent installed WMaker on CygWin, so wont comment on that. You >should've attached a more descriptive log though. > >1. Cygwin install asks you for install for 'All Users'/ only >Administrator. That icon is typically in >C:\Documents and Sett

sshd, plink, bash and path problems

2004-05-05 Thread Tim Shadel
I'm not subscribed to the list. Kindly CC: me in any threads that result from this email. Thanks. Here's my setup: Client: Win2K box with Putty/Plink Server: Win2K professional with cygwin/sshd (actually copssh, but it's just a minimal cygwin install) I can login just fine. I can use public

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Christopher Faylor
On Wed, May 05, 2004 at 07:01:01PM -0500, Brian Ford wrote: >On Wed, 5 May 2004, Steve Thompson wrote: >> On Wed, 5 May 2004, Christopher Faylor wrote: >>>Unless HOST is a numeric IP address, gethostbyname should be properly >>>reentrant. The only time gethostbyname is not thread safe is when it >

Re: Autarkic fortune/strfile usage possible?

2004-05-05 Thread Christopher Faylor
On Wed, May 05, 2004 at 11:11:04PM +0200, Hannu E K Nevalainen wrote: >> From: Brian Kelly >> Sent: Wednesday, May 05, 2004 6:58 PM > I'd like to use on other machines as well - without Cygwin. Any opinions? >> >>>cgf writes -> I have one: Find another mailing list if you want to >>>discus

Re: problems with cygwin

2004-05-05 Thread Larry Hall
At 07:56 PM 5/5/2004, you wrote: >Hi >I have just installed cygwin on my Win XP system. But when I try to start >windowmaker then it justs says cant start x-server at 127.0.0.1:0.0 . I >tried few more things but couldnt succeed. >Ihe porblem I am thinking is related to some configuration. I also tr

Re: [SPAM] problems with cygwin

2004-05-05 Thread Hitanshu Gandhi
Hi Tarun, I havent installed WMaker on CygWin, so wont comment on that. You should've attached a more descriptive log though. 1. Cygwin install asks you for install for 'All Users'/ only Administrator. That icon is typically in C:\Documents and Settings\All Users\Start Menu (or similar

Re: echo $HOME returns /cygdrive/c/documents and setting/mrane

2004-05-05 Thread Larry Hall
At 06:33 PM 5/5/2004, you wrote: >for the administrative user, under which cygwin was installed, echo $HOME >returns /home/Administrator. > >I need to set up cygwin so it does not preface the path with /cygdrive/c as >this breaks our existing scripts. OK, let's start here: >Problem reports:

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Jacek Trzmiel
Hi Brian, > > > $ g++ GetHostByNameTest.cpp -lpthread -o GetHostByNameTest.exe && > > > ./GetHostByNameTest.exe gethostbyname: Operation not permitted > > > > Win2k SP4 + hotfixes. > > Can someone reproduce it? > > Sure looks alot like this: > http://www.cygwin.com/ml/cygwin/2004-04/msg00545.htm

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Steve Thompson
On Wed, 5 May 2004, Brian Ford wrote: > On Wed, 5 May 2004, Steve Thompson wrote: > > > On Wed, 5 May 2004, Christopher Faylor wrote: > > > > > Unless HOST is a numeric IP address, gethostbyname should be properly > > > reentrant. The only time gethostbyname is not thread safe is when it is > > >

RE: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Hannu E K Nevalainen
> From: Brian Ford > Sent: Thursday, May 06, 2004 1:55 AM > On Thu, 6 May 2004, Jacek Trzmiel wrote: > > > > $ g++ GetHostByNameTest.cpp -lpthread -o GetHostByNameTest.exe && > > > ./GetHostByNameTest.exe gethostbyname: Operation not permitted > > > > Win2k SP4 + hotfixes. > > Can someone reproduc

CRON problems

2004-05-05 Thread Hank Statscewich
Hello, I've been doing my best to read all the previous FAQ pages, README documents, and forum posts, but I am still having issues getting my cron jobs to run the way I want them to. If I explicitly start cron by calling /usr/sbin/cron, then my jobs run fine, but my application demands that the

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Brian Ford
On Wed, 5 May 2004, Steve Thompson wrote: > On Wed, 5 May 2004, Christopher Faylor wrote: > > > Unless HOST is a numeric IP address, gethostbyname should be properly > > reentrant. The only time gethostbyname is not thread safe is when it is > > resolving a numeric IP. > > I believe that gethostb

problems with cygwin

2004-05-05 Thread Tarun Sharma
Hi I have just installed cygwin on my Win XP system. But when I try to start windowmaker then it justs says cant start x-server at 127.0.0.1:0.0 . I tried few more things but couldnt succeed. Ihe porblem I am thinking is related to some configuration. I also tried to run XWin. which is running.And

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Brian Ford
On Thu, 6 May 2004, Jacek Trzmiel wrote: > > $ g++ GetHostByNameTest.cpp -lpthread -o GetHostByNameTest.exe && > > ./GetHostByNameTest.exe gethostbyname: Operation not permitted > > Win2k SP4 + hotfixes. > Can someone reproduce it? Sure looks alot like this: http://www.cygwin.com/ml/cygwin/2004-

RE: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Hannu E K Nevalainen
> From: Christopher Faylor > Sent: Wednesday, May 05, 2004 11:04 PM > On Wed, May 05, 2004 at 05:38:35AM -0700, Brian Dessent wrote: > >Jacek Trzmiel wrote: > > > >> void test() > >> { > >> /* go find out about the desired host machine */ > >> struct hostent *he = gethostbyname(HOST); > >>

echo $HOME returns /cygdrive/c/documents and setting/mrane

2004-05-05 Thread Montana Rane
for the administrative user, under which cygwin was installed, echo $HOME returns /home/Administrator. I need to set up cygwin so it does not preface the path with /cygdrive/c as this breaks our existing scripts. Thanks, Montana Rane -- Unsubscribe info: http://cygwin.com/ml/#unsubscr

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Steve Thompson
On Wed, 5 May 2004, Christopher Faylor wrote: > On Wed, May 05, 2004 at 05:38:35AM -0700, Brian Dessent wrote: > >Jacek Trzmiel wrote: > > > >> void test() > >> { > >> /* go find out about the desired host machine */ > >> struct hostent *he = gethostbyname(HOST); > >> if (he == 0) { >

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Jacek Trzmiel
> >> void test() > >> { > >> /* go find out about the desired host machine */ > >> struct hostent *he = gethostbyname(HOST); > >> if (he == 0) { > >> perror("gethostbyname"); > >> exit(1); > >> } > > > >Just a wild guess, but gethostbyname() is probably not reentran

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Jacek Trzmiel
Hi, > I can't replicate your problem, but I know where it is coming from, > basically standard windows winsock is not geared up to handle that man > socket connections. When a socket is made and then closed the socket > actually stays open for about 240-300 seconds depending on your > registry se

Re: GPL violation ?

2004-05-05 Thread Georgios Petasis
- Original Message - From: "Chris Herborth" <[EMAIL PROTECTED]> To: "Georgios Petasis" <[EMAIL PROTECTED]> Sent: Wednesday, May 05, 2004 9:12 PM Subject: Re: GPL violation ? > Georgios Petasis wrote: > > >>Including GPL'd code in a project as a shared library/DLL is just peachy; > >>GPL

RE: Possible bug in stat, lstat with long filenames or paths

2004-05-05 Thread Hannu E K Nevalainen
$ uname -a CYGWIN_NT-5.0 P450 1.5.10s(0.114/4/2) 20040420 11:21:06 i686 unknown unknown Cygwin This is: Win2K advanced server, SP4+all updates, cygwin w most (but no all) recent updates and the 2004-04-20 snapshot dll. $ cat stat.c #include #include #include int main() { char filename[10

RE: Autarkic fortune/strfile usage possible?

2004-05-05 Thread Hannu E K Nevalainen
> From: Brian Kelly > Sent: Wednesday, May 05, 2004 6:58 PM > >> I'd like to use on other machines as well - without Cygwin. > >> Any opinions? > > > cgf writes -> > > I have one: Find another mailing list if you want to discuss ways of > > not using cygwin. This is a mailing list devoted to act

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Christopher Faylor
On Wed, May 05, 2004 at 05:38:35AM -0700, Brian Dessent wrote: >Jacek Trzmiel wrote: > >> void test() >> { >> /* go find out about the desired host machine */ >> struct hostent *he = gethostbyname(HOST); >> if (he == 0) { >> perror("gethostbyname"); >> exit(1); >> }

1.5.9: cron hangs on 2003 server

2004-05-05 Thread John Joganic
Bash scripts that run normally from the command line hang periodically in cron. Is there a specific diagnostic approach for this class of problem? The server has 3.3GB of 4GB free memory and the max heap size is 1GB per the User Guide. The same script runs correctly on other cygwin installat

Re: intel ddd cygwin

2004-05-05 Thread Cal Erickson
You need to tell ddd what type of inferior debugger you are using. For instance if you were using a cross gdb that was targeted for Xscale then you would do something like: ddd --debugger xscale_le-gdb --gdb hello.exe This way ddd knows what the protocol looks like to communicate to the inferior

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Jacek Trzmiel
Hi Reini, > But we already found out that the culprit was Norton Firewall, closing > your socket, wasn't it? NIS is gone. Best regards, Jacek. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:/

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Jacek Trzmiel
Hi Brian, > > void test() > > { > > /* go find out about the desired host machine */ > > struct hostent *he = gethostbyname(HOST); > > if (he == 0) { > > perror("gethostbyname"); > > exit(1); > > } > > Just a wild guess, but gethostbyname() is probably not reentra

Cygwin runtime

2004-05-05 Thread Ted Yu
Hi, This is related to Cygwin DLL posts. If I stick to Cygwin runtime, I should be able to call DLL generated by Cygwin from MSVC project. For the moment, I encounter exception calling into this DLL: 000f77d0() fft_general_0(float * 0x02e60040, int 256, int 512, int 1) line 163 + 17 bytes bpcorr(co

Re: GPL violation ?

2004-05-05 Thread Larry Hall
At 02:08 PM 5/5/2004, you wrote: >On Wed, 5 May 2004, Chris Herborth wrote: > >> Vince Hoffman wrote: >> >> > Checkpoint appear to be distributing cygwin1.dll (as well as gzip and >> > gtar) without any obvious sources available. if fact of the 3 GPL utils >> > its the only that doesnt have its o

Re: intel ddd cygwin

2004-05-05 Thread Brian Ford
Just some WAGs: On Tue, 4 May 2004, Joshua Kolden wrote: > When attempting to start debugging on a simple helloWorld program ddd > seems to hang waiting for a responds from idb (the intel's debugger) > > > ddd --debugger "idb -gdb" helloWorld.exe > > I get: > > "Reading Symbols from helloWorld.ex

Re: About init

2004-05-05 Thread Brian Ford
On Wed, 5 May 2004, theoharis tsenis wrote: > Also how can i start automatically the inetd or xinetd? The answer to the other half of your question: less /usr/share/doc/Cygwin/inetutils-1.3.2.README less /usr/doc/Cygwin/xinetd-2.3.9.README -- Brian Ford Senior Realtime Software Engineer VITAL

Re: ^Z works?

2004-05-05 Thread Brian Ford
On Wed, 5 May 2004, Brian Dessent wrote: > Christopher Spears wrote: > > > I've been playing around with suspend jobs using > > cygwin. I'm a bit perplexed because ^Z doesn't seem > > to work. By examining the mail archives, this seems > > to be a problem that occurred in the past, but I am > >

Re: Running cygwin for AMD 64 platform

2004-05-05 Thread Brian Ford
On Wed, 5 May 2004, loan stocker wrote: > I was trying to get cygwin running for AMD 64 > platform. But bombs on me after " fork error " . I > have read from the grapevine that there are patches > for this which require me download the source and > compile it. But I dont know how to compile cygwin

Re: cygwin1.dll 1.5.9-1 and pthread_exit: UNSTABLE

2004-05-05 Thread Brian Ford
Although you may have thought this message was on topic for this list, since it is neither a patch submission, nor a direct reply to or discussion of one, it is not on topic. Please read: http://cygwin.com/lists.html before posting again. Redirecting... On Wed, 5 May 2004, Reza wrote: > http:

RE: DLL generation under Cygwin

2004-05-05 Thread Igor Pechtchanski
On Wed, 5 May 2004, Ted Yu wrote: > Hi, Igor: > > . This is what you invoke when you give the > > -mno-cygwin flag to gcc. Incidentally, once you > > Does this mean I need to install MinGW runtime ? Yes, to be able to use "gcc -mno-cygwin". > > That's because you use "ld" in

RE: DLL generation under Cygwin

2004-05-05 Thread Ted Yu
Hi, Igor: > . This is what you invoke when > you give the > -mno-cygwin flag to gcc. Incidentally, once you Does this mean I need to install MinGW runtime ? > That's because you use "ld" instead of "gcc". "gcc" > (with appropriate > flags, i.e., "-mno-cygwin") should do the

Running cygwin for AMD 64 platform

2004-05-05 Thread loan stocker
I was trying to get cygwin running for AMD 64 platform. But bombs on me after " fork error " . I have read from the grapevine that there are patches for this which require me download the source and compile it. But I dont know how to compile cygwin sources if I dont have cygwin running in the first

RE: DLL generation under Cygwin

2004-05-05 Thread Igor Pechtchanski
On Wed, 5 May 2004, Ted Yu wrote: > Hi, Igor: > > So does MSVCRT.dll, which is what MinGW uses for its > > runtime. > > I am not familiar with MinGW. What is it ? . This is what you invoke when you give the -mno-cygwin flag to gcc. Incidentally, once you eliminate Cygwin from

Re: GPL violation ?

2004-05-05 Thread Vince Hoffman
On Wed, 5 May 2004, Chris Herborth wrote: > Vince Hoffman wrote: > > > Checkpoint appear to be distributing cygwin1.dll (as well as gzip and > > gtar) without any obvious sources available. if fact of the 3 GPL utils > > its the only that doesnt have its own copying notice (they do at least > >

Re: GPL violation ?

2004-05-05 Thread Brian Dessent
Chris Herborth wrote: > Go read the GPL; you only need to provide sources to people who > _ask_for_them_. These days, you could probably just refer them to a web > page or something. Also, they have to make any _changes_ they've made to > the source available. s/a web page/a web page that you c

Re: GPL violation ?

2004-05-05 Thread Chris Herborth
Vince Hoffman wrote: Checkpoint appear to be distributing cygwin1.dll (as well as gzip and gtar) without any obvious sources available. if fact of the 3 GPL utils its the only that doesnt have its own copying notice (they do at least provide a copy of the GPL.) Go read the GPL; you only need to pro

GPL violation ?

2004-05-05 Thread Vince Hoffman
Checkpoint appear to be distributing cygwin1.dll (as well as gzip and gtar) without any obvious sources available. if fact of the 3 GPL utils its the only that doesnt have its own copying notice (they do at least provide a copy of the GPL.) I havent contacted them about this as i could be in error

Re: ^Z works?

2004-05-05 Thread Brian Dessent
Christopher Spears wrote: > I've been playing around with suspend jobs using > cygwin. I'm a bit perplexed because ^Z doesn't seem > to work. By examining the mail archives, this seems > to be a problem that occurred in the past, but I am > confused because it seems that particular thread deals

RE: DLL generation under Cygwin

2004-05-05 Thread Ted Yu
Hi, Igor: > So does MSVCRT.dll, which is what MinGW uses for its > runtime. I am not familiar with MinGW. What is it ? > Why are you linking in libc.a explicitly? The > appropriate version should > be automatically linked in by the compiler. If I omit libc.a, I get this: ld: warning: cannot find

Re: Trying to link an MSVC DLL with a Cygwin Application

2004-05-05 Thread Jörg Schaible
Please keep replies on the list! On Wednesday 05 May 2004 09:31, you wrote: Jt> Jörg Schaible wrote: Jt> Jt> > john george wrote: Jt> > Jt> > Jt> >>Can i resolve the name mangling issue by adding the Jt> >>extern "C" declaration for every function that I'm Jt> >>exporting in the MSVC created DLL.

RE: Autarkic fortune/strfile usage possible?

2004-05-05 Thread Brian Kelly
>> I'd like to use on other machines as well - without Cygwin. >> Any opinions? > cgf writes -> > I have one: Find another mailing list if you want to discuss ways of > not using cygwin. This is a mailing list devoted to actually *using* > cygwin. I've read a LOT of cgf's one liner's, but this

^Z works?

2004-05-05 Thread Christopher Spears
I've been playing around with suspend jobs using cygwin. I'm a bit perplexed because ^Z doesn't seem to work. By examining the mail archives, this seems to be a problem that occurred in the past, but I am confused because it seems that particular thread deals with trying to suspend Windows progra

Possible bug in stat, lstat with long filenames or paths

2004-05-05 Thread Blake Maltby
Hi, I'm running on cygwin 1.5.9-1 and I think I've found a problem with stat, lstat and the various derivatives. It seems to be related to long pathnames where the file in question doesn't exist. When the combination of the working directory and filename add up to somewhere around 260 (MAX_PATH le

RE: DLL generation under Cygwin

2004-05-05 Thread Igor Pechtchanski
On Wed, 5 May 2004, Ted Yu wrote: > Hi, > I deleted .o files and compiled with -mno-cygwin. > cygwin1.dll is still needed because it contains > malloc() and free() which are used in my DLL. So does MSVCRT.dll, which is what MinGW uses for its runtime. > Here is my Makefile: > OBJS = \ >

Re: setup crashes

2004-05-05 Thread user
--- > Have you got setup.ini as well as setup.exe in d:\cygkit\? > You'll need it. Yes, I have it... but setup.exe 2.427 crashes again. I think that the problem may be a corrupted package because setup did not complete the MD5 checking. Now I have just deleted xorg-x11-bin and i

postgresql date time at Cygwin On Windows 2000 - workaround available?

2004-05-05 Thread Mike Preston
Referencing http://archives.postgresql.org/pgsql-cygwin/2004-03/msg1.php, is there any workaround to reset the Postgresql 'system' time as it reads it from Cygwin? We have some time-sensitive data, and the Postgresql time is four days and four hours (plus) off the system time. We don't mind h

RE: DLL generation under Cygwin

2004-05-05 Thread Ted Yu
Hi, I deleted .o files and compiled with -mno-cygwin. cygwin1.dll is still needed because it contains malloc() and free() which are used in my DLL. Here is my Makefile: OBJS = \ 8d0.o 8d1.o 8d2.o \ 8c0.o 8c1.o 8c2.o \ 8r0.o 8r1.o 8r2.o \ 8u0.o 8u1.o 8u2.o \ 8

Re: python crash under cygwin 1.5.9 dll

2004-05-05 Thread Jason Tishler
Jordan, On Tue, May 04, 2004 at 08:03:37AM -0700, Jordan Gannett wrote: > Recently I tried upgrading to the cygwin-1.5.9-1 package, and after > that, BitTorrent (a python-based program) started crashing > consistently on certain inputs, with the error > > segmentation fault (core dumped) > > I t

Re: newline in patch command output

2004-05-05 Thread Brian Dessent
Baurjan Ismagulov wrote: > > patch is a tricky area in terms of line-endings. This is mostly > > explained in . > > Wow! How did you locate this message? > > I see it appearing in results for "patch newlines" but not for "patch > newline" (

Re: newline in patch command output

2004-05-05 Thread Baurjan Ismagulov
Hello, Brian! Thank you for a prompt reply. On Wed, May 05, 2004 at 06:50:43AM -0700, Brian Dessent wrote: > patch is a tricky area in terms of line-endings. This is mostly > explained in . Wow! How did you locate this message? I see it a

Re: setup crashes

2004-05-05 Thread fergus
Have you got setup.ini as well as setup.exe in d:\cygkit\? You'll need it. 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/f

Re: Autarkic fortune/strfile usage possible?

2004-05-05 Thread Christopher Faylor
On Wed, May 05, 2004 at 02:25:20PM +0200, [EMAIL PROTECTED] wrote: >I wonder if "outsourcing" of both fortune and strfile executables is >possible, so these programs might be run independently on a Win32 >system lacking the regular Cygwin environment. Is it feasible somehow >to supply just the ind

Re: newline in patch command output

2004-05-05 Thread Brian Dessent
Baurjan Ismagulov wrote: > > Hello, > > I wish to use diff and patch on files with CR/LF newlines. I've > installed cygwin with DOS text file type. Diff produced a patch with > CR/LF. When I try to apply this patch, the modified files contain only > LF, and I have to run unix2dos on them. How can

setup crashes

2004-05-05 Thread user
Hello, I am trying to install cygwin on win2k+sp4+... ... + latest patch. I am using the current cygwin setup.exe in two steps, first download to local directory d:\cygkit then install from local directory to d:\cygwin My win2k is in C:, D: is a NTFS partition with 1,6 GB of free

newline in patch command output

2004-05-05 Thread Baurjan Ismagulov
Hello, I wish to use diff and patch on files with CR/LF newlines. I've installed cygwin with DOS text file type. Diff produced a patch with CR/LF. When I try to apply this patch, the modified files contain only LF, and I have to run unix2dos on them. How can I make patch produce output files with

Re: Autarkic fortune/strfile usage possible?

2004-05-05 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > I wonder if "outsourcing" of both fortune and strfile executables is > possible, so these programs might be run independently on a Win32 system > lacking the regular Cygwin environment. > Is it feasible somehow to supply just the indispensable Cygwin library > (or librar

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Reini Urban
Arash Partow schrieb: I can't replicate your problem, but I know where it is coming from, basically standard windows winsock is not geared up to handle that man socket connections. When a socket is made and then closed the socket actually stays open for about 240-300 seconds depending on your regis

Re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Brian Dessent
Jacek Trzmiel wrote: > void test() > { > /* go find out about the desired host machine */ > struct hostent *he = gethostbyname(HOST); > if (he == 0) { > perror("gethostbyname"); > exit(1); > } Just a wild guess, but gethostbyname() is probably not reentrant and can

Autarkic fortune/strfile usage possible?

2004-05-05 Thread svartsjel
Hi, I wonder if "outsourcing" of both fortune and strfile executables is possible, so these programs might be run independently on a Win32 system lacking the regular Cygwin environment. Is it feasible somehow to supply just the indispensable Cygwin library (or libraries) to Windows, so fortune and

Re: PCMCIA & Cygwin

2004-05-05 Thread Brian Dessent
Intelekia wrote: > Is there any command I could use to "ping" the pcmcia card (a Sierra > Wireless 750 GPRS modem) for response, like AT commands, in case there is > more than one port to try? That depends on how the Windows drivers present the interface of the card. If they provide a serial (co

RE: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Arash Partow > Sent: 05 May 2004 12:04 > I can't replicate your problem, but I know where it is coming from, > basically standard windows winsock is not geared up to handle that man > socket connections. When a socket is made and then

RE: About init

2004-05-05 Thread Sergey Okhapkin
Install "sysvinit" and "initscripts" packages. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of theoharis tsenis > Sent: Wednesday, May 05, 2004 7:26 AM > To: cygwin > Subject: About init > > > > Hi, >does cygwin supports init.d. Also how can i st

About init

2004-05-05 Thread theoharis tsenis
Hi, does cygwin supports init.d. Also how can i start automatically the inetd or xinetd? Regards. Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.

re: pthreads and sockets - Cannot register window class error

2004-05-05 Thread Arash Partow
Hi, I can't replicate your problem, but I know where it is coming from, basically standard windows winsock is not geared up to handle that man socket connections. When a socket is made and then closed the socket actually stays open for about 240-300 seconds depending on your registry settings, this

RE: DLL generation under Cygwin

2004-05-05 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Ted Yu > Sent: 04 May 2004 20:23 > Hi, Larry: > If I use your flag, I got the following: > ld: warning: cannot find entry symbol [EMAIL PROTECTED]; > defaulting to 10001000 > djbfft2d.o(.text+0x4d3):djbfft2d.cpp: undefined > reference

RE: PCMCIA & Cygwin

2004-05-05 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Intelekia > Sent: 05 May 2004 11:21 > Is there any command I could use to "ping" the pcmcia card (a Sierra > Wireless 750 GPRS modem) for response, like AT commands, in > case there is > more than one port to try? If everything's w

RE: PCMCIA & Cygwin

2004-05-05 Thread Intelekia
Hi Brian, Thank you very much for your help! Is there any command I could use to "ping" the pcmcia card (a Sierra Wireless 750 GPRS modem) for response, like AT commands, in case there is more than one port to try? Best regards, Isaac. -Original Message- From: [EMAIL PROTECTED] [mail

Re: "proc_open.c:753: error: `TIOCNOTTY' undeclared" error in PHP build

2004-05-05 Thread Reini Urban
Ron Barak schrieb: /cygdrive/n/src/php/php-5.0.0RC2/ext/standard/proc_open.c:753: error: `TIOCNOTTY' undeclared (first use in this function) ioctl(0,TIOCNOTTY,NULL); Could you suggest a remedy ? Why don't you try php4 instead? This would help others also if you then could provide the

"proc_open.c:753: error: `TIOCNOTTY' undeclared" error in PHP build

2004-05-05 Thread Ron Barak
Hi, I downloaded the PHP sources and I try to build them on cygwin. After running configure, I try to make, and I get the below errors: $ make gcc -Iext/standard/ -I/cygdrive/n/src/php/php-5.0.0RC2/ext/standard/ -DPHP_ATOM_INC -I/cygdrive/n/src/php/php-5.0.0RC2/include -I/cygdrive/n/src/php/php-