[mod_python] Point of frustration/disappointment

Graham Dumpleton grahamd at dscpl.com.au
Thu Jul 28 19:20:11 EDT 2005


On 29/07/2005, at 9:10 AM, Jim Popovitch wrote:

> On Thu, 2005-07-28 at 18:07 -0400, Graham Dumpleton wrote:
>>
>> I have updated the FAQ entry to:
>>
>>   Note that this doesn't work for older mod_python-2.X versions
>>   where --with-python option is used to refer to a source directory.
>>   For older mod_python versions, try:
>>
>>     PYTHON_BIN=/usr/local/bin/python2.4 ./configure
>>
>> Don't guarantee that this will work.
>
> It doesn't.
>
> $ PYTHON_BIN=/usr/bin/python2.2 ./configure
> ...
> checking for --with-python... no
> checking for python... (cached) /usr/bin/python
> checking Python version... 1.5
> checking whether Python is compiled with thread support... yes
> ....

Run:

   make distclean

It looks like you are rerunning configure when there is already a
cached set of values from running configure a previous time where
it picked up the version of Python you don't want. Ie., you don't
want to see "(cached)".



More information about the Mod_python mailing list