Re: Solution to apr stdio/msvc crt/service handles and logging
On Thu, 27 Sep 2007, William A. Rowe, Jr. wrote: Randy Kobes wrote: I'm currently rebuilding everything with VC 8 (the free version), and will report on that later. Yea - I discovered it's quite impossible to get msvcrt-linked activestate to cooperate with openssl compiled against msvcr80, and probably not against httpd+mod_perl against msvcr80. Even errors silently ignored before cause segfaults now when activestate tries to touch pseudo-posix files and visa versa because msvcr80 has all of the additional parameter checking. Really, building exclusively against either msvcr80 or msvcrt is the only way to go, and that includes all the bits. I found that too, so for testing with VC 8 (the free version), I built both perl and apache with it. mod_perl builds and works, although a handful of its tests fail (using VC 6, all the mp2 tests passed). However, these are most likely problems on the perl/mp2 side - there were a few of the Perl tests that failed when I built Perl. I'll look into these and report on the mp2 list. -- best regards, Randy
Re: Solution to apr stdio/msvc crt/service handles and logging
Randy Kobes wrote: The patched version built fine, and with the svn mod_perl2 sources, and perl-5.8.8 (ActivePerl 822), all the mp2 tests passed using VC++ 6. Great work! FYI I'm waiting on a third set of eyeballs before this is all committed. I'd especially appreciate any input from Tom w.r.t. the ease of adding APR_NO_FILE flags to apr_procattr_io_set() members whom are not allowed to have a handle at all, eg. how this works out with mod_fcgid and similar modules. Once that is done, I've been ready to commit. Bill
Re: Solution to apr stdio/msvc crt/service handles and logging
http://people.apache.org/~wrowe/apr-1.x-win32-nohandle.patch FYI - that one does not apply cleanly to apr-1.2 (it's trunk) if you want the easily applied flavor, that would be; http://people.apache.org/~wrowe/apr-1.2-win32-nohandle.patch The httpd patch applies with little pain.
Re: Solution to apr stdio/msvc crt/service handles and logging
On Thu, 27 Sep 2007, William A. Rowe, Jr. wrote: http://people.apache.org/~wrowe/apr-1.x-win32-nohandle.patch FYI - that one does not apply cleanly to apr-1.2 (it's trunk) if you want the easily applied flavor, that would be; http://people.apache.org/~wrowe/apr-1.2-win32-nohandle.patch The httpd patch applies with little pain. The patched version built fine, and with the svn mod_perl2 sources, and perl-5.8.8 (ActivePerl 822), all the mp2 tests passed using VC++ 6. Great work! I'm currently rebuilding everything with VC 8 (the free version), and will report on that later. -- best regards, Randy
Re: Solution to apr stdio/msvc crt/service handles and logging
Randy Kobes wrote: I'm currently rebuilding everything with VC 8 (the free version), and will report on that later. Yea - I discovered it's quite impossible to get msvcrt-linked activestate to cooperate with openssl compiled against msvcr80, and probably not against httpd+mod_perl against msvcr80. Even errors silently ignored before cause segfaults now when activestate tries to touch pseudo-posix files and visa versa because msvcr80 has all of the additional parameter checking. Really, building exclusively against either msvcr80 or msvcrt is the only way to go, and that includes all the bits. Bill