Re: Win32+PerlModule works !!!
Thanks a lot, Randy!!! I recompiled mod_perl with that flag, and now PerlModule/PerlRequire/Use ... work! Apache comes up, and everything seems fine so far! But I don't know how this flag influences whatever. Apache loads all APache modules twice. This flag disables all PerlRequire and PerlModule statements on the first load, so they can succeed on the second load. Without that flag, the second load fails. If that works for all Win32-systems and has no bad side-effect, I suggest that it should be inserted into the distributed 'mod_perl.h'-file - thinking I'm not the only one having this problem ... I have suggest to make this default for NT when I send this patch to Doug, but he decided, to make it conditional. Gerald
Re: Win32+PerlModule works !!!
Have you been able to install it as a NT Service? I can only run 1.3.9/1.2.21 from the command line. 1.3.6/1.2.21 are working fine. :( I hate NT. John [EMAIL PROTECTED]
RE: Win32+PerlModule works !!!
Have you been able to install it as a NT Service? I can only run 1.3.9/1.2.21 from the command line. 1.3.6/1.2.21 are working fine. :( I hate NT. Did you try to compile mod_perl with #define PERL_STARTUP_DONE_CHECK 1 at the top of the mod_perl.h? This may solve your problem. Gerald
Re: Win32+PerlModule works !!!
Did you try to compile mod_perl with #define PERL_STARTUP_DONE_CHECK 1 at the top of the mod_perl.h? This may solve your problem. Yes, without that define, DBI breaks and I can't run from the command line without -X Very frustrating, but no more so than the typical experience of using NT. John [EMAIL PROTECTED]
RE: Win32+PerlModule works !!!
Yes, without that define, DBI breaks and I can't run from the command line without -X Very frustrating, but no more so than the typical experience of using NT. Did you first uninstall the old one (Apache -u), before installing the new one? Does the error log contains any hints? Gerald
Re: Win32+PerlModule works !!!
FWIW, I have Randy Kobes' modperl/apache distribution installed on NT 4.0 as a service. It appears to execute successfully using ODBC against an Access database locally and a DB2 database on a remote machine. John D Groenveld [EMAIL PROTECTED] on 12/15/99 03:28:23 PM To: "Gerald Richter" [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: John Arnold/DTC) Subject: Re: Win32+PerlModule works !!! Did you try to compile mod_perl with #define PERL_STARTUP_DONE_CHECK 1 at the top of the mod_perl.h? This may solve your problem. Yes, without that define, DBI breaks and I can't run from the command line without -X Very frustrating, but no more so than the typical experience of using NT. John [EMAIL PROTECTED]
Re: Win32+PerlModule works !!!
- Original Message - From: John D Groenveld [EMAIL PROTECTED] To: Rolf Ohnmacht [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 15, 1999 4:24 PM Subject: Re: Win32+PerlModule works !!! Have you been able to install it as a NT Service? I can only run 1.3.9/1.2.21 from the command line. 1.3.6/1.2.21 are working fine. :( I hate NT. John No, because on the Apache installation guide it was described that one should have a special "install shield" tool to get the NT Service to work. But I start Apache from a simple command shell and I like it much more than do some "clicky-clicky" to get into the services folder and do other clicks to stop/start/restart the server. Using command-lines it's only Ctr-C and DblClick! This is one of many reasons I like Apache: I spent some time with IIS and ASP and hated IIS because of its overdimensionaled graphical interface. Then I went to Apache and found that the whole thing can be done within one editable config file - http.conf ... Why do you wish to have the Apache as NT Service to run? If you have good arguments, let me know! Rolf
Win32+PerlModule works !!!
- Original Message - From: Randy Kobes [EMAIL PROTECTED] To: Rolf Ohnmacht [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, December 14, 1999 2:32 AM Subject: Re: Win32+modperl+EmbPerl - some questions ... 1.) 'PerlModule' ( eg. srm.conf ) or 'use HTML::Embperl' ( startup.pl) both don't work! But if I leave it - no problem! Is this a special "Win32-behaviour"? Hi, I've seen a similar problem before on Win32 - try compiling mod_perl with the PERL_STARTUP_DONE_CHECK flag set, which you can do by adding #define PERL_STARTUP_DONE_CHECK 1 to the top of src/modules/perl/mod_perl.h. best regards, Randy Kobes Thanks a lot, Randy!!! I recompiled mod_perl with that flag, and now PerlModule/PerlRequire/Use ... work! Apache comes up, and everything seems fine so far! But I don't know how this flag influences whatever. If that works for all Win32-systems and has no bad side-effect, I suggest that it should be inserted into the distributed 'mod_perl.h'-file - thinking I'm not the only one having this problem ... Rolf