Not at all obvious. Or I should say, not at all obvious in what to do about it in order to prevent it from such error.
On Sunday, September 9, 2012 11:22:28 PM UTC+1, Graham Dumpleton wrote: > > Is the first error and the instructions not obvious? The --with-python > options takes path to Python executable not a directory. > > Graham > > On Sunday, 9 September 2012, Marc ThinlineData wrote: > >> Can you link me to Python 2.x and a corresponding mod_wsgi? For me it all >> seems that they only support Python 3.1 with mod_wsgi. Cant find old >> Python. >> >> On Sunday, September 9, 2012 10:55:17 PM UTC+1, Jason Garber wrote: >>> >>> Just install latest python 2x and modwsgi from ius. They install in >>> alternate locations so plesk, apache, original python not affected. >>> >>> Installs as /usr/bin/python27 iirc. >>> On Sep 9, 2012 5:53 PM, "Marc ThinlineData" <[email protected]> >>> wrote: >>> >>> I run CentOS5. Godaddy VPS with Plesk installed. I cannot brake Plesk >>> that I have seen other users complaining some updates do for them. >>> >>> And my needs are basically to get mod_wsgi working so that I can focus >>> on Python and Django. (this is another headache, but I have to solve >>> mod_wsgi first). >>> >>> >>> On Sunday, September 9, 2012 10:33:26 PM UTC+1, Jason Garber wrote: >>> >>> What is your need, specifically? >>> On Sep 9, 2012 5:32 PM, "Marc ThinlineData" <[email protected]> >>> wrote: >>> >>> You dont by any chance have a repo that fits my need? I only found a >>> mod_wsgi compatible with latest Python version, but it has to work with 2.7 >>> as well, since all this work is just for getting Django to work. >>> >>> On Sunday, September 9, 2012 9:55:22 PM UTC+1, Jason Garber wrote: >>> >>> Rpms are easy to install, uninstall, upgrade, and most important, they >>> are deterministic. >>> >>> Unless you are in the business of developing or testing modwsgi, and you >>> can get them, packages make sense. >>> >>> Break apache with an rpm? >>> >>> Thanks! >>> On Sep 9, 2012 4:50 PM, "Marc ThinlineData" <[email protected]> >>> wrote: >>> >>> So your saying I should skip the manual labor and go for a RPM that >>> deals with it? >>> >>> My biggest concern here is that I break Apache. >>> >>> On Sunday, September 9, 2012 9:34:01 PM UTC+1, Jason Garber wrote: >>> >>> Hi Marc, >>> >>> Not to answer your question, but are you aware that the IUS Community >>> Project maintains updated RPMs for Python 2, 3, and mod_wsgi for both -- >>> targeted to RHEL 5 and 6 ? >>> >>> http://iuscommunity.org/Repos >>> >>> Thanks! >>> Jason >>> >>> >>> >>> On Sun, Sep 9, 2012 at 3:09 PM, Marc ThinlineData < >>> [email protected]> wrote: >>> >>> I have Apache 2.2 installed on a Red Hat VPS. >>> >>> I have python 2.4 installed as default with Apache, thus I define the >>> path to my own Python installation. This is what I run: >>> >>> [root@ip-188-121-62-71 mod_wsgi-3.4]# ./configure >>> --with-apxs=/usr/sbin/apxs --with-python=/usr/bin/Python-********2.7.3/ >>> checking Apache version... 2.2.22 >>> ./configure: line 1788: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1792: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1797: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1811: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1815: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1818: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1821: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1824: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1846: /usr/bin/Python-2.7.3/: is a directory >>> ./configure: line 1850: /usr/bin/Python-2.7.3/: is a directory >>> configure: creating ./config.status >>> config.status: creating Makefile >>> >>> Then I do a make >>> >>> And this pops out: >>> >>> mod_wsgi.c:9168: warning: assignment makes pointer from integer without >>> a cast >>> mod_wsgi.c:9235: error: 'DispatchObject' has no member named 'r' >>> mod_wsgi.c:9239: error: 'DispatchObject' has no member named 'log' >>> mod_wsgi.c:9242: error: 'PyExc_AttributeError' undeclared (first use in >>> this function) >>> mod_wsgi.c:9244: error: 'DispatchObject' has no member named 'log' >>> mod_wsgi.c:9257: error: expected expression before ')' token >>> mod_wsgi.c:9262: error: too many arguments to function >>> 'wsgi_log_python_error' >>> mod_wsgi.c:9270: error: expected expression before 'module' >>> mod_wsgi.c: In function 'wsgi_deadlock_thread >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/modwsgi/-/r3DZJQxf22oJ. >> 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. >> > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To view this discussion on the web visit https://groups.google.com/d/msg/modwsgi/-/8xUkj5sExKcJ. 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.
