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 04:56:44 GMT
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


Mime
View raw message