2009/2/6 gert <[email protected]>: > > r...@r12276:~/mod_wsgi-2.3# CFLAGS="-O2" ./configure --with-python=/ > usr/python/bin/python3.0 --with-apxs=/usr/httpd/bin/apxs > checking Apache version... 2.2.11 > File "<string>", line 1 > from distutils import sysconfig; print sysconfig.get_config_var > ("VERSION") > ^ > SyntaxError: invalid syntax > File "<string>", line 1 > from distutils import sysconfig; print "-I" + > sysconfig.get_config_var("INCLUDEPY") > ^ > SyntaxError: invalid syntax > File "<string>", line 1 > from distutils import sysconfig; print " ".join(filter(lambda > x: x.startswith("-D"), sysconfig.get_config_var("CFLAGS").split > ())) > ^ > SyntaxError: invalid syntax > File "<string>", line 1 > from distutils import sysconfig; print sysconfig.get_config_var > ("PYTHONFRAMEWORKDIR") > ^ > SyntaxError: invalid syntax > File "<string>", line 1 > from distutils import sysconfig; print sysconfig.get_config_var > ("PYTHONFRAMEWORKPREFIX") > ^ > SyntaxError: invalid syntax > File "<string>", line 1 > from distutils import sysconfig; print sysconfig.get_config_var > ("PYTHONFRAMEWORK") > ^ > SyntaxError: invalid syntax > File "<string>", line 1 > from distutils import sysconfig; print > sysconfig.get_config_var("LINKFORSHARED").replace( "/ > Versions//", '') > ^ > SyntaxError: invalid syntax > File "<string>", line 1 > from distutils import sysconfig; print > sysconfig.get_config_var("LIBS") > ^ > SyntaxError: invalid syntax > configure: creating ./config.status > config.status: creating Makefile > r...@r12276:~/mod_wsgi-2.3# > > 2.3 is sooo 80's like in not going to work with py3000 :-)
I am not expecting you to build mod_wsgi 2.3 with Python 3.0, just confirm it works for what you are doing with any older version of Python. This will eliminate the possibility that there is something flaky with your Apache setup. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
