Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

mod_perl2 build error - ‘conn_rec’ has no member named ‘remote_ip’

by nitin1704 (Sexton)
on Jul 12, 2012 at 02:56 UTC ( #981290=perlquestion: print w/ replies, xml ) Need Help??
nitin1704 has asked for the wisdom of the Perl Monks concerning the following question:

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#

Comment on mod_perl2 build error - ‘conn_rec’ has no member named ‘remote_ip’
Download Code
Re: mod_perl2 build error - ‘conn_rec’ has no member named ‘remote_ip’
by Anonymous Monk on Jul 12, 2012 at 07:05 UTC
      Oh okay then. I searched (boattloads of magic.. :P) about this issue online before posting it here. But none of the links gave a definite answer or any way to resolve the issue.

        Oh okay then. I searched (boattloads of magic.. :P) about this issue online before posting it here. But none of the links gave a definite answer or any way to resolve the issue.

        Right, it can be tricky interpreting those postings.

        What illuminated/definitized it for me was the mention that 2.4 is to 2.2 like 1.x is to 2.x, in other words, many significant API changes , meaning much work for mod_perl developers to do, not simple typos I can fix

        I'm boattloads of magic, I search
Re: mod_perl2 build error - ‘conn_rec’ has no member named ‘remote_ip’
by aitap (Deacon) on Jul 12, 2012 at 10:06 UTC
    Isn't it easier to apt-get install libapache2-mod-perl2?
    Sorry if my advice was wrong.

      http://www.gossamer-threads.com/lists/modperl/modperl/104081 suggests that the bottom-line is that this loaf of bread hasn’t really been taken out of the oven yet.   That the best thing to do for now is to gracefully withdraw from the bleeding-edge until the two modules have been made compatible with one another.   That work appears to be in progress.

        That command will just install apache 2.2.22 and mod_perl 2.0.5 (assuming the system running is Ubuntu 12.04). Is Apache 2.4 really necessary?
        Sorry if my advice was wrong.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://981290]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-12-21 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls