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

MacPorts noreply at macports.org
Mon Mar 16 10:03:18 PDT 2009


#18864: mod_wsgi 1.1 prints incorrect apache configuration instructions
-------------------------------+--------------------------------------------
 Reporter:  francis@…          |       Owner:  ys@…       
     Type:  defect             |      Status:  new        
 Priority:  Normal             |   Milestone:  Port Bugs  
Component:  ports              |     Version:  1.7.0      
 Keywords:                     |        Port:  mod_wsgi   
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):

 * cc: francis@… (removed)
  * owner:  macports-tickets@… => ys@…
  * port:  => mod_wsgi


Old description:

> 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)

New description:

 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#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list