Graham Dumpleton
graham.dumpleton at gmail.com
Mon Jun 18 01:16:58 EDT 2007
See comments below. On 18/06/07, mario curiel <mario at avepublishing.com> wrote: > I got the error in apachectl -k start: > > httpd: Syntax error on line 54 of /Local/Library/Webserver/ > Configuration/httpd.conf: API module structure ´python_module´ in > file /System/Library/Apache/Modules/mod_python.so is so garbled - > perhaps this is not an Apache module DSO? > > In the computer has Mac OSX 10.4.9, > MAC Pro with intel processors, > python 2.5.1 > apache sever 2.2.4 (unix) > > a)installation of mod_python-3.3.1: > > -configure --with-apxs=/Library/Apache2/bin/apxs --with-fex=/usr/bin/ > flex > make > make install > > > also I tried with > > b) > make install_dso > make install_py_lib > > in both cases (a and b) the last line of the install is the > installation of the mod_python-3-3.1/py2.5.egg-info: > writing /Library/Frameworks/Python.framework/verons/2.5/lib/python2.5/ > site-packages/mod_python-3-3.1/py2.5.egg-info > > > I added the lines to the httpd.conf: > the lines 54-56 : > > LoadModule python-module /System/Library/Apache2/Modules/mod_python.so This line is wrong. Should be 'python_module' not 'python-module'. > AddModule mod_python.c This line is not needed with Apache 2. > then I run apachectl -k start and the error appears: > > Syntax error on line 54 of /Local/Library/Webserver/Configuration/ > httpd.conf: API module structure ´python_module´ in file /System/ > Library/Apache/Modules/mod_python.so is so garbled - perhaps this is > not an Apache module DSO? > > > how to correct it? > > thanks a lot > > Alberto > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|