Sean Leach
sleach at netlojix.com
Fri Jun 11 16:45:37 EDT 2004
Here is what we have done many times with Python, FreeBSD, Apache2, ModPython (we prefer source on apache and mod_python on BSD over port version) 1. Install python2.3 via ports (simple make install) 2. Install apache2 via source with: ./configure --enable-threads --enable-ssl <and whatever mods you need> 3. Install mod_python3.1.3 via source with: ./configure --with-python=/usr/local/bin/python \ --with-apxs=/usr/local/apache2/bin/apxs Make install's all around, and it works fine. Have done this with FreeBSD 4.7, 4.8, 4.9, 5.2 etc. i.e. nothing special... Hope that helps, Sean Gregory (Grisha) Trubetskoy wrote: > > I don't see any reason why you should compile Python without threads on > FreeBSD. > > The easiest way to install mod_python on FreeBSD is to do it from the > ports collection IMO. > > Grisha > > On Wed, 9 Jun 2004, Krishna Srinivasan wrote: > > >>Greetings. >> >>Are the following steps correct for a clean install ? >> >>- Install python with option '--without-threads' >>- Install apache (no special options) >>- Install mod_python with apxs and python >>options during 'configure' (pointing to >>the right locations) >>- setenv LD_PRELOAD to '/usr/lib/libc_r.so' >> >>This is what I did but still got >>the "PyThread_Delete" error. >> >>[I managed to get away with a different >>mod_python.so from a different but >>similar config machine]. >> >>FreeBSD 4.9, Python 2.2.3, Apache 2.0.48, ModPy 3.1.3 >> >>Is there something else that needs to be done ? >>Please let me know, >> >>thanks, >>Krishna. >> >>_______________________________________________ >>Mod_python mailing list >>Mod_python at modpython.org >>http://mailman.modpython.org/mailman/listinfo/mod_python >> > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python --
|