Re: [ MP2] startup problem with XML::LibXML

2003-01-26 Thread pascal barbedor
hi   what version of libxml2 should I use ?   I tried to compile version 1.52 against  versions libxml2-2.5.1 precompiled binary from xmlsoft   test failed with segfault   t\08findnodes.t   list of failed 6-18 t\13dtd.t    list of failed 11-12  

Re: [ MP2] startup problem with XML::LibXML

2003-01-25 Thread pascal barbedor
it is version 1.54 pascal - Original Message - From: "Matt Sergeant" <[EMAIL PROTECTED]> To: "pascal barbedor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, January 25, 2003 8:00 PM Subject: Re: [ MP2] startup problem with XML::LibXML

[ MP2] startup problem with XML::LibXML

2003-01-25 Thread pascal barbedor
  PROBLEM  : APACHE SEGFAULT WITH XML::LibXML on WIN32   I use all in one perl + apache + modperl2 RK binaries but I replace c:\perl\bin\perl58.dll with perl58.dll obtained after separately(and succesfully) compiling perl with vc6 DEBUG so that I get symbols in perl58.dll so the call stack

compiling modperl with mingw on win32

2002-11-12 Thread pascal barbedor
Hi   on win32,   I have compiled perl 5.8 with mingw gcc 3.2 and dmake. it gives a very fast perl.   is it possible to build mod_perl 1.99_07 with this perl and an apache 2043 build with msvc6 ? (is it possible to compile apache with gcc3.2 ?)   because I am trying it , and it don't seems to

Re: Testing mod_perl app on Windows

2002-10-11 Thread pascal barbedor
Hi 2000 or XP are more robust, shell a little better you can install apache/modperl on any 2000, XP on XP you have name completion like in unix in the shell windows, a little + I have a running server on 2000 with apache 1 /modperl 1 plus a reverse proxy plain apache server to speed up a littl

Re: Apache::Util::ht_time outputs dates in local language

2002-09-08 Thread pascal barbedor
> This function wraps an apache function (apr_ht_time()) which in > turn uses strftime() to do the conversion. > > Try changing your LC_TIME or LANG variable before you start your > web server. Perhaps start by setting LANG=C and go from there. > > Consult the strftime() man page for details on

Apache::Util::ht_time outputs dates in local language

2002-09-06 Thread pascal barbedor
> > When I have caching problems, I run my pages through cachability to find out > where they are failing. Check it out at: > > http://www.web-caching.com/cgi-web-caching/cacheability.py > > It reports on page headers as well as gives useful info like the following: > Hi thanks this helped me

caching dynamic content in the reverse proxy

2002-09-05 Thread pascal barbedor
Hi   following a recipe in modperl doc I have setup a front end plain apache "reverse proxy" + a back end modperl enabled.   the front end has proxy cache enabled. any static content that is served by a default-handler from the backend server is well cached by the front one.   but any conten

Re: DBI makes apache fail in perl58.dll

2002-08-25 Thread pascal barbedor
> The following change fixes that, but now the trace filehandle is not cloned > anymore. That means you have to set the trace file in every thread and > cannot set it in the parent thread. > > DBI.xs line 223 > > change from > > DBIS->logfp = parent_dbis? fp_dup(parent_dbis->logfp,'>',0) : >

Re: [modperl-2.0] unresolved external on win32 when compiling

2002-08-17 Thread pascal barbedor
Hi when compiling modperl 1.99_05 (from today cvs) with MP_DEBUG=1 first error : modperl_xsinit.lo : fatal error : incompatible pdb format in c:\modperl-2.0\src\modules\perl\vc60.pdb ; delete and rebuild I don't know what the "delete and rebuild" means. after I delete the vc60.pdb file menti

[modperl-2.0] unresolved external on win32 when compiling

2002-08-17 Thread pascal barbedor
Hi   when compiling modperl 1.99_05 (from today cvs) with MP_DEBUG=1 there is un unresolved external RequestIO.obj : unresolved external symbol _times RequestIO.dll fatal LNK error   this is with perl 5.8.0 compiled with DEBUG flag win XP MSVC6     best regards pascal   PS modperl-1.99_04 d

Re: DBI make apache fail in perl58.dll

2002-08-17 Thread pascal barbedor
SharedUserData!SystemCallStub+0x4 ntdll!ZwTerminateProcess+0xc kernel32!_ExitProcess+0x57 kernel32!ExitProcess+0x11 msvcrt!__crtExitProcess+0x2f msvcrt!_cinit+0xe4 msvcrt!exit+0xe WARNING: Stack unwind information not available. Following frames may be wrong. perl58!Perl_Tregnarrate_ptr+0x14809d p

Re: DBI make apache fail in perl58.dll

2002-08-17 Thread pascal barbedor
> > > > PERL58! 280681d9() <-- error here access violation > > DBI! 003970b6() > > PERL58! 2803f289() > > PERL58! 2805cf4c() > > PERL58! 2806b821() > > PERL58! 2808596f() > > MOD_PERL! 100018b7() > > LIBHTTPD! 6ff012a6() > Hi here is maybe more informative stack trace WARNING: Stack unwind infor

Re: DBI make apache fail in perl58.dll

2002-08-17 Thread pascal barbedor
> > Can you retrieve a backtrace from the core file? The version that I was > using before 1.30 (I think it was 1.29) was blowing so badly that it was > leaving no stack. this is the only uninformative stack i have, having no debug version. I am trying to build one... PERL58! 280681d9() <-- e

Re: DBI make apache fail in perl58.dll

2002-08-16 Thread pascal barbedor
> > same here. segfault in startup.pl. > not sure what version it was, but < 1.30 > > installed DBI 1.30. no more segfault. segfault for me on win XP with DBI 1.30 if DBI is used in the startup.pl (apache 2.0.40 modperl 1.99_05 perl 5.8) I reinstalled DBI 1.30 from CPAN just in case, installs a

Re: DBI make apache fail in perl58.dll

2002-08-16 Thread pascal barbedor
> I find that too ... Gerald, a little while ago, mentioned in a > message to the dev list that latter DBIs work only if they come > into play after the perl interpreter has been cloned - perhaps > this is related to problems with using DBI in a startup script? > > > - same from a registry scri

DBI make apache fail in perl58.dll

2002-08-14 Thread pascal barbedor
Hi   the following startup.pl makes apache segfault in perl58.dll on windows XP(or 2000)   version are : apache 2.0.40-dev perl 5.8.0 modperl 1.99 mysqld-nt 3.23.49   DBI 1.30 DBD::Mysql 2.1017   from perl 5.8-win32-bin.tar.gz ready-to-use RK archive (date 25/07/02) in theoryx5.uwinnipeg.ca/

Re: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread pascal barbedor
> > I have been trying 5.8RC1 and I tried to compile/install several modules > that I have > on 5.6.1 - CPAN, not PPM. > At least the following do not build and/or test right (not exhaustive, as I > got tired after a while): > > TK # C error > Archive::Tar

Re: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread pascal barbedor
like XML::LibXML or XML::Parser, and that don't install on win32 with usual perl makefile.pl etc thanks pascal - Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "pascal barbedor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent

Re: please help me.

2002-06-03 Thread pascal barbedor
hi but what is the problem ? if you are running normal cgi script, then the first line of the file script called must contain #!path_path_to_perl and this is just a comment to remind you in httpd.conf : # Apache parses all CGI scripts for the shebang line by default. # This comment line, the

[2.x] test fails on win32 version 1.99_02

2002-06-02 Thread pascal barbedor
hi on win2k, perl 5.6.1, apache 2.036 i can successfully comile mod_perl-1.99_02 just released with as many flags as desired for instance MP_DEBUG now works but nmake test fails to start apache. with 2.0.36 there is a segfault and with 2.0.37-dev (last cvs) a transferlog directive not understo

[modperl2] XML::LibXML crashes apache

2002-05-12 Thread pascal barbedor
Hi !   with last modperl2 passing almost all test ok on win32, i have a problem with XML:LibXLML   -8<-- Start Bug Report 8<--1. Problem Description:     [XML-LibXML 1.40 (from RK ppd) crashes apache 2.0.36 or 2.0.37-dev]   this file (below)  run with "

Re: mod_perl2: nmake test crashes apache

2002-05-10 Thread pascal barbedor
> > By running restricted test suites, I found out that the culprit appears to > hide somewhere > in compat2.t, i.e the sequence: > > perl -Mblib t\test t/apache/compat2.t t/apache/conftree.t > > wedges, whereas: > >perl -Mblib t\test t/apache/cgihandler.t t/apache/compat.t > t/apache/conftr

Fw: How do I determine end of request? (mod_perl 2.0)

2002-05-06 Thread pascal barbedor
- Original Message - From: "pascal barbedor" <[EMAIL PROTECTED]> To: "Douglas Younger" <[EMAIL PROTECTED]> Sent: Monday, May 06, 2002 11:31 PM Subject: Re: How do I determine end of request? (mod_perl 2.0) > hi > > you could maybe set the Proxy

Re: Pb with Win32 Installation

2002-05-06 Thread pascal barbedor
> For those that segfault, does running them individually: >perl -Mblib t/TEST t/apache/conftree.t > etc. also segfault? > > best regards, > randy > also running tests with perl t\test -start-httpd perl -Mblib t\test t/apache/conftree.t perl -Mblib t\test t/apache/compat2.t segfaults

Re: Pb with Win32 Installation

2002-05-06 Thread pascal barbedor
modperl-2.0\t\response/TestModperl/dir_config.pm line 71. best regards pascal barbedor

Re: Pb with Win32 Installation

2002-05-06 Thread pascal barbedor
- Original Message - From: "Randy Kobes" <[EMAIL PROTECTED]> To: "pascal barbedor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, May 06, 2002 4:03 PM Subject: Re: Pb with Win32 Installation > On Mon, 6 May 2002, pascal barbed

Re: Pb with Win32 Installation

2002-05-06 Thread pascal barbedor
fails and apache segfaults, even with the latest cvs. apache 2.0.37-dev modperl 1.99_02-dev win2k perl 561 see below the report log. pascal barbedor -8<-- Start Bug Report 8<-- 1. Problem Description: nmake is ok nmake test fails at conftree t

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread pascal barbedor
> > Hello Friends, > > > > I am a newbie and had developed a proof-of-concept > > application on Apache 1.3.23/Mod_Perl-1.26-dev. We are > > researching into moving away from ASP/IIS Webapplications to > > Apache/Mod_Perl. I am stuck with the latest Apache 2.0.35 > > with the following problems.

Re: Apache::ServerUtil pb in modperl2

2002-04-12 Thread pascal barbedor
> Does the following, or some variation, work? > > == > package Apache::Test; > > # PerlModule Apache::Test > # > # SetHandler modperl > # PerlResponseHandler Apache::Test > # PerlSetVar TEST "jdjdsds" > # > > use strict; > >

Re: mod_perl 1.99 (for Apache 2.0.35) building on W2K

2002-04-12 Thread pascal barbedor
2.0.35 no difference as well and for cgi.pm used with modperl I don't know.  i guess there is a difference, at least in the Apache::registry setup of the location to use the cgi like script   pascal           - Original Message - From: Chuck Goehring To: pascal bar

Re: Apache::ServerUtil pb in modperl2

2002-04-12 Thread pascal barbedor
apache 2.0.35 / mod_perl 1.99_01 / winnt or win2k I confirm that using a module in startup.pl consisting of >use Data::Dumper ; >use XML::LibXML() ; > >[1] use Apache::ServerUtil ; >[2] my $s=Apache->server ; >[3] my $base=$s->dir_config('some'); >[4] my $xml=XML::LibXML->new(); >[5] print Du

Re:Apache::ServerUtil pb in modperl2

2002-04-11 Thread pascal barbedor
> How I built it on Win32, after building and installing httpd-2 to > C:\Apache2, is > > perl Makefile.PL MP_AP_PREFIX=C:\Apache2 MP_GENERATE_XS=1 > nmake > nmake install > > > On Win32 there were some problems for me in running the tests via > 'nmake test'; some Apache2 modules needed to be ad

apxs to build modperl2

2002-04-11 Thread pascal barbedor
>Also try building from scratch and see if 'make test' passes for you. >That would be the best help, instead of trying to use pre-compiled >binaries at this point. there is no apxs built after compiling httpd-2.0.35 sources I have built everything under win2k , and don't find apxs does anyo

Apache::ServerUtil pb in modperl2

2002-04-11 Thread pascal barbedor
Hi thanks for preceeding answer I had missed this doc. I have a problem with Apache::ServerUtil though : when using $s->dir_config('some') i have this message (and apache segfaults) : "Attempt to free unreferenced scalar at .. line 17" i have installed modperl through ppd, so have not the t/r

Apache->server in modperl2

2002-04-10 Thread pascal barbedor
Hi   I have installed apache 2.0.35 and modperl2 ppd from theoryx5 repository I am under win2k   I am trying to move my modules under modperl2   I am running into a first problem   I used to use Apache->server->dir_config('some') but this does not work anymore   does anyone know the replacem

Re: modperl 1.31 PDF pb

2001-11-18 Thread pascal barbedor
: pascal barbedor ; [EMAIL PROTECTED] Sent: Saturday, November 17, 2001 10:39 AM Subject: Re: modperl 1.31 PDF pb   - Original Message - From: pascal barbedor To: [EMAIL PROTECTED] Sent: Saturday, November 17, 2001 4:49 AM Subject: modperl 1.31 PDF

modperl 1.31 PDF pb

2001-11-16 Thread pascal barbedor
Hi   I have problem trying to download the pdf version of the guide. several downloads always results in incorrect zip impossible to decompress.   i already noticed this problem with former version of the guide.   has anyone succesfully downloaded and uncompressed the pdf file ?*   I am on

Re: piece of code in mod_perl guide

2001-10-07 Thread pascal barbedor
ig file? > > best regards, > randy kobes > > oh yes, this was the answer ! XML::XPATh->new stats the file. thanks for clearing it out ! then maybe the last line of reread_conf in mod_perl guide should be modified to $MODIFIED{$file} = -M $file; in case the do ( )

Re: piece of code in mod_perl guide

2001-10-07 Thread pascal barbedor
- Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "pascal barbedor" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, October 07, 2001 2:22 PM Subject: Re: piece of code in mod_perl guide > > > > > > > &

piece of code in mod_perl guide

2001-10-06 Thread pascal barbedor
hello,   I am reading mod_perl guide and i had a problem with a piece of code in chapter 9.7.4.2 about reloading configuration files. this is version jan 2001 but i have checked in the last one the piece of code is the same.   when running the code exactly, things don't work, even outside m