Closed GoogleCodeExporter closed 8 years ago
Same problem happening on Pardus Linux 2008 with the standart installation of
Apache.
Original comment by sle...@gmail.com
on 25 Oct 2008 at 12:14
This is happening because recent httpd on some platforms aren't linking -lm any
more.
The python-config is new to Python 2.5 and therefore can't be used.
The python-config script does highlight though that could at least also be
linking in value of SYSLIBS.
Check in changes to configure script in revision 1098 of subversion trunk for
mod_wsgi 3.0.
Hopefully adding in the extra libs will not cause problems. On some BSD systems
it runs the risk of screwing
up things badly because of the different threading libraries that exist and may
be in use.
Original comment by Graham.Dumpleton@gmail.com
on 25 Oct 2008 at 9:46
Original comment by Graham.Dumpleton@gmail.com
on 25 Oct 2008 at 10:12
The simple semi-automatic fix is as follows (example of building mod_wsgi 2.3
for
Python 2.6):
./configure --with-python=/usr/local/bin/python2.6
sed -i 's/\(^LDLIBS = .*$\)/\1 -lm/' Makefile
make
sudo make install
Original comment by mrts%mrt...@gtempaccount.com
on 13 Feb 2009 at 2:55
Backported to 2.X branch for 2.4 in revision 1252.
Original comment by Graham.Dumpleton@gmail.com
on 20 Mar 2009 at 11:29
Version 2.4 of mod_wsgi now released.
Original comment by Graham.Dumpleton@gmail.com
on 11 Apr 2009 at 10:25
Original issue reported on code.google.com by
tiran79
on 24 Oct 2008 at 5:05