Skip Menu |

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 79977
Status: resolved
Priority: 0/
Queue: mod_perl

People
Owner: Nobody in particular
Requestors: ahitrov [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.31
Fixed in: (no value)



Subject: mod_perl cannot be built on Perl 5.16
During make process on system with Perl 5.16 gmake stops with error: cp Symbol.pm ../blib/lib/Apache/Symbol.pm /usr/local/bin/perl /usr/local/lib/perl5/5.16.0/ExtUtils/xsubpp - typemap /usr/local/lib/perl5/5.16.0/ExtUtils/typemap Symbol.xs > Symbol.xsc && mv Symbol.xsc Symbol.c cc -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16.0/BSDPAN" - DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack- protector -I/usr/local/include -O2 -pipe -fno-strict-aliasing - DVERSION=\"1.31\" -DXS_VERSION=\"1.31\" -DPIC -fPIC "- I/usr/local/lib/perl5/5.16.0/mach/CORE" Symbol.c Symbol.xs: In function 'undef': Symbol.xs:33: error: lvalue required as left operand of assignment gmake[2]: *** [Symbol.o] Error 1 gmake[2]: Leaving directory `/home/ahitrov/Public/var/ports/work/mod_perl/mod_perl-1.31/Symbol' gmake[1]: *** [subdirs] Error 2 gmake[1]: Leaving directory `/home/ahitrov/Public/var/ports/work/mod_perl/mod_perl-1.31' gmake: *** [def-build] Error 2 gmake: *** [do-build] Error 2 gmake: *** [/home/ahitrov/Public/var/ports/work/mod_perl/.build] Error 2 gmake: *** [/home/ahitrov/Public/var/ports/db/mod_perl] Error 2 gmake: *** [pre-configure] Error 2 gmake: *** [def-configure] Error 2 gmake: *** [do-configure] Error 2 gmake: *** [/home/ahitrov/Public/var/ports/work/apache13/.configure] Error 2 gmake: *** [/home/ahitrov/Public/var/ports/work/apache13/.build] Error 2 gmake[2]: *** [/home/ahitrov/Public/var/ports/db/apache13] Error 2 gmake[1]: *** [port_install] Error 2 gmake: *** [local_install] Error 1 gmake: *** [install] Error 2 *** Error code 2 Perl -V: Summary of my perl5 (revision 5 version 16 subversion 0) configuration: Platform: osname=freebsd, osvers=9.0-stable, archname=amd64-freebsd-thread- multi uname='freebsd ah.dev.rambler.ru 9.0-stable freebsd 9.0-stable #0 r232945: wed mar 14 10:23:43 utc 2012 glebius@builder.rambler.ru:usrobjusrsrcsysdevel amd64 ' config_args='-sde -Dprefix=/usr/local - Darchlib=/usr/local/lib/perl5/5.16.0/mach - Dprivlib=/usr/local/lib/perl5/5.16.0 - Dman3dir=/usr/local/lib/perl5/5.16.0/perl/man/man3 - Dman1dir=/usr/local/man/man1 - Dsitearch=/usr/local/lib/perl5/site_perl/5.16.0/mach - Dsitelib=/usr/local/lib/perl5/site_perl/5.16.0 - Dscriptdir=/usr/local/bin - Dsiteman3dir=/usr/local/lib/perl5/5.16.0/man/man3 - Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv - Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none - Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.16.0/BSDPAN" -Doptimize=- O2 -pipe -fno-strict-aliasing -Ui_gdbm -Dusethreads=y -Dusemymalloc=n - Duse64bitint -Dusemultiplicity=y' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='- DAPPLLIB_EXP="/usr/local/lib/perl5/5.16.0/BSDPAN" -DHAS_FPSETMASK - DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector - I/usr/local/include', optimize='-O2 -pipe -fno-strict-aliasing', cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.16.0/BSDPAN" - DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack- protector -I/usr/local/include' ccversion='', gccversion='4.2.1 20070831 patched [FreeBSD]', 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 ='-pthread -Wl,-E -fstack-protector - L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lgdbm -lm -lcrypt -lutil perllibs=-lm -lcrypt -lutil libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,- R/usr/local/lib/perl5/5.16.0/mach/CORE' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib - fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under freebsd Compiled at Oct 2 2012 17:32:42 %ENV: PERL5LIB="" PERL_CPANM_OPT="-n --mirror http://cpan.dev.rambler.ru/mirror/" PERL_LOCAL_LIB_ROOT="/home/ahitrov/cpan" PERL_MB_OPT="" PERL_MM_OPT="" @INC: /usr/local/lib/perl5/5.16.0/BSDPAN /usr/local/lib/perl5/site_perl/5.16.0/mach /usr/local/lib/perl5/site_perl/5.16.0 /usr/local/lib/perl5/5.16.0/mach /usr/local/lib/perl5/5.16.0 .
I compiled it a few days ago with 5.16.2 and I sent a patch to the mod_perl list. You're not specific whether you want 1.x or 2.x. My instructions are for 1.x but I would not be surprised when the same patch worked for 2.x Quick instruction: you need to take the version from the repository: https://svn.apache.org/repos/asf/perl/modperl/branches/1.x And you need my additional patch from this posting: https://mail-archives.apache.org/mod_mbox/perl-modperl/201212.mbox/%3C87d2xzy18n.fsf@k85.linux.bogus%3E
Thanks for the patch! Applied to the mod_perl 1.x branch in revision 1455469. This builds fine for me on Windows 7 x64 using VC++ 2010 with Apache 1.3.42, and both Perl 5.14.4 and 5.16.2.