You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by George Hartlieb <gh...@mail.arc.nasa.gov> on 2002/08/07 23:38:13 UTC

mod_perl 2.0 MacOS X build problems

Has anyone been able to build mod_perl on the following platfrom:

MacOS X Server 10.1.4 with 10.1.5 workstation updates
Apache 2.0.36 or 39 or 40-dev
mod_perl 2.0 1.99_04 or Current

Doing a simple apache build work fine.

Doing make of mod_perl 2.0 completes with the warnings below.

Doing make test, httpd Segmentation faults.

t/logs/error_log has only 1 line
       END in modperl_extra.pl, pid=21792

Dump of core file.

#0  0x006ddb04 in ?? ()
#1  0x006ddae4 in ?? ()
#2  0x006d0044 in ?? ()
#3  0x00681628 in ?? ()
#4  0x0067dd34 in ?? ()
#5  0x0067db70 in ?? ()
#6  0x0078297c in ?? ()
#7  0x0078317c in ?? ()
#8  0x00783a0c in ?? ()
#9  0x000331a8 in ap_run_open_logs (pconf=0x0, plog=0x0, ptemp=0x0, 
s=0xb) at config.c:186
#10 0x00022c8c in main (argc=6, argv=0xbffff978) at main.c:628
#11 0x00001fa8 in _start ()
#12 0x00001dd8 in start ()

Warnings from make

In file included from Bucket.xs:26:
modperl-2.0/xs/APR/Bucket/APR__Bucket.h: In function `mpxs_APR__Bucket_new':
modperl-2.0/xs/APR/Bucket/APR__Bucket.h:7: warning: passing arg 2 of 
`Perl_sv_2pv_flags' from incompatible pointer type

Date.c: In function `XS_APR__Date_parse_rfc':
Date.c:64: warning: passing arg 1 of `apr_date_parse_rfc' discards 
qualifiers from pointer target type

In file included from Filter.xs:26:
modperl-2.0/xs/Apache/Filter/Apache__Filter.h: In function 
`mpxs_Apache__Filter_print':
modperl-2.0/xs/Apache/Filter/Apache__Filter.h:26: warning: passing 
arg 2 of `Perl_sv_2pv_flags' from incompatible pointer type
modperl-2.0/xs/Apache/Filter/Apache__Filter.h:26: warning: passing 
arg 3 of `modperl_output_filter_write' from incompatible pointer type

In file included from RequestIO.xs:26:
modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h: In function 
`mpxs_ap_rvputs':
modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h:42: warning: 
passing arg 2 of `Perl_sv_2pv_flags' from incompatible pointer type
modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h:42: warning: 
passing arg 3 of `modperl_wbucket_write' from incompatible pointer 
type
modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h: In function 
`mpxs_Apache__RequestRec_print':
modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h:69: warning: 
passing arg 2 of `Perl_sv_2pv_flags' from incompatible pointer type
modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h:69: warning: 
passing arg 3 of `modperl_wbucket_write' from incompatible pointer 
type






-- 
George