build failure: ‘conn_rec’ has no member named ‘remote_ip’

Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
1. Problem Description:

    /tmp/mod_perl-2.0.6$ make
    cd "src/modules/perl" && make
    make[1]: Entering directory `/tmp/mod_perl-2.0.6/src/modules/perl'
    cc -I/tmp/mod_perl-2.0.6/src/modules/perl -I/tmp/mod_perl-2.0.6/xs -I/usr/include/apr-1 -I/tmp/httpd2.4.2/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/home/daxim/local/share/perlbrew/perls/perl-5.14.2-threads/lib/5.14.2/x86_64-linux-thread-multi/CORE -DMOD_PERL -g -DMP_DEBUG -DMP_TRACE -DLINUX=2 -DAP_DEBUG  -fPIC \
    -c modperl_interp.c && mv modperl_interp.o modperl_interp.lo
    modperl_interp.c: In function ‘modperl_interp_select’:
    modperl_interp.c:503:35: error: ‘conn_rec’ has no member named ‘remote_ip’
    make[1]: *** [modperl_interp.lo] Fehler 1
    make[1]: Leaving directory `/tmp/mod_perl-2.0.6/src/modules/perl'
    make: *** [modperl_lib] Fehler 2

2. Used Components and their Configuration:

*** mod_perl version 2.000006

*** using /tmp/mod_perl-2.0.6/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_CONFIG  => /usr/bin/apr-1-config
  MP_APR_LIB     => aprext
  MP_APXS        => /tmp/httpd2.4.2/bin/apxs
  MP_COMPAT_1X   => 0
  MP_DEBUG       => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_TRACE       => 1
  MP_USE_DSO     => 1


*** The httpd binary was not found


*** (apr|apu)-config linking info

 -L/usr/lib64 -lapr-1 -lrt -lcrypt  -lpthread -ldl 



*** /home/daxim/local/share/perlbrew/perls/perl-5.14.2-threads/bin/perl -V
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=3.1.0-1.2-desktop, archname=x86_64-linux-thread-multi
    uname='linux champion 3.1.0-1.2-desktop #1 smp preempt thu nov 3 14:45:45 utc 2011 (187dde0) x86_64 x86_64 x86_64 gnulinux '
    config_args='-de -Dprefix=/home/daxim/local/share/perlbrew/perls/perl-5.14.2-threads -Dusethreads'
    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 ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.6.2', 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 -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.14.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.14.1'
  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: MULTIPLICITY 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_PERLIO USE_PERL_ATOF
                        USE_REENTRANT_API
  Built under linux
  Compiled at Feb 10 2012 09:44:04
  %ENV:
    PERLBREW_HOME="/home/daxim/.perlbrew"
    PERLBREW_PATH="/home/daxim/local/share/perlbrew/bin:/home/daxim/local/share/perlbrew/perls/perl-5.14.2-threads/bin"
    PERLBREW_PERL="perl-5.14.2-threads"
    PERLBREW_ROOT="/home/daxim/local/share/perlbrew"
    PERLBREW_VERSION="0.33"
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /home/daxim/local/share/perlbrew/perls/perl-5.14.2-threads/lib/site_perl/5.14.2/x86_64-linux-thread-multi
    /home/daxim/local/share/perlbrew/perls/perl-5.14.2-threads/lib/site_perl/5.14.2
    /home/daxim/local/share/perlbrew/perls/perl-5.14.2-threads/lib/5.14.2/x86_64-linux-thread-multi
    /home/daxim/local/share/perlbrew/perls/perl-5.14.2-threads/lib/5.14.2
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : -
CGI                : 3.52
ExtUtils::MakeMaker: 6.62
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 Tue May  1 13:26:57 2012 GMT.
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk+gGrAACgkQFtlTdOX00Hr4CgCfSnrrCzNB6Plo5Zd7QSSXmPVW
fccAn0olHVqPdUE8byd3g67VHtQDFoCF
=Ohp9
-----END PGP SIGNATURE-----
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.