perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mer...@stonehenge.com (Randal L. Schwartz)
Subject Re: perl5.10.1 and mod_perl 2.0.4 break on "my_perl"
Date Sun, 08 Aug 2010 04:39:43 GMT
>>>>> "Jie" == Jie Gao <J.Gao@isu.usyd.edu.au> writes:

Jie> http://svn.apache.org/snapshots/modperl-2.0/

Jie> The one I used is 2.0_20100807092020.

Did that.  Got this, on Snow Leopard:

Locohost.local:..apshot/modperl-2.0 % make all
cd "src/modules/perl" && make
/usr/bin/gcc-4.2
-I/opt/perl/mod_perl2_snapshot/modperl-2.0/src/modules/perl
-I/opt/perl/mod_perl2_snapshot/modperl-2.0/xs -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include
-I/opt/local/apache2/include -pipe -O2 -arch x86_64 -fno-common
-DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing
-fstack-protector -I/opt/local/include
-I/opt/local/lib/perl5/5.10.1/darwin-multi-2level/CORE -DMOD_PERL
-DMP_COMPAT_1X -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-O3  \
     -c mod_perl.c && mv mod_perl.o mod_perl.lo
In file included from
/opt/local/lib/perl5/5.10.1/darwin-multi-2level/CORE/perl.h:2424,
                 from modperl_perl_includes.h:65,
                 from modperl_common_includes.h:24,
                 from mod_perl.h:21,
                 from mod_perl.c:17:
/opt/local/lib/perl5/5.10.1/darwin-multi-2level/CORE/handy.h:108:1:
warning: "bool" redefined
In file included from /usr/include/mach-o/dyld.h:29,
                 from /opt/local/include/apr-1/apr_portable.h:166,
                 from /opt/local/apache2/include/http_protocol.h:31,
                 from modperl_apache_includes.h:30,
                 from mod_perl.h:20,
                 from mod_perl.c:17:
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdbool.h:36:1: warning:
this is the location of the previous definition
mod_perl.c: In function 'modperl_shutdown':
mod_perl.c:62: error: 'my_perl' undeclared (first use in this function)
mod_perl.c:62: error: (Each undeclared identifier is reported only once
mod_perl.c:62: error: for each function it appears in.)
mod_perl.c: In function 'modperl_hook_post_config_last':
mod_perl.c:718: error: 'my_perl' undeclared (first use in this function)
mod_perl.c: In function 'modperl_child_exit':
mod_perl.c:814: error: 'my_perl' undeclared (first use in this function)
mod_perl.c: In function 'modperl_response_handler':
mod_perl.c:1036: error: 'my_perl' undeclared (first use in this
function)
mod_perl.c: In function 'modperl_response_handler_cgi':
mod_perl.c:1079: error: 'my_perl' undeclared (first use in this
function)
make[1]: *** [mod_perl.lo] Error 1
make: *** [modperl_lib] Error 2
Locohost.local:..apshot/modperl-2.0 % 


Now what?
-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message