No, its an Apache API change. remote_addr -> client_addr remote_ip -> client_ip
This is the cause of almost all OLD UNUPDATED modules issue. 2012/6/4 Carl Nobile <carl.nob...@gmail.com> > Have you installed both the dev packages for Apache and python? > > This is often the reason for these types of errors. > On Jun 4, 2012 9:28 AM, "nitin chandra" <nitinchand...@gmail.com> wrote: > >> Hello All, >> >> I need to know what am I doing wrong to get the following error : >> >> { I have Ubuntu 12.04 server 64bit on Intel i3, I compiled and >> installed a working apache 2.4.2, the default install of python is >> 2.7.3,still I compiled and installed python 2.7.3 in /opt/python273 as >> I was getting compilation error and suggested action was to use >> --with-shared and --with-pth.} >> >> I am trying to compile mod_wsgi-3.3 and I am getting the following >> error. trying to do this for the past 3 days. >> >> #/mod_wsgi-3.3$ sudo ./configure --prefix=/opt/mod_wsgi33 >> --with-apxs=/opt/apache24/bin/apxs >> --with-python=/opt/python273/bin/python >> checking Apache version... 2.4.2 >> configure: creating ./config.status >> config.status: creating Makefile >> nitin@ciceo:~/Downloads/mod_wsgi-3.3$ >> ((does not work with out 'sudo'. 'permission denied')) >> >> >> >> >> #/mod_wsgi-3.3$ sudo make >> /opt/apache24/bin/apxs -c -I/opt/python273/include/python2.7 >> mod_wsgi.c -L/opt/python273/lib -L/opt/python273/lib/python2.7/config >> -lpython2.7 -lpthread -ldl -lutil -lm >> /opt/apache24/build/libtool --silent --mode=compile gcc -std=gnu99 >> -prefer-pic -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread >> -I/opt/apache24/include -I/opt/apache24/include >> -I/opt/apache24/include -I/opt/python273/include/python2.7 -c -o >> mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo >> In file included from /opt/python273/include/python2.7/Python.h:8:0, >> from mod_wsgi.c:135: >> /opt/python273/include/python2.7/pyconfig.h:1161:0: warning: >> "_POSIX_C_SOURCE" redefined [enabled by default] >> /usr/include/features.h:164:0: note: this is the location of the >> previous definition >> /opt/python273/include/python2.7/pyconfig.h:1183:0: warning: >> "_XOPEN_SOURCE" redefined [enabled by default] >> /usr/include/features.h:166:0: note: this is the location of the >> previous definition >> mod_wsgi.c: In function 'wsgi_process_socket': >> mod_wsgi.c:10095:37: error: 'conn_rec' has no member named 'remote_addr' >> mod_wsgi.c:10103:27: error: 'conn_rec' has no member named 'remote_ip' >> mod_wsgi.c:10103:41: error: 'conn_rec' has no member named 'remote_addr' >> mod_wsgi.c: In function 'wsgi_hook_daemon_handler': >> mod_wsgi.c:12742:18: error: 'conn_rec' has no member named 'remote_ip' >> mod_wsgi.c: In function 'Auth_environ': >> mod_wsgi.c:13262:10: error: 'conn_rec' has no member named 'remote_ip' >> mod_wsgi.c:13263:18: error: 'conn_rec' has no member named 'remote_ip' >> mod_wsgi.c:13295:14: error: 'conn_rec' has no member named 'remote_addr' >> mod_wsgi.c: In function 'wsgi_hook_access_checker': >> mod_wsgi.c:14395:29: error: 'conn_rec' has no member named 'remote_ip' >> mod_wsgi.c: At top level: >> mod_wsgi.c:14697:5: warning: initialization from incompatible pointer >> type [enabled by default] >> mod_wsgi.c:14697:5: warning: (near initialization for >> 'wsgi_authz_provider.check_authorization') [enabled by default] >> apxs:Error: Command failed with rc=65536 >> . >> make: *** [mod_wsgi.la] Error 1 >> nitin@ciceo:~/Downloads/mod_wsgi-3.3$ >> >> >> PL... giude >> >> Thanks in Advance >> >> Nitin >> >> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To post to this group, send email to modwsgi@googlegroups.com. >> To unsubscribe from this group, send email to >> modwsgi+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/modwsgi?hl=en. >> >> -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to modwsgi@googlegroups.com. > To unsubscribe from this group, send email to > modwsgi+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > -- []'s Filipe Cifali Stangler -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modwsgi@googlegroups.com. To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.