[MacPorts] #18864: mod_wsgi 1.1 prints incorrect apache configuration instructions

MacPorts noreply at macports.org
Mon Mar 16 05:46:16 PDT 2009


#18864: mod_wsgi 1.1 prints incorrect apache configuration instructions
-------------------------------+--------------------------------------------
 Reporter:  francis@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:  Port Bugs                            
Component:  ports              |     Version:  1.7.0                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 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

 (I am using MacPorts 1.7.0 on OS X 10.5.6/Intel)

-- 
Ticket URL: <http://trac.macports.org/ticket/18864>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list