Re: support for Apache 2.4

John D Groenveld <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
In message <CADED=K7gbhZ+oG71FQdXCZviswm8euAct-xS99-uNBSXeX+xzQ@mail.gmail.com>
, Steve Hay writes:
>different OSes / httpd versions / build configurations etc. By all means
>check out the httpd24threading branch and see what the current situation is
>for you :-)

Looks like there's bug in Apache2::Build in how it parses
MPM in the 2.4 with traditional prefork, non-thread case
below.

httpd24threading builds and tests fine against httpd-2.2.26.

John
[email protected]

$ env PATH=/opt/apache2/perl-5.18.2/bin:/opt/apache2/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/sfw/bin perl Makefile.PL \
MP_APXS=/opt/apache2/bin/apxs MAKE=gmake
Reading Makefile.PL args from @ARGV
   MP_APXS = /opt/apache2/bin/apxs
no conflicting prior mod_perl version found - good.
Configuring Apache/2.4.7 mod_perl/2.0.9dev Perl/v5.18.2
Reading Makefile.PL args from @ARGV
MP_APXS unspecified, using /opt/apache2/bin/apxs

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


$ /opt/apache2/bin/httpd -V
Server version: Apache/2.4.7 (Unix)
Server built:   Feb 16 2014 15:54:48
Server's Module Magic Number: 20120211:27
Server loaded:  APR 1.5.0, APR-UTIL 1.5.3
Compiled using: APR 1.5.0, APR-UTIL 1.5.3
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/opt/apache2"
 -D SUEXEC_BIN="/opt/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.