I'm trying to install mod_perl2 on my Ubuntu VM. Perl 5.14.2 and Apache 2.4.2 have already been installed. When I run the make command, it ends with an error. Please advise.

root@nitin-VirtualBox:/home/nitin/Downloads/mod_perl-2.0.7# make cd "src/modules/perl" && make make[1]: Entering directory `/home/nitin/Downloads/mod_perl-2.0.7/src/ +modules/perl' cc -I/home/nitin/Downloads/mod_perl-2.0.7/src/modules/perl -I/home/nit +in/Downloads/mod_perl-2.0.7/xs -I/sw/pkg/apache/include -I/sw/pkg/apa +che/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing +-pipe -fstack-protector -I/usr/local/include -I/usr/lib/perl/5.14/COR +E -DMOD_PERL -DMP_COMPAT_1X -O2 -g -fPIC \ -c mod_perl.c && mv mod_perl.o mod_perl.lo cc -I/home/nitin/Downloads/mod_perl-2.0.7/src/modules/perl -I/home/nit +in/Downloads/mod_perl-2.0.7/xs -I/sw/pkg/apache/include -I/sw/pkg/apa +che/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing +-pipe -fstack-protector -I/usr/local/include -I/usr/lib/perl/5.14/COR +E -DMOD_PERL -DMP_COMPAT_1X -O2 -g -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] Error 1 make[1]: Leaving directory `/home/nitin/Downloads/mod_perl-2.0.7/src/m +odules/perl' make: *** [modperl_lib] Error 2 root@nitin-VirtualBox:/home/nitin/Downloads/mod_perl-2.0.7#

In reply to mod_perl2 build error - ‘conn_rec’ has no member named ‘remote_ip’ by nitin1704

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.