Return-Path: X-Original-To: apmail-perl-dev-archive@www.apache.org Delivered-To: apmail-perl-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 617F39239 for ; Fri, 13 Jul 2012 00:33:52 +0000 (UTC) Received: (qmail 2715 invoked by uid 500); 13 Jul 2012 00:33:52 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 2029 invoked by uid 500); 13 Jul 2012 00:33:51 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 1766 invoked by uid 99); 13 Jul 2012 00:33:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2012 00:33:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.49] (HELO mail-vb0-f49.google.com) (209.85.212.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2012 00:33:44 +0000 Received: by vbbfo1 with SMTP id fo1so2478449vbb.22 for ; Thu, 12 Jul 2012 17:33:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=GawFigAiJLW0OMjrwLzd+C+g/Bp3k+ExGs2WoUmK10M=; b=kqzsoIwoEqVXxGecZydfJA4iVY4GpeD4PmiQis4ngb+LdaasbFQoPYyRvPSu2WQyER 2moD5gPgGmT0Pxgyqi5xUNuwZWTf3Ri9+fv3vKj1uaveYTOawHqL6OdanKZvL/wTMVUG HDbGrJLooXrQC9UA+H8VSv3WvclQxfMRrqrGxovPI5zeIpwQwGiMAtzpbWMbxQCOX+/X GnH9/7LbdhgKygo1VjZOPFqaEbkprDxWCsLKLJAunFeKcgyV+NRye7ZTGozJMH4f4wwA RnhxrLbOgsSu12I6eAsgOtvjpDiCfWmNnsL4VPOdr58MCKvP6DEQWw/3udeMwSHM0LIv K0Iw== MIME-Version: 1.0 Received: by 10.52.95.116 with SMTP id dj20mr137351vdb.39.1342139604089; Thu, 12 Jul 2012 17:33:24 -0700 (PDT) Received: by 10.52.29.82 with HTTP; Thu, 12 Jul 2012 17:33:24 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Jul 2012 17:33:24 -0700 Message-ID: Subject: Re: [MP2] Nullav undeclared make error From: Fred Moyer To: dxs@rentrak.com Cc: modperl@perl.apache.org, mod_perl Dev Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlCxpmBcLfwkvLMk6qWUhmd6zhmdwgdxniQ4ZRnSpGAVdEZKHC7CzCoj9mIIjinLAMj1qN0 > mod_perl.c:265: error: =91Nullav=92 undeclared (first use in this functio= n) Hmm, found this in http://search.cpan.org/~rjbs/perl-5.16.0/pod/perl5101delta.pod Uses of Nullav, Nullcv, Nullhv, Nullop, Nullsv etc have been replaced by NULL in the core code, and non-dual-life modules, as NULL is clearer to those unfamiliar with the core code. Maybe we need to replace these instances? Torsten/Gozer/SteveHay?? I'm not sure if those are backwards compatible with 5.14 at first glace. On Fri, Jun 22, 2012 at 12:50 PM, David Shultz wrote: > Apache2 src: 2.2.22 > mod_per src: 2.0.7 > Installed Perl 5.16.0 hand built as: > CFLAGS=3D'-m64 -mtune=3Dnocona' ./Configure -A ccflags=3D-fPIC \ > -Dprefix=3D/usr/local/stow/perl-5.16.0 -Dusethreads \ > -Accflags=3D-DPERL_REENTRANT_MAXSIZE=3D65536 \ > -Uuselargefiles -Dusemorebits > >> perl Makefile.PL MP_USE_STATIC=3D1 \ > MP_AP_PREFIX=3D/home/dxs/code/httpd-2.2.22 \ > MP_AP_CONFIGURE=3D"--with-mpm=3Dprefork" > > works fine > >> make > > produces the following error: > > cd "src/modules/perl" && make > make[1]: Entering directory `/home/dxs/code/mod_perl-2.0.7/src/modules/pe= rl' > cc -I/home/dxs/code/mod_perl-2.0.7/src/modules/perl > -I/home/dxs/code/mod_perl-2.0.7/xs > -I/home/dxs/code/mod_perl-2.0.7/../httpd-2.2.22/include > -I/home/dxs/code/mod_perl-2.0.7/../httpd-2.2.22/srclib/apr/include > -I/home/dxs/code/mod_perl-2.0.7/../httpd-2.2.22/srclib/apr-util/include > -I/home/dxs/code/mod_perl-2.0.7/../httpd-2.2.22/os/unix -D_REENTRANT > -D_GNU_SOURCE -fPIC -DPERL_REENTRANT_MAXSIZE=3D65536 -fno-strict-aliasing > -pipe -fstack-protector -I/usr/local/include -fPIC > -DPERL_REENTRANT_MAXSIZE=3D65536 > -I/usr/local/stow/perl-5.16.0/lib/5.16.0/x86_64-linux-thread-multi-ld/COR= E > -DMOD_PERL -DMP_COMPAT_1X -O2 -c mod_perl.c > mod_perl.c: In function =91modperl_startup=92: > mod_perl.c:265: error: =91Nullav=92 undeclared (first use in this functio= n) > mod_perl.c:265: error: (Each undeclared identifier is reported only once > mod_perl.c:265: error: for each function it appears in.) > make[1]: *** [mod_perl.o] Error 1 > make[1]: Leaving directory `/home/dxs/code/mod_perl-2.0.7/src/modules/per= l' > make: *** [modperl_lib] Error 2 > > > -------------8<---------- Start Bug Report ------------8<---------- > 1. Problem Description: > > [DESCRIBE THE PROBLEM HERE] > > 2. Used Components and their Configuration: > > *** mod_perl version 2.000007 > > *** using /home/dxs/code/mod_perl-2.0.7/lib/Apache2/BuildConfig.pm > > *** Makefile.PL options: > MP_APR_LIB =3D> aprext > MP_AP_CONFIGURE =3D> --with-mpm=3Dprefork > MP_AP_PREFIX =3D> /home/dxs/code/httpd-2.2.22 > MP_COMPAT_1X =3D> 1 > MP_GENERATE_XS =3D> 1 > MP_LIBNAME =3D> mod_perl > MP_USE_STATIC =3D> 1 > > > *** The httpd binary was not found > > > *** (apr|apu)-config linking info > > -L/home/dxs/code/httpd-2.2.22/srclib/apr-util/.libs > -L/home/dxs/code/httpd-2.2.22/srclib/apr-util -laprutil-1 > /home/dxs/code/httpd-2.2.22/srclib/apr-util/xml/expat/libexpat.la > -L/home/dxs/code/httpd-2.2.22/srclib/apr/.libs > -L/home/dxs/code/httpd-2.2.22/srclib/apr -lapr-1 -luuid -lrt -lcrypt > -lpthread -ldl > > > > *** /usr/local/stow/perl-5.16.0/bin/perl -V > Summary of my perl5 (revision 5 version 16 subversion 0) configuration: > > Platform: > osname=3Dlinux, osvers=3D2.6.18-308.8.2.el5, > archname=3Dx86_64-linux-thread-multi-ld > uname=3D'linux *********************** 2.6.18-308.8.2.el5 #1 smp tue = jun > 12 09:58:12 edt 2012 x86_64 x86_64 x86_64 gnulinux ' > config_args=3D'-A ccflags=3D-fPIC -Dprefix=3D/usr/local/stow/perl-5.1= 6.0 > -Dusethreads -Accflags=3D-DPERL_REENTRANT_MAXSIZE=3D65536 -Uuselargefiles > -Dusemorebits' > hint=3Dprevious, useposix=3Dtrue, d_sigaction=3Ddefine > useithreads=3Ddefine, usemultiplicity=3Ddefine > useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Dundef, usesocks= =3Dundef > use64bitint=3Ddefine, use64bitall=3Ddefine, uselongdouble=3Ddefine > usemymalloc=3Dn, bincompat5005=3Dundef > Compiler: > cc=3D'cc', ccflags =3D'-D_REENTRANT -D_GNU_SOURCE -fPIC > -DPERL_REENTRANT_MAXSIZE=3D65536 -fno-strict-aliasing -pipe -fstack-prote= ctor > -I/usr/local/include -fPIC -DPERL_REENTRANT_MAXSIZE=3D65536', > optimize=3D'-O2', > cppflags=3D'-D_REENTRANT -D_GNU_SOURCE -fPIC > -DPERL_REENTRANT_MAXSIZE=3D65536 -fno-strict-aliasing -pipe -fstack-prote= ctor > -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -fPIC > -DPERL_REENTRANT_MAXSIZE=3D65536 -fno-strict-aliasing -pipe -fstack-prote= ctor > -I/usr/local/include -fPIC -DPERL_REENTRANT_MAXSIZE=3D65536' > ccversion=3D'', gccversion=3D'4.1.2 20080704 (Red Hat 4.1.2-52)', > gccosandvers=3D'' > intsize=3D4, longsize=3D8, ptrsize=3D8, doublesize=3D8, byteorder=3D1= 2345678 > d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, longdblsiz= e=3D16 > ivtype=3D'long', ivsize=3D8, nvtype=3D'long double', nvsize=3D16, Off= _t=3D'off_t', > lseeksize=3D8 > alignbytes=3D16, prototype=3Ddefine > Linker and Libraries: > ld=3D'cc', ldflags =3D' -fstack-protector -L/usr/local/lib' > libpth=3D/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/li= b64 > libs=3D-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > perllibs=3D-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > libc=3D/lib/libc-2.5.so, so=3Dso, useshrplib=3Dfalse, libperl=3Dlibpe= rl.a > gnulibc_version=3D'2.5' > Dynamic Linking: > dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D'-Wl= ,-E' > cccdlflags=3D'-fPIC', lddlflags=3D'-shared -O2 -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_AL= L > USE_64_BIT_INT USE_ITHREADS USE_LOCALE > USE_LOCALE_COLLATE USE_LOCALE_CTYPE > USE_LOCALE_NUMERIC USE_LONG_DOUBLE USE_PERLIO > USE_PERL_ATOF USE_REENTRANT_API > Built under linux > Compiled at Jun 21 2012 15:26:04 > %ENV: > > PERL5LIB=3D"/dp/usr/dxs/perl5/lib/perl5/x86_64-linux-thread-multi-ld:/dp/= usr/dxs/perl5/lib/perl5" > PERL_LOCAL_LIB_ROOT=3D"/dp/usr/dxs/perl5" > PERL_LWP_USE_HTTP_10=3D"1" > PERL_MB_OPT=3D"--install_base /dp/usr/dxs/perl5" > PERL_MM_OPT=3D"INSTALL_BASE=3D/dp/usr/dxs/perl5" > @INC: > /dp/usr/dxs/perl5/lib/perl5/x86_64-linux-thread-multi-ld > /dp/usr/dxs/perl5/lib/perl5/x86_64-linux-thread-multi-ld > /dp/usr/dxs/perl5/lib/perl5 > > /usr/local/stow/perl-5.16.0/lib/site_perl/5.16.0/x86_64-linux-thread-mult= i-ld > /usr/local/stow/perl-5.16.0/lib/site_perl/5.16.0 > /usr/local/stow/perl-5.16.0/lib/5.16.0/x86_64-linux-thread-multi-ld > /usr/local/stow/perl-5.16.0/lib/5.16.0 > . > > *** Packages of interest status: > > Apache2 : - > Apache2::Request : - > CGI : 3.59 > ExtUtils::MakeMaker: 6.63_02 > LWP : 6.04 > mod_perl : - > mod_perl2 : - > > > 3. This is the core dump trace: (if you get a core dump): > > [CORE TRACE COMES HERE] > > This report was generated by t/REPORT on Fri Jun 22 19:41:38 2012 GMT. > > -------------8<---------- End Bug Report --------------8<---------- > > -- > David Shultz | Senior Developer, Theatrical Division | p 503.284.7581 ex= t. > 248| f 800.656.7806 | dxs@rentrakmail.com RENTRAK | www.rentrak.com | > NASDAQ: RENT > > Notice: This message is confidential and is intended only for the > recipient(s) named above. If you have received this message in error, or = are > not the named recipient(s), please immediately notify the sender at > 503.284.7581 ext. 248 and delete this message from your computer. > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org