Jeff Davis
list-mod_python at empires.org
Fri Sep 13 01:36:58 EST 2002
I have the same segfault problem that someone else mentioned earlier. I am on debian unstable, and have the current package for apache2 installed (mpm-prefork), and I built it with: ./configure --with-apxs=/usr/bin/apxs2 make dso make install However, I had to set the variable "PYTHONBIN" in the Makefile, it wasn't set up for me automatically. I think that is just a minor problem with the build system on my platform. I couldn't find anything in the configure script to suggest that it was trying to set that variable. Anyway, after I did get it built it simply segfaulted every time that I accessed the server. I know a little C, so I will look into this a little. If I have time I will try to deal with both of these issues (the build issue and the segfault). By the way, is this list the proper development forum? I don't see a lot of development discussion here. Regards, Jeff On Thursday 12 September 2002 09:40 pm, Michael Neel wrote: > I'm having a bit of trouble trying to get mod_python beta 3 to run on > apache 2. I get a line like: > > [Thu Sep 12 23:31:21 2002] [notice] child pid 3768 exit signal > Segmentation fault (11) > > Whenever I load mod_python no matter what page I hit, .py or otherwise. > I'm running RH 7.3 and I've copied the python2.2 binary over the python > one so I have python2.2 as default so this could be related to a path > issue of lib's but I'll be damned if I can find it. > > My compile options for apache were basic; --with-mpm=worker and > --enable-mods-shared=all. Mod_python I just past in the path to apxs. > I didn't see anything about beta 3 not working with worker threads (the > way I'd prefer apache to run), but I've tried prefork as well with the > same results. > > Any tips or ideas would help greatly. I've looked though the list > archives and couldn't find anything, but to be stuck at this small of a > step means I've overlooked something basic... > > Mike
|