Compiles without problems but apreq/request.t segfaults
The error_log is empty

E:\Downloads\httpd-apreq>E:\Sites\Perl\bin\perl.exe -Iblib\arch -Iblib\lib
t/TEST  -verbose apreq/request.t
e:/sites/servers/apache/apache.exe  -d E:/Downloads/httpd-apreq/t -f
E:/Download
s/httpd-apreq/t/conf/httpd.conf -D APACHE1 -D PERL_USEITHREADS
using Apache/1.3.33

waiting 60 seconds for server to start: .WARNING: StartServers has no effect
on
Win32

waiting 60 seconds for server to start: ok (waited 0 secs)
server ananiev.discussion-works.com:8529 started
Apache/1.3.33 (Win32) mod_perl/1.29_01-dev running...
t\apreq\request....1..2
# Running under perl version 5.008007 for MSWin32
# Win32::BuildNumber 813
# Current time local: Sun Jul 31 00:15:28 2005
# Current time GMT:   Sat Jul 30 21:15:28 2005
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.27
# testing : basic param
# expected: 42.5
# received: 42.5
ok 1
# Failed test 2 in t\apreq\request.t at line 26
# testing : basic upload
# expected: data upload
# received: 500 Unknown error
not ok 2
FAILED test 2
        Failed 1/2 tests, 50.00% okay
Failed Test       Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t\apreq\request.t                2    1  50.00%  2
Failed 1/1 test scripts, 0.00% okay. 1/2 subtests failed, 50.00% okay.
[  error] error running tests (please examine t\logs\error_log)

"Randy Kobes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, 12 Jul 2005, Nikolay Ananiev wrote:
>
> > The latest svn of apreq 1.33 fails to compile on win32
> > ActivePerl 5.8.7, VisualStudio .NET, Apache 1.33
> [ .. ]
> I'm not sure what's been changed with the most recent
> ActivePerl, but try the following patch:
> =========================================================
> Index: Makefile.PL
> ===================================================================
> --- Makefile.PL (revision 226567)
> +++ Makefile.PL (working copy)
> @@ -106,6 +106,7 @@
>       VERSION   => $myVERSION,
>       DIR       => [qw(c Request Cookie)],
>       PREREQ_PM => \%require,
> +    DEFINE    => '-D_INC_MALLOC -D_INC_SIGNAL',
>       clean     => {
>           FILES => "@{ clean_files() }",
>       },
> ==================================================================
>
> -- 
> best regards,
> randy kobes
>



Reply via email to