I was thinking of trying with the older version of mod_wsgi module, but apparently these files are not downloadable. It gives page loading error while downloading any of the depreciated file.
On Monday, March 4, 2013 1:56:13 PM UTC+5:30, Sarbjit singh wrote: > > It looked I compiled the mod_wsgi without specifying the python release > 2.7.3 (Typo Error). However, now I am getting the following error in "make" > > /usr/sbin/apxs -c -I/usr/python/include/python2.7 -DNDEBUG mod_wsgi.c > -L/usr/python/lib -L/usr/python/lib/python2.7/config -lpython2.7 -lpthread > -ldl -lutil -lm > /apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe > -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing > -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd > -I/usr/include/apr-1 -I/usr/include/apr-1 > -I/usr/python/include/python2.7 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && > touch mod_wsgi.slo > mod_wsgi.c:1: error: bad value (generic) for -mtune= switch > apxs:Error: Command failed with rc=65536 > . > make: *** [mod_wsgi.la] Error 1 > > > Any Idea on what is going wrong here? > > -Sarbjit > > On Monday, March 4, 2013 12:48:41 PM UTC+5:30, Graham Dumpleton wrote: >> >> I suspect your Apache version that comes with the OS is too old and >> cannot be used. I cant remember the minimum required 2.2.X version, but I >> have never heard of anyone using such an old patch revision. >> >> Graham >> >> >> On 4 March 2013 17:50, Sarbjit singh <[email protected]> wrote: >> >>> Hi, >>> >>> I am getting the following error while starting the http:- >>> >>> How I did the Setup? >>> >>> I am using Red Hat 5 and have installed Python2.7.3 from source code. >>> Then I added the /usr/python/lib to LD_LIBRARY_PATH to resolve shared >>> library error. >>> >>> Then I compiled the mod_wsgi 3.4 from source code using --with-python >>> module as my system was having python2.4 installed on it. >>> >>> I am using httpd2.2.3 version (Already installed on my system). >>> >>> Now I have been able to install the mod_wsgi on my system, I added the >>> following in the httpd.conf :- >>> >>> LoadModule mod_wsgi modules/mod_wsgi.so >>> >>> On starting the httpd, I am getting the following error.: - >>> >>> httpd: Syntax error on line 200 of /etc/httpd/conf/httpd.conf: Cannot >>> load /etc/httpd/modules/mod_wsgi.so into server: >>> /etc/httpd/modules/mod_wsgi.so: undefined symbol: ap_unixd_config >>> >>> >>> Can some one please help me on how to resolve it? >>> >>> Thanks >>> Sarbjit >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "modwsgi" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/modwsgi?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
