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
.