You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Fred Moyer <fr...@redhotpenguin.com> on 2014/02/16 06:05:30 UTC

httpd24threading branch build and test results

OS X, perl-5.16.2, httpd24threading branch. httpd 2.2.6 builds but
fails tests. 2.4.7 doesn't build, identifies the dynamic mpm when
apache was built with prefork.

httpd 2.2.6:

make test:

waiting 120 seconds for server to start: 00:00httpd: Syntax error on
line 13 of /Users/phred/dev/modperl/httpd24threading/t/conf/httpd.conf:
Cannot load /Users/phred/dev/modperl/httpd24threading/src/modules/perl/mod_perl.so
into server: dlopen(/Users/phred/dev/modperl/httpd24threading/src/modules/perl/mod_perl.so,
10): Symbol not found: _modperl_handler_name\n  Referenced from:
/Users/phred/dev/modperl/httpd24threading/src/modules/perl/mod_perl.so\n
 Expected in: dynamic lookup\n

httpd 2.4.7:

phred@harpua ~/dev/modperl/httpd24threading $ perl Makefile.PL
MP_APXS=/Users/phred/dev/httpd_24/bin/apxs
Reading Makefile.PL args from @ARGV
   MP_APXS = /Users/phred/dev/httpd_24/bin/apxs
no conflicting prior mod_perl version found - good.
Configuring Apache/2.4.7 mod_perl/2.0.9dev Perl/v5.16.2
MP_APXS unspecified, using /usr/sbin/apxs

Using Perl 5.016002 w/o ithreads and 'dynamic' mpm httpd.
Failed requirements:
  - Perl built with ithreads (build perl with -Duseithreads)

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


Re: httpd24threading branch build and test results

Posted by Andy Colson <an...@squeakycode.net>.
On 02/15/2014 11:24 PM, Fred Moyer wrote:
> Sorry, error in the 2.4 results. APXS is identified correctly, but we
> need to figure out how to determine if the httpd install is using
> prefork, currently it's defaulting to 'dynamic'
>
> perl Makefile.PL  MP_APXS=/Users/phred/dev/httpd/bin/apxs
> Reading Makefile.PL args from @ARGV
>     MP_APXS = /Users/phred/dev/httpd_24/bin/apxs
> no conflicting prior mod_perl version found - good.
> Configuring Apache/2.4.7 mod_perl/2.0.9dev Perl/v5.16.2
> MP_APXS unspecified, using /Users/phred/dev/httpd_24/bin/apxs
>
> Using Perl 5.016002 w/o ithreads and 'dynamic' mpm httpd.
> Failed requirements:
>    - Perl built with ithreads (build perl with -Duseithreads)
>
> On Sat, Feb 15, 2014 at 9:05 PM, Fred Moyer <fr...@redhotpenguin.com> wrote:


apachectl -V

seemed to check the httpd.conf and report the right mpm:

Server MPM:     worker

I switched my config from event to worker and it correctly reported each time.

-Andy


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


Re: httpd24threading branch build and test results

Posted by Fred Moyer <fr...@redhotpenguin.com>.
Sorry, error in the 2.4 results. APXS is identified correctly, but we
need to figure out how to determine if the httpd install is using
prefork, currently it's defaulting to 'dynamic'

perl Makefile.PL  MP_APXS=/Users/phred/dev/httpd/bin/apxs
Reading Makefile.PL args from @ARGV
   MP_APXS = /Users/phred/dev/httpd_24/bin/apxs
no conflicting prior mod_perl version found - good.
Configuring Apache/2.4.7 mod_perl/2.0.9dev Perl/v5.16.2
MP_APXS unspecified, using /Users/phred/dev/httpd_24/bin/apxs

Using Perl 5.016002 w/o ithreads and 'dynamic' mpm httpd.
Failed requirements:
  - Perl built with ithreads (build perl with -Duseithreads)

On Sat, Feb 15, 2014 at 9:05 PM, Fred Moyer <fr...@redhotpenguin.com> wrote:
> OS X, perl-5.16.2, httpd24threading branch. httpd 2.2.6 builds but
> fails tests. 2.4.7 doesn't build, identifies the dynamic mpm when
> apache was built with prefork.
>
> httpd 2.2.6:
>
> make test:
>
> waiting 120 seconds for server to start: 00:00httpd: Syntax error on
> line 13 of /Users/phred/dev/modperl/httpd24threading/t/conf/httpd.conf:
> Cannot load /Users/phred/dev/modperl/httpd24threading/src/modules/perl/mod_perl.so
> into server: dlopen(/Users/phred/dev/modperl/httpd24threading/src/modules/perl/mod_perl.so,
> 10): Symbol not found: _modperl_handler_name\n  Referenced from:
> /Users/phred/dev/modperl/httpd24threading/src/modules/perl/mod_perl.so\n
>  Expected in: dynamic lookup\n
>
> httpd 2.4.7:
>
> phred@harpua ~/dev/modperl/httpd24threading $ perl Makefile.PL
> MP_APXS=/Users/phred/dev/httpd_24/bin/apxs
> Reading Makefile.PL args from @ARGV
>    MP_APXS = /Users/phred/dev/httpd_24/bin/apxs
> no conflicting prior mod_perl version found - good.
> Configuring Apache/2.4.7 mod_perl/2.0.9dev Perl/v5.16.2
> MP_APXS unspecified, using /usr/sbin/apxs
>
> Using Perl 5.016002 w/o ithreads and 'dynamic' mpm httpd.
> Failed requirements:
>   - Perl built with ithreads (build perl with -Duseithreads)

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