Hi,

Ah, after spending a long time figuring out why everything was failing so 
badly on Cygwin, I now have mod_perl making, testing and installing just fine!

The attached patch gets all tests to pass on my box, except those which are 
skipped (some involving Apache::Request and Apache::Cookie -- another 
problem for another time).

Note that I had to add "#!perl" shebangs to *all* tested registry scripts: 
this is because Cygwin has two ways to check if a normal file is actually 
executable: the default mode is to check for a shebang line at the top of 
the file, and the other one is a mode called "ntsec" which isn't on by 
default and caused me some great extents of pain. So either these patches 
need to go in for tests to pass, or Apache::Registry and friends need to be 
patched to not check the executable flag on Cygwin. Make your pick.

I built a mod_perl from the clean sources with these arguments:
APACHE_SRC=../apache_1.3.24/src
USE_APACI=1
EVERYTHING=1
DO_HTTPD=1

And everything worked as a charm. Except one thing: when the tests are 
done, httpd is hanging and can only be killed with kill -9. I have no idea 
why this is happening, but last time I looked at the trace it seemed as if 
it was looping forever over the kill signal. The hanging didn't happen when 
I started up the server in normal mode.

As you probably noticed, I am more than relieved about being done with this :-)


-- 
Per Einar Ellefsen
[EMAIL PROTECTED]

Attachment: cygwin.patch
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to