Re: Releasing Apache 2.4 supported Mod-Perl

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl.devel
Message-ID <CAHrynWDuUtfONmrCnZ8tuFYrSgL=nvw4-Vc6==sebmcg4JDbKw@mail.gmail.com>
Ok, looks like this is what I wanted:

perl Makefile.PL MP_APXS=/home/fred/dev/httpd24/bin/apxs MP_NO_THREADS=1

On Fri, Jan 23, 2015 at 2:18 PM, Fred Moyer <[email protected]> wrote:
> This perl isn't built with threads. I think there's some code in
> Apache2::Build which isn't picking up my prefork configuration
> correctly.
>
>
> Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
>
>   Platform:
>     osname=linux, osvers=2.6.32-220.23.1.el6.x86_64, archname=x86_64-linux
>     uname='linux dev5.oak.iparadigms.com 2.6.32-220.23.1.el6.x86_64 #1
> smp mon jun 18 18:58:52 bst 2012 x86_64 x86_64 x86_64 gnulinux '
>     config_args='-de
> -Dprefix=/home/fred/perl5/perlbrew/perls/perl-5.14.2 -Accflags=-fPIC
> -Aeval:scriptdir=/home/fred/perl5/perlbrew/perls/perl-5.14.2/bin'
>     hint=recommended, useposix=true, d_sigaction=define
>     useithreads=undef, usemultiplicity=undef
>     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
>     use64bitint=define, use64bitall=define, uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='cc', ccflags ='-fPIC -fno-strict-aliasing -pipe
> -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64',
>     optimize='-O2',
>     cppflags='-fPIC -fno-strict-aliasing -pipe -fstack-protector
> -I/usr/local/include'
>     ccversion='', gccversion='4.4.6 20110731 (Red Hat 4.4.6-3)', gccosandvers=''
>     intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>     ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
>     libpth=/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib
> /usr/lib /lib64 /usr/lib64 /usr/local/lib64
>     libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
>     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
>     libc=, so=so, useshrplib=false, libperl=libperl.a
>     gnulibc_version='2.12'
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
>     cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib
> -fstack-protector'
>
>
> Characteristics of this binary (from libperl):
>   Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
>                         PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
>                         USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
>   Built under linux
>   Compiled at Oct 24 2012 11:47:04
>   %ENV:
>     PERLBREW_BASHRC_VERSION="0.53"
>    PERLBREW_HOME="/home/fred/.perlbrew"
>     PERLBREW_MANPATH="/home/fred/perl5/perlbrew/perls/perl-5.14.2/man"
>     PERLBREW_PATH="/home/fred/perl5/perlbrew/bin:/home/fred/perl5/perlbrew/perls/perl-5.14.2/bin"
>     PERLBREW_PERL="perl-5.14.2"
>     PERLBREW_ROOT="/home/fred/perl5/perlbrew"
>     PERLBREW_VERSION="0.53"
>     PERL_CPANM_OPT="--mirror http://repos.oak.iparadigms.com:9898/
> --mirror http://ftp.osuosl.org/pub/CPAN --mirror-only"
>     PERL_INLINE_JAVA_J2SDK="/usr/lib/jvm/java-openjdk"
>     PERL_ROOT="/home/fred/perl5/perlbrew/perls/perl-5.14.2"
>   @INC:
>     /home/fred/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux
>     /home/fred/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2
>     /home/fred/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux
>     /home/fred/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2
>     .
>
> On Fri, Jan 23, 2015 at 11:58 AM, Vick Khera <[email protected]> wrote:
>>
>>> On Jan 23, 2015, at 14:54, Fred Moyer <[email protected]> wrote:
>>>
>>> Using Perl 5.014002 w/o ithreads and httpd-2.4.
>>> Failed requirements:
>>>  - Perl built with ithreads (build perl with -Duseithreads)
>>
>> This seems undesirable. I never build perl with threads and don’t use threaded apache either. Must be a side effect of some other change.
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.