You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2004/12/06 02:18:38 UTC
libapreq-1: new 1.4 release?
why not put a new libapreq-1 version out? there were quite a few important
changes.
=item 1.33
Upgrade license to the Apache License Version 2.0. [davidw, joes]
=item 1.32
Fix mfd's Content-Type parser to deal with Opera 7.2's extra attributes.
For details see
http://marc.theaimsgroup.com/?l=apreq-dev&m=106606052700407&w=2
Bug first reported by Sven Geisler [joes].
=item 1.31 - ongoing
added a proper implementation of the ithreads support. At the same
time it should resolve the problem with perl 5.8.2 under threaded
applications, since it no longer relies on the implicit context and
passes aTHX around. [Stas]
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: libapreq-1: new 1.4 release?
Posted by David Wheeler <da...@kineticode.com>.
On Dec 5, 2004, at 6:38 PM, Joe Schaefer wrote:
>> Is there another David W? Because that wasn't me...
>
> Yup, David Welton. Did we confuse your apache ids?
Oh, I get it. No, I'm "theory". And I don't have commit access to
apreq, AFAIK.
Cheers,
David
Re: libapreq-1: new 1.4 release?
Posted by Joe Schaefer <jo...@sunstarsys.com>.
David Wheeler <da...@kineticode.com> writes:
> On Dec 5, 2004, at 5:18 PM, Stas Bekman wrote:
>
>> Upgrade license to the Apache License Version 2.0. [davidw, joes]
>
> Is there another David W? Because that wasn't me...
Yup, David Welton. Did we confuse your apache ids?
--
Joe Schaefer
Re: libapreq-1: new 1.4 release?
Posted by David Wheeler <da...@kineticode.com>.
On Dec 5, 2004, at 5:18 PM, Stas Bekman wrote:
> Upgrade license to the Apache License Version 2.0. [davidw, joes]
Is there another David W? Because that wasn't me...
Regards,
David
Re: libapreq-1: new 1.4 release?
Posted by Joe Schaefer <jo...@sunstarsys.com>.
Stas Bekman <st...@stason.org> writes:
> If it's not too much work I can do that. It looks like RELEASE should
> do the trick.
++Stas!
> but I want to see first that Patrick successfully installs on OSX with
> the dev snapshot.
>
> I'd also prefer to see that silly versioning approach forgotten and
> release the new version as 1.33 and from then on bump up the version
> only when a new release is made.
+1
--
Joe Schaefer
Re: libapreq-1: new 1.4 release?
Posted by Stas Bekman <st...@stason.org>.
David Wheeler wrote:
> On Dec 5, 2004, at 8:56 PM, David Wheeler wrote:
>
>> I do get quite a few warnings on Panther:
a few? I see only one, which is repeated:
> modules/perl/mod_perl.h:80,
> from Request.xs:57:
> /usr/local/lib/perl5/5.8.4/i386-freebsd/CORE/handy.h:259: warning:
> `strEQ' redefined
> ../c/apache_request.h:78: warning: this is the location of the previous
> definition
It's now fixed in svn. Do you need a snapshot, or can you get the svn
checkout?
svn co http://svn.apache.org/repos/asf/httpd/apreq/branches/1.x/ httpd-apreq-1
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: libapreq-1: new 1.4 release?
Posted by David Wheeler <da...@kineticode.com>.
On Dec 5, 2004, at 8:56 PM, David Wheeler wrote:
> I do get quite a few warnings on Panther:
I got similar warnings on FreeBSD:
brico% make
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
cp libapreq.pod blib/lib/libapreq.pod
cc -c
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/os/unix -I/usr/local/apache/include -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O
-DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE" apache_request.c
cc -c
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/os/unix -I/usr/local/apache/include -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O
-DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE" apache_cookie.c
cc -c
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/os/unix -I/usr/local/apache/include -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O
-DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE"
apache_multipart_buffer.c
rm -rf ../blib/arch/auto/libapreq/libapreq.a
/usr/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a apache_request.o
apache_cookie.o apache_multipart_buffer.o && :
../blib/arch/auto/libapreq/libapreq.a
chmod 755 ../blib/arch/auto/libapreq/libapreq.a
cp apache_multipart_buffer.h
../blib/arch/auto/libapreq/include/apache_multipart_buffer.h
cp apache_cookie.h ../blib/arch/auto/libapreq/include/apache_cookie.h
cp apache_request.h ../blib/arch/auto/libapreq/include/apache_request.h
cp Request.pm ../blib/lib/Apache/Request.pm
/usr/local/bin/perl5.8.4 /usr/local/lib/perl5/5.8.4/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.8.4/ExtUtils/typemap -typemap
/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/typemap
Request.xs > Request.xsc && mv Request.xsc Request.c
cc -c -I../c
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/os/unix -I/usr/local/apache/include -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O
-DVERSION=\"1.3\" -DXS_VERSION=\"1.3\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE" Request.c
In file included from
/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE/perl.h:1806,
from
/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/include/
modules/perl/mod_perl.h:80,
from Request.xs:57:
/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE/handy.h:259: warning:
`strEQ' redefined
../c/apache_request.h:78: warning: this is the location of the previous
definition
Running Mkbootstrap for Apache::Request ()
chmod 644 Request.bs
rm -f ../blib/arch/auto/Apache/Request/Request.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib Request.o
../blib/arch/auto/libapreq/libapreq.a -o
../blib/arch/auto/Apache/Request/Request.so
chmod 755 ../blib/arch/auto/Apache/Request/Request.so
cp Request.bs ../blib/arch/auto/Apache/Request/Request.bs
chmod 644 ../blib/arch/auto/Apache/Request/Request.bs
Manifying ../blib/man3/Apache::Request.3
cp Cookie.pm ../blib/lib/Apache/Cookie.pm
/usr/local/bin/perl5.8.4 /usr/local/lib/perl5/5.8.4/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.8.4/ExtUtils/typemap -typemap
/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/typemap
Cookie.xs > Cookie.xsc && mv Cookie.xsc Cookie.c
cc -c -I../c
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/
include/os/unix -I/usr/local/apache/include -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O
-DVERSION=\"1.3\" -DXS_VERSION=\"1.3\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE" Cookie.c
In file included from
/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE/perl.h:1806,
from
/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd/auto/Apache/include/
modules/perl/mod_perl.h:80,
from Cookie.xs:56:
/usr/local/lib/perl5/5.8.4/i386-freebsd/CORE/handy.h:259: warning:
`strEQ' redefined
../c/apache_request.h:78: warning: this is the location of the previous
definition
Running Mkbootstrap for Apache::Cookie ()
chmod 644 Cookie.bs
rm -f ../blib/arch/auto/Apache/Cookie/Cookie.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib Cookie.o
../blib/arch/auto/libapreq/libapreq.a -o
../blib/arch/auto/Apache/Cookie/Cookie.so
chmod 755 ../blib/arch/auto/Apache/Cookie/Cookie.so
cp Cookie.bs ../blib/arch/auto/Apache/Cookie/Cookie.bs
chmod 644 ../blib/arch/auto/Apache/Cookie/Cookie.bs
Manifying ../blib/man3/Apache::Cookie.3
Manifying blib/man3/Apache::libapreq.3
Manifying blib/man3/libapreq.3
But all tests passed on my two BSD boxes and on Linux, as well as Mac
OS X with my custom install of Apache/mod_perl. The only problem I had
was with Apple's installed Perl and Apache...
Regards,
David
Re: libapreq-1: new 1.4 release?
Posted by Stas Bekman <st...@stason.org>.
David Wheeler wrote:
>> please relevant bits, or at least the last's run :) and also the
>> output on the console. thanks.
>
>
> I thought the error log was deleted before each test.
if you run 'make test' or t/TEST -clean.
>> rm t/logs/error_log
>> t/TEST -v t/apreq/inherit
>>
>> doesn't look like anything is logged in error_log, the console should
>> be:
>>
>> # testing : inheritance
>> # expected: method => GET
>> # received: method => GET
>> ok 1
>
>
> This is what I get:
>
> t/apreq/inherit....1..1
> # Running under perl version 5.008005 for darwin
> # Current time local: Mon Dec 6 10:46:04 2004
> # Current time GMT: Mon Dec 6 18:46:04 2004
> # Using Test.pm version 1.25
> # Using Apache/Test.pm version 1.16
> # testing : inheritance
> # expected:
> # received: method => GET
> not ok 1
(the args order was wrong now fixed, please update svn)
that's strange, looks like printf is not working, please try:
Index: t/response/TestApReq/inherit.pm
===================================================================
--- t/response/TestApReq/inherit.pm (revision 109983)
+++ t/response/TestApReq/inherit.pm (working copy)
@@ -7,7 +7,7 @@
$r->send_http_header('text/plain');
my $apr = Apache::Request->new($r);
- printf "method => %s\n", $apr->method;
+ print "method => " . $apr->method . "\n";
return OK;
}
and if that doesn't work too (I recall people reporting print() function
not working under MacOSX under modperl), please try:
Index: t/response/TestApReq/inherit.pm
===================================================================
--- t/response/TestApReq/inherit.pm (revision 109983)
+++ t/response/TestApReq/inherit.pm (working copy)
@@ -7,7 +7,7 @@
$r->send_http_header('text/plain');
my $apr = Apache::Request->new($r);
- printf "method => %s\n", $apr->method;
+ $r->printf("method => %s\n", $apr->method);
return OK;
}
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: libapreq-1: new 1.4 release?
Posted by David Wheeler <da...@kineticode.com>.
On Dec 6, 2004, at 10:30 AM, Stas Bekman wrote:
>> Did you commit it to the branch?
>
> I did. But it wasn't enough. Now should be really fixed.
Much better, thanks!
server localhost:8529 started
t/apreq/big_input....ok
t/apreq/cookie.......skipped
all skipped: libwww-perl is not installed
t/apreq/inherit......# Failed test 1 in t/apreq/inherit.t at line 11
t/apreq/inherit......FAILED test 1
Failed 1/1 tests, 0.00% okay
t/apreq/request......skipped
all skipped: libwww-perl is not installed
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/apreq/inherit.t 1 1 100.00% 1
2 tests skipped.
Failed 1/4 test scripts, 75.00% okay. 1/22 subtests failed, 95.45% okay.
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1
> please relevant bits, or at least the last's run :) and also the
> output on the console. thanks.
I thought the error log was deleted before each test.
> rm t/logs/error_log
> t/TEST -v t/apreq/inherit
>
> doesn't look like anything is logged in error_log, the console should
> be:
>
> # testing : inheritance
> # expected: method => GET
> # received: method => GET
> ok 1
This is what I get:
t/apreq/inherit....1..1
# Running under perl version 5.008005 for darwin
# Current time local: Mon Dec 6 10:46:04 2004
# Current time GMT: Mon Dec 6 18:46:04 2004
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.16
# testing : inheritance
# expected:
# received: method => GET
not ok 1
> Bizarre, still had problems with 3rd chunk, but manually applied it.
Thanks.
> Oops, sorry :) But I can't see URI required anywhere. I guess LWP
> requires it.
Most likely, yeah.
Cheers,
David
Re: libapreq-1: new 1.4 release?
Posted by Stas Bekman <st...@stason.org>.
David Wheeler wrote:
>>> 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
> Did you commit it to the branch?
I did. But it wasn't enough. Now should be really fixed.
>>> 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
please relevant bits, or at least the last's run :) and also the output on
the console. thanks.
rm t/logs/error_log
t/TEST -v t/apreq/inherit
doesn't look like anything is logged in error_log, the console should be:
# testing : inheritance
# expected: method => GET
# received: method => GET
ok 1
>>> 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.
Bizarre, still had problems with 3rd chunk, but manually applied it.
>>> 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. :-)
Oops, sorry :) But I can't see URI required anywhere. I guess LWP requires it.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: libapreq-1: new 1.4 release?
Posted by David Wheeler <da...@kineticode.com>.
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
Re: libapreq-1: new 1.4 release?
Posted by Stas Bekman <st...@stason.org>.
David Wheeler wrote:
> On Dec 5, 2004, at 7:14 PM, Stas Bekman wrote:
>
>> http://apache.org/~stas/libapreq-1.3.tar.gz
>
>
> I do get quite a few warnings on Panther:
> /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.
> 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
> 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
> t/apreq/request......ok 1/2Can't locate object method "new" via package
> "HTTP::Request" at
needed LWP requirement, fixed in svn
> 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.
> 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'];
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: libapreq-1: new 1.4 release?
Posted by David Wheeler <da...@kineticode.com>.
On Dec 5, 2004, at 7:14 PM, Stas Bekman wrote:
> http://apache.org/~stas/libapreq-1.3.tar.gz
I do get quite a few warnings on Panther:
geertz% make
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
cp libapreq.pod blib/lib/libapreq.pod
cc -c
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/os/unix -I/usr/include/httpd -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Os -DVERSION=\"\"
-DXS_VERSION=\"\" "-I/usr/local/lib/perl5/5.8.5/darwin-2level/CORE"
apache_request.c
In file included from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
include/ap_config.h:1169,
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/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
cc -c
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/os/unix -I/usr/include/httpd -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Os -DVERSION=\"\"
-DXS_VERSION=\"\" "-I/usr/local/lib/perl5/5.8.5/darwin-2level/CORE"
apache_cookie.c
In file included from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
include/ap_config.h:1169,
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_cookie.h:20,
from apache_cookie.c:16:
/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_cookie.h:20,
from apache_cookie.c:16:
/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
cc -c
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/os/unix -I/usr/include/httpd -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Os -DVERSION=\"\"
-DXS_VERSION=\"\" "-I/usr/local/lib/perl5/5.8.5/darwin-2level/CORE"
apache_multipart_buffer.c
In file included from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
include/ap_config.h:1169,
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_multipart_buffer.h:19,
from apache_multipart_buffer.c:16:
/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_multipart_buffer.h:19,
from apache_multipart_buffer.c:16:
/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
rm -rf ../blib/arch/auto/libapreq/libapreq.a
/usr/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a apache_request.o
apache_cookie.o apache_multipart_buffer.o && /usr/bin/ar ts
../blib/arch/auto/libapreq/libapreq.a
apache_request.o
apache_cookie.o
apache_multipart_buffer.o
chmod 755 ../blib/arch/auto/libapreq/libapreq.a
cp apache_multipart_buffer.h
../blib/arch/auto/libapreq/include/apache_multipart_buffer.h
cp apache_cookie.h ../blib/arch/auto/libapreq/include/apache_cookie.h
cp apache_request.h ../blib/arch/auto/libapreq/include/apache_request.h
cp Request.pm ../blib/lib/Apache/Request.pm
/usr/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/typemap
Request.xs > Request.xsc && mv Request.xsc Request.c
cc -c -I../c
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/os/unix -I/usr/include/httpd -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Os -DVERSION=\"1.3\"
-DXS_VERSION=\"1.3\" "-I/usr/local/lib/perl5/5.8.5/darwin-2level/CORE"
Request.c
In file included from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
include/ap_config.h:1169,
from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
include/httpd.h:29,
from ../c/apache_request.h:20,
from Request.xs:17:
/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 ../c/apache_request.h:20,
from Request.xs:17:
/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
In file included from
/usr/local/lib/perl5/5.8.5/darwin-2level/CORE/perl.h:1806,
from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
modules/perl/mod_perl.h:80,
from Request.xs:57:
/usr/local/lib/perl5/5.8.5/darwin-2level/CORE/handy.h:259:1: warning:
"strEQ" redefined
In file included from Request.xs:17:
../c/apache_request.h:78:1: warning: this is the location of the
previous definition
Running Mkbootstrap for Apache::Request ()
chmod 644 Request.bs
rm -f ../blib/arch/auto/Apache/Request/Request.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib Request.o
../blib/arch/auto/libapreq/libapreq.a -o
../blib/arch/auto/Apache/Request/Request.bundle
chmod 755 ../blib/arch/auto/Apache/Request/Request.bundle
cp Request.bs ../blib/arch/auto/Apache/Request/Request.bs
chmod 644 ../blib/arch/auto/Apache/Request/Request.bs
Manifying ../blib/man3/Apache::Request.3
cp Cookie.pm ../blib/lib/Apache/Cookie.pm
/usr/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/typemap
Cookie.xs > Cookie.xsc && mv Cookie.xsc Cookie.c
cc -c -I../c
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/modules/perl
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/include
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/regex
-I/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/
include/os/unix -I/usr/include/httpd -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Os -DVERSION=\"1.3\"
-DXS_VERSION=\"1.3\" "-I/usr/local/lib/perl5/5.8.5/darwin-2level/CORE"
Cookie.c
In file included from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
include/ap_config.h:1169,
from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
include/httpd.h:29,
from ../c/apache_request.h:20,
from ../c/apache_cookie.h:20,
from Cookie.xs:17:
/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 ../c/apache_request.h:20,
from ../c/apache_cookie.h:20,
from Cookie.xs:17:
/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
In file included from
/usr/local/lib/perl5/5.8.5/darwin-2level/CORE/perl.h:1806,
from
/usr/local/lib/perl5/site_perl/5.8.5/darwin-2level/auto/Apache/include/
modules/perl/mod_perl.h:80,
from Cookie.xs:56:
/usr/local/lib/perl5/5.8.5/darwin-2level/CORE/handy.h:259:1: warning:
"strEQ" redefined
In file included from ../c/apache_cookie.h:20,
from Cookie.xs:17:
../c/apache_request.h:78:1: warning: this is the location of the
previous definition
Running Mkbootstrap for Apache::Cookie ()
chmod 644 Cookie.bs
rm -f ../blib/arch/auto/Apache/Cookie/Cookie.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib Cookie.o
../blib/arch/auto/libapreq/libapreq.a -o
../blib/arch/auto/Apache/Cookie/Cookie.bundle
chmod 755 ../blib/arch/auto/Apache/Cookie/Cookie.bundle
cp Cookie.bs ../blib/arch/auto/Apache/Cookie/Cookie.bs
chmod 644 ../blib/arch/auto/Apache/Cookie/Cookie.bs
Manifying ../blib/man3/Apache::Cookie.3
Manifying blib/man3/Apache::libapreq.3
Manifying blib/man3/libapreq.3
I got different warnings when using Apple's installed Perl and Apache:
geertz% make
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
cp libapreq.pod blib/lib/libapreq.pod
cc -c
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -g -pipe
-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
apache_request.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
cc -c
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -g -pipe
-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
apache_cookie.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
cc -c
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -g -pipe
-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -Os -DVERSION=\"\" -DXS_VERSION=\"\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
apache_multipart_buffer.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
rm -rf ../blib/arch/auto/libapreq/libapreq.a
/usr/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a apache_request.o
apache_cookie.o apache_multipart_buffer.o && /usr/bin/ar ts
../blib/arch/auto/libapreq/libapreq.a
apache_request.o
apache_cookie.o
apache_multipart_buffer.o
chmod 755 ../blib/arch/auto/libapreq/libapreq.a
cp apache_cookie.h ../blib/arch/auto/libapreq/include/apache_cookie.h
cp apache_request.h ../blib/arch/auto/libapreq/include/apache_request.h
cp apache_multipart_buffer.h
../blib/arch/auto/libapreq/include/apache_multipart_buffer.h
cp Request.pm ../blib/lib/Apache/Request.pm
/usr/bin/perl5.8.1 /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap
/System/Library/Perl/5.8.1/ExtUtils/typemap -typemap
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
typemap Request.xs > Request.xsc && mv Request.xsc Request.c
cc -c -I../c
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -g -pipe
-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -Os -DVERSION=\"1.3\" -DXS_VERSION=\"1.3\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
Request.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
In file included from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:1794,
from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include/modules/perl/mod_perl.h:83,
from Request.xs:57:
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/handy.h:259:
1: warning: "strEQ" redefined
In file included from Request.xs:17:
../c/apache_request.h:78:1: warning: this is the location of the
previous definition
Running Mkbootstrap for Apache::Request ()
chmod 644 Request.bs
rm -f ../blib/arch/auto/Apache/Request/Request.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib Request.o
../blib/arch/auto/libapreq/libapreq.a -o
../blib/arch/auto/Apache/Request/Request.bundle
chmod 755 ../blib/arch/auto/Apache/Request/Request.bundle
cp Request.bs ../blib/arch/auto/Apache/Request/Request.bs
chmod 644 ../blib/arch/auto/Apache/Request/Request.bs
Manifying ../blib/man3/Apache::Request.3pm
cp Cookie.pm ../blib/lib/Apache/Cookie.pm
/usr/bin/perl5.8.1 /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap
/System/Library/Perl/5.8.1/ExtUtils/typemap -typemap
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
typemap Cookie.xs > Cookie.xsc && mv Cookie.xsc Cookie.c
cc -c -I../c
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include
-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -g -pipe
-pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -Os -DVERSION=\"1.3\" -DXS_VERSION=\"1.3\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
Cookie.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
In file included from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/perl.h:1794,
from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Apache/
include/modules/perl/mod_perl.h:83,
from Cookie.xs:56:
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/handy.h:259:
1: warning: "strEQ" redefined
In file included from ../c/apache_cookie.h:20,
from Cookie.xs:17:
../c/apache_request.h:78:1: warning: this is the location of the
previous definition
Running Mkbootstrap for Apache::Cookie ()
chmod 644 Cookie.bs
rm -f ../blib/arch/auto/Apache/Cookie/Cookie.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined
dynamic_lookup -L/usr/local/lib Cookie.o
../blib/arch/auto/libapreq/libapreq.a -o
../blib/arch/auto/Apache/Cookie/Cookie.bundle
chmod 755 ../blib/arch/auto/Apache/Cookie/Cookie.bundle
cp Cookie.bs ../blib/arch/auto/Apache/Cookie/Cookie.bs
chmod 644 ../blib/arch/auto/Apache/Cookie/Cookie.bs
Manifying ../blib/man3/Apache::Cookie.3pm
Manifying blib/man3/Apache::libapreq.3pm
Manifying blib/man3/libapreq.3pm
I also got test failures with Apple's Perl and Apache:
geertz% make test
/usr/bin/perl5.8.1 -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl5.8.1
/Users/david/libapreq-1.3/t/TEST -clean
APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_HTTPD=
APACHE_TEST_APXS= APACHE_TEST_GROUP= \
/usr/bin/perl5.8.1 -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl5.8.1
/Users/david/libapreq-1.3/t/TEST -bugreport -verbose=0
/usr/sbin/httpd -d /Users/david/libapreq-1.3/t -f
/Users/david/libapreq-1.3/t/conf/httpd.conf -D APACHE1 -D
PERL_USEITHREADS
using Apache/1.3.33
waiting 60 seconds for server to start: .
waiting 60 seconds for server to start: ok (waited 0 secs)
server localhost:8529 started
t/apreq/big_input....ok
t/apreq/cookie.......Can't locate HTTP/Cookies.pm in @INC (@INC
contains: /Users/david/libapreq-1.3/blib/lib
/Users/david/libapreq-1.3/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.
BEGIN failed--compilation aborted at t/apreq/cookie.t line 8.
t/apreq/cookie.......dubious
Test returned status 2 (wstat 512, 0x200)
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
t/apreq/request......ok 1/2Can't locate object method "new" via package
"HTTP::Request" at
/Library/Perl/5.8.1/darwin-thread-multi-2level/Apache/TestRequest.pm
line 369.
t/apreq/request......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/apreq/cookie.t 2 512 ?? ?? % ??
t/apreq/inherit.t 1 1 100.00% 1
t/apreq/request.t 255 65280 2 2 100.00% 2
Failed 3/4 test scripts, 25.00% okay. 2/24 subtests failed, 91.67% okay.
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)
make: *** [run_tests] Error 1
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?
--- INSTALL.MacOSX.old Fri Nov 26 15:02:04 2004
+++ INSTALL.MacOSX Sun Dec 5 20:50:41 2004
@@ -1,11 +1,11 @@
Mac OS X 10.2 and Later
=======================
-On Mac OS X 10.2.x Jaguar and laterthe normal Perl build of libapreq
should
+On Mac OS X 10.2.x Jaguar and later, the normal Perl build of libapreq
should
work. Note that you'll need Apache::TestMM, libwwwperl, and URI
installed in
order to run "make test". It's also a good idea to use the "-apxs"
argument to
Makefile.PL so that "make test" knows where to find and start your
Apache
-server. This is especially true if you've compiled and isntalled your
own
+server. This is especially true if you've compiled and installed your
own
Apache.
% perl Makefile.PL -apxs /usr/sbin/apxs
@@ -21,10 +21,10 @@
libapreq cannot be used with Apple's Apache install; a new Apache
server must
be built from source, instead.
-To apply the patch to the Apache sources (assuming the apache-1.3.XX
source is
+To apply the patch to the Apache sources (assuming the apache-1.3.x
source is
along side of the libapreq-1.x source):
-% cd apache-1.3.xx
+% cd apache-1.3.x
% patch -p0 < ../libapreq-1.x/patches/apache-1.3+apreq.patch
% cp ../libapreq-1.x/c/*.[ch] src/lib/apreq
@@ -50,13 +50,6 @@
APACI_ARGS; this seems to be required to compile Apache with mod_perl
on Mac OS X. If you compile Apache by hand, you'll need to pass the
"--without-execstrip" option to its ./configure script.
-
-If you want to use Apache::Request and Apache::Cookie, you'll also
need to
-remove the -lapreq linking flags within Request/Makefile.PL and
-Cookie/Makefile.PL, before doing the perl build of libapreq. The
following
-commands should do the trick:
-
-% perl -pi.bak -e 's/-lapreq//' Request/Makefile.PL Cookie/Makefile.PL
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.
Regards,
David
Re: libapreq-1: new 1.4 release?
Posted by Stas Bekman <st...@stason.org>.
David Wheeler wrote:
> On Dec 5, 2004, at 6:43 PM, Stas Bekman wrote:
>
>> but I want to see first that Patrick successfully installs on OSX with
>> the dev snapshot.
>
>
> Where's the snapshot? I'll try it on my boxen tomorrow, too (RedHat, OS
> X, & FreeBSD)
http://apache.org/~stas/libapreq-1.3.tar.gz
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: libapreq-1: new 1.4 release?
Posted by David Wheeler <da...@kineticode.com>.
On Dec 5, 2004, at 6:43 PM, Stas Bekman wrote:
> but I want to see first that Patrick successfully installs on OSX with
> the dev snapshot.
Where's the snapshot? I'll try it on my boxen tomorrow, too (RedHat, OS
X, & FreeBSD)
Cheers,
David
Re: libapreq-1: new 1.4 release?
Posted by Stas Bekman <st...@stason.org>.
Joe Schaefer wrote:
> Stas Bekman <st...@stason.org> writes:
>
>
>>why not put a new libapreq-1 version out? there were quite a few
>>important changes.
>
>
> +1. Though I'm not volunteering to be the RM this time, I will
> try help out the person that does.
If it's not too much work I can do that. It looks like RELEASE should do
the trick.
but I want to see first that Patrick successfully installs on OSX with the
dev snapshot.
I'd also prefer to see that silly versioning approach forgotten and
release the new version as 1.33 and from then on bump up the version only
when a new release is made.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: libapreq-1: new 1.4 release?
Posted by Joe Schaefer <jo...@sunstarsys.com>.
Stas Bekman <st...@stason.org> writes:
> why not put a new libapreq-1 version out? there were quite a few
> important changes.
+1. Though I'm not volunteering to be the RM this time, I will
try help out the person that does.
--
Joe Schaefer