Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[mp2] Win32 problems: msg#00199

apache.mod-perl.devel

Subject: [mp2] Win32 problems

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

Attachment: save.txt
Description: Text document

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation