|
|
Choosing A Webhost: |
[mp2] Win32 problems: msg#00199apache.mod-perl.devel
There's a couple of problems with the current cvs mod_perl 2 on Win32 with Perl-5.8 (ActiveState 805 compatible) ... I need to rebuild a debug Perl/Apache2, but in the meantime, here's a description, in case it rings a bell ... - First off, in xs/modperl.def, an entry for MP_debug_level appears, which the linker can't find when building mod_perl.so. For Win32, src/modules/perl/modperl_log.h sets MP_debug_level to modperl_debug_level(), which is in xs/modperl.def. This diff: ============================================================== Index: lib/ModPerl/WrapXS.pm =================================================================== RCS file: /home/cvs/modperl-2.0/lib/ModPerl/WrapXS.pm,v retrieving revision 1.54 diff -u -r1.54 WrapXS.pm --- lib/ModPerl/WrapXS.pm 24 Mar 2003 04:38:19 -0000 1.54 +++ lib/ModPerl/WrapXS.pm 29 Mar 2003 17:50:31 -0000 @@ -13,13 +13,15 @@ use Cwd qw(fastcwd); use Data::Dumper; use File::Spec::Functions qw(catfile catdir); +use Apache::TestConfig; our $VERSION = '0.01'; my(@xs_includes) = ('mod_perl.h', map "modperl_xs_$_.h", qw(sv_convert util typedefs)); -my @global_structs = qw(perl_module MP_debug_level); +my @global_structs = qw(perl_module); +push @global_structs, qw(MP_debug_level) unless Apache::TestConfig::WIN32; sub new { my $class = shift; =========================================================================== skips adding MP_debug_level to xs/modperl.def for Win32. - secondly, there's a problem in starting the tests, with a free to a wrong pool and then an access violation in the perl58 lib. No error log is created, but I've attached a trace from enabling PerlTrace All in httpd.conf. This problem arose in the last week or so - I'll look into this later when I get a chance to rebuild Perl/Apache with debugging enabled. -- best regards, randy
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxx For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: finding mod_perl shared object on win32, Randy Kobes |
|---|---|
| Next by Date: | Re: [mp2] Win32 problems, Stas Bekman |
| Previous by Thread: | picking the right mod_perl.so when configuring t/conf/httpd.conf for 3rd party modules, Stas Bekman |
| Next by Thread: | Re: [mp2] Win32 problems, Stas Bekman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |