ramkrishanbhatt / modwsgi

Automatically exported from code.google.com/p/modwsgi
0 stars 0 forks source link

./configure --with-python=/usr/local/epd/bin/python generate Makefile with /home/ischnell in paths #171

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I try and run configure with an alternative install of python the
resulting Makefile seems to include references to a developers home area.

For example,

./configure --with-python=/usr/local/epd/bin/python

results in a Makefile with the following entries being generated:
CPPFLAGS = 
-I/home/ischnell/pc/var/tmp/EPD_Py25-4.1.301-1/work/Python-2.5.2/epd_py25-4.1.30
1/include/python2.5
-DNDEBUG 
CFLAGS =  
LDFLAGS = 
-L/home/ischnell/pc/var/tmp/EPD_Py25-4.1.301-1/work/Python-2.5.2/epd_py25-4.1.30
1/lib
-L/usr/local/epd/lib/python2.5/config 

We have no user called ischnell. I get the same result for modwsgi 2.8 and 3.1.

Original issue reported on code.google.com by mbowman...@googlemail.com on 25 Nov 2009 at 2:50

GoogleCodeExporter commented 8 years ago
The -I/-L etc come from the Python installation. What appears to be happening 
is that you are using a 
precompiled Python installation where who originally installed it did so into a 
different location and then its 
location in the filesystem was moved.

If all the parts of the Python installation had been moved, including the 
include and lib/python2.5/config 
directory, then you might get it working by editing:

  /usr/local/epd/lib/python2.5/config/Makefile

and fixing up value of 'prefix', and possibly other values so they refer 
properly to where the Python installation 
was moved to.

BTW, this sort of question should really have been directed to the mod_wsgi 
mailing list.

Original comment by Graham.Dumpleton@gmail.com on 26 Nov 2009 at 12:12

GoogleCodeExporter commented 8 years ago
Thanks Graham,

You are entirely right. This is an Enthought Python issue. I did not understand 
how
configure was working in this instance. At the time it seemed a clear bug. 
Sorry.

Original comment by mbowman...@googlemail.com on 3 Dec 2009 at 2:35

GoogleCodeExporter commented 8 years ago

Original comment by Graham.Dumpleton@gmail.com on 3 Dec 2009 at 10:03