httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <da...@kineticode.com>
Subject Re: libapreq-1: new 1.4 release?
Date Mon, 06 Dec 2004 17:57:32 GMT
On Dec 6, 2004, at 7:08 AM, Stas Bekman wrote:

>> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/ 
>> include/include/hsregex.h:22:1: warning: "ap_private_extern"  
>> redefined
>> In file included from   
>> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/ 
>> include/include/httpd.h:29,
>>                  from apache_request.h:20,
>>                  from apache_request.c:18:
>> /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/ 
>> include/include/ap_config.h:1065:1: warning: this is the location of  
>> the previous definition
>
> Those are apache-1.3 problems. Feel free to report those to the  
> httpd-dev list. I think there are no more warnings now that strEQ   
> warns are fixed.

Yeah, I don't see that one now.

I'll report the apache-1.3 but in the Apache Bugzilla, I think.

>> I also got test failures with Apple's Perl and Apache:
>> geertz% make test
>
>> t/apreq/cookie.......Can't locate HTTP/Cookies.pm in @INC (@INC
>
> needed LWP requirement, fixed in svn

I'm still getting the error:
t/apreq/cookie.......Can't locate HTTP/Cookies.pm in @INC (@INC  
contains: /Users/david/dev/perl/httpd-apreq-1/blib/lib  
/Users/david/dev/perl/httpd-apreq-1/blib/arch lib Apache-Test/lib  
/usr/local/bricolage/lib  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level  
/System/Library/Perl/5.8.1  
/Library/Perl/5.8.1/darwin-thread-multi-2level  
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1  
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1  
/Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level  
/Network/Library/Perl/5.8.1 /Network/Library/Perl .  
/System/Library/Perl/5.8.1/darwin-thread-multi-2level  
/System/Library/Perl/5.8.1  
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1  
/Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level  
/Network/Library/Perl/5.8.1 /Network/Library/Perl .) at  
t/apreq/cookie.t line 8.

Did you commit it to the branch?

>> t/apreq/inherit......NOK 1# Failed test 1 in t/apreq/inherit.t at  
>> line  11
>> t/apreq/inherit......FAILED test 1
>>         Failed 1/1 tests, 0.00% okay
>
> please run this test:
>
> % t/TEST -v t/apreq/inherit
>
> and post the relevant bits from error_log

[Mon Dec  6 09:52:19 2004] [debug] mod_rendezvous_apple.c(1383):  
mod_rendezvous_apple: Modul
e init count=1 pid=7765.
[Mon Dec  6 09:52:19 2004] [debug] mod_rendezvous_apple.c(1383):  
mod_rendezvous_apple: Modul
e init count=2 pid=7766.
[Mon Dec  6 09:52:19 2004] [notice] Apache/1.3.33 (Darwin)  
mod_perl/1.26 configured -- resum
ing normal operations
[Mon Dec  6 09:52:19 2004] [info] Server built: Nov 29 2004 14:12:57
[Mon Dec  6 09:52:19 2004] [notice] Accept mutex: flock (Default: flock)
[Mon Dec  6 09:52:27 2004] [info] removed PID file  
/Users/david/dev/perl/httpd-apreq-1/t/log
s/httpd.pid (pid=7766)
[Mon Dec  6 09:52:27 2004] [notice] caught SIGTERM, shutting down
[Mon Dec  6 09:54:25 2004] [debug] mod_rendezvous_apple.c(1383):  
mod_rendezvous_apple: Modul
e init count=1 pid=7818.
[Mon Dec  6 09:54:25 2004] [debug] mod_rendezvous_apple.c(1383):  
mod_rendezvous_apple: Modul
e init count=2 pid=7819.
[Mon Dec  6 09:54:25 2004] [notice] Apache/1.3.33 (Darwin)  
mod_perl/1.26 configured -- resum
ing normal operations
[Mon Dec  6 09:54:25 2004] [info] Server built: Nov 29 2004 14:12:57
[Mon Dec  6 09:54:25 2004] [notice] Accept mutex: flock (Default: flock)
[Mon Dec  6 09:54:28 2004] [info] removed PID file  
/Users/david/dev/perl/httpd-apreq-1/t/log
s/httpd.pid (pid=7819)
[Mon Dec  6 09:54:28 2004] [notice] caught SIGTERM, shutting down

>> t/apreq/request......ok 1/2Can't locate object method "new" via  
>> package  "HTTP::Request" at
>
> needed LWP requirement, fixed in svn

Fix confirmed, thanks.

>> Also, here's a patch that fixes some typos in INSTALL.MacOSX, and   
>> removes the section on changing the contents of Request/Makefile.PL  
>> and  Cookie/Makefile.PL--I don't believe those changes are necessary   
>> anymore, since "-lapreq" isn't in those files anymore. But this be   
>> related to the test failures with Apple's Apache and Perl?
>
> I think not. Thanks for the patch David, but could you send it as an  
> attachment, it fails to apply.

Attached.

>>  And finally, the normal Perl build of libapreq should work. Note  
>> that  you'll
>>  need libwwwperl and URI installed in order to run make test.
>
> Yup. Which tests require URI? I've added only LWP requirement. Please  
> send a patch, like:
>
>   plan tests => 10, need ['URI'];

Heh, sorry, that was actually part of the patch, not content from me.  
:-)

Regards,

David


Mime
View raw message