Error in mod_wsgi Portfile?

Francis Devereux francis at devrx.org
Tue Mar 10 10:20:16 PDT 2009


Hi,

I think that the message printed by www/mod_wsgi/Portfile is  
incorrect.  The line that currently reads:
     ui_msg "#  LoadModule python_module modules/mod_wsgi.so"
should read:
     ui_msg "#  LoadModule wsgi_module modules/mod_wsgi.so"

If the current instructions are followed, attempting to start Apache  
gives the following error:
jupiter LaunchDaemons # /opt/local/apache2/bin/apachectl start
httpd: Syntax error on line 116 of /opt/local/apache2/conf/httpd.conf:  
Can't locate API module structure `python_module' in file /opt/local/ 
apache2/modules/mod_wsgi.so: dlsym(0x404e10, python_module): symbol  
not found

Regards,

Francis




More information about the macports-users mailing list