This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: CGI & gcc


Ok, cygwin1.dll now resides in the appropriate cygwin/bin directory which is
now referred to in the path.
This doesn't fix the problem.
I don't understand your question regarding Apache being Cygwin enabled.
I can't find anything in the documentation for Apache or Cygwin to give me
any clues.
cygcheck httpd fails because there is not file named httpd


-----Original Message-----
From: Earnie Boyd [mailto:earnie_boyd@yahoo.com]
Sent: Thursday, April 12, 2001 11:14 PM
To: Greg Hamilton
Cc: cygwin@cygwin.com
Subject: Re: CGI & gcc


Greg Hamilton wrote:
> 
> Hello,
> 
> I'm running Apache 1.3.14 under NT4.0

Is this a Cygwin enable Apache?  Output of `cygcheck httpd'?

> I want to write CGI using gcc but I have a problem.
> My 'Hello World.' test program failed because the cygwin1.dll was not in
the
> path.

> I copied it to c:\winnt\system32.

<RANT>
DON'T COPY THE CYGWIN1.DLL FROM CYGWIN/BIN TO ANYWHERE ELSE; ADD THE
CYGWIN/BIN path to the PATH.
</RANT>

My rant most likely will not help your problem.

> The test worked.
> Running the test again the browser informed me I had initiated a download
of
> cgitest.exe
> and the test no longer worked.
> If I remove cygwin1.dll from the path and start again this sequence is
> repeatable.
> Python and Perl scripts are working fine as are .exe files compiled with
> Delphi.
> This problem seems quite specific to executables which require the
> cygwin1.dll
> 

Again, is this a Cygwin enable httpd?

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]