Re: Trunk: APR.so won't load

2015-04-09 Thread Steve Hay
Actually, I don't think there is anything stopping -DAP_DEBUG from coming through from the httpd config. The change that was made (r357052) just stopped mod_perl from adding that itself when MP_MAINTAINER is specified. But maybe we do need to filter out -DAP_DEBUG? Or else stop using ap_strchr() a

Re: Trunk: APR.so won't load

2015-04-09 Thread Steve Hay
Can you see where the -DAP_DEBUG comes from, e.g. by grepping /usr/local/httpd-2.4.12/bin/ap* for AP_DEBUG? I think that symbol is not supposed to find its way into the mod_perl build options, but it's obviously getting picked up somewhere and slipping through... On 9 April 2015 at 15:05, Jie Ga

Re: Trunk: APR.so won't load

2015-04-09 Thread Jie Gao
Hi Steve httpd is configured with "--enable-maintainer-mode". For mod_perl: /usr/local/bin/perl Makefile.PL MP_APXS=/usr/local/httpd-2.4.12/bin/apxs MP_APR_CONFIG=/usr/local/httpd-2.4.12/bin/apr-1-config and I found the following line in the resultant Makefile: CCFLAGS = -D_REENTRANT -

Re: Trunk: APR.so won't load

2015-04-09 Thread Steve Hay
Sorry for the slow reply. I cannot reproduce the problem here on Windows. Your example module loads up fine with all the "use APR" lines uncommented. The build system (and the means by which APR::* should be loadable without mod_perl.so being loaded) is different on Windows, but I did notice this

Re: Issue while compiling mod_perl-2.0.8 with Apache 2.4.3

2015-04-09 Thread Steve Hay
On 9 April 2015 at 10:35, Sailaja Gadireddy wrote: > Hello Team, > > We are facing issue while compiling mod_perl to Aapche. > > perl Makefile.PL MP_APXS=/Apachepath/apxs > > It gave the below erorr. > > bash-3.2# perl Makefile.PL MP_APXS=/opt/web/apache_test/bin/apxs > MP_APR_CONFIG=/opt/app/so

Issue while compiling mod_perl-2.0.8 with Apache 2.4.3

2015-04-09 Thread Sailaja Gadireddy
Hello Team, We are facing issue while compiling mod_perl to Aapche. perl Makefile.PL MP_APXS=/Apachepath/apxs It gave the below erorr. bash-3.2# perl Makefile.PL MP_APXS=/opt/web/apache_test/bin/apxs MP_APR_CONFIG=/opt/app/software/httpd-2.4.3/srclib */apr/apr-1-config -DuseithreadsRead