[MacPorts] #35843: mod_wsgi: error: stdarg.h: No such file or directory (was: mod_wsgi install fails)

MacPorts noreply at macports.org
Sun Aug 26 23:23:34 PDT 2012


#35843: mod_wsgi: error: stdarg.h: No such file or directory
----------------------------------------------+-----------------------------
 Reporter:  thestrongestonethereis@…          |       Owner:  macports-tickets@…                   
     Type:  defect                            |      Status:  new                                  
 Priority:  Normal                            |   Milestone:                                       
Component:  ports                             |     Version:  2.1.2                                
 Keywords:                                    |        Port:  mod_wsgi                             
----------------------------------------------+-----------------------------

Comment(by ryandesign@…):

 The log says:

 {{{
 :info:build In file included from
 /opt/local/include/apr-1/apr_tables.h:29,
 :info:build                  from /opt/local/include/apr-1/apr_hooks.h:22,
 :info:build                  from
 /opt/local/apache2/include/ap_config.h:26,
 :info:build                  from /opt/local/apache2/include/httpd.h:43,
 :info:build                  from mod_wsgi.c:34:
 :info:build /usr/include/stdarg.h:4:25: error: stdarg.h: No such file or
 directory
 }}}

 stdarg.h existed in OS X 10.4 Tiger, but not thereafter. This inclusion is
 coming from apr; the relevant lines of apr_tables.h say:

 {{{
 #if APR_HAVE_STDARG_H
 #include <stdarg.h>     /* for va_list */
 #endif
 }}}

 apr should know that stdarg.h doesn't exist anymore. The fact that it
 doesn't suggests something is wrong with your apr, so try rebuilding it:

 {{{
 sudo port clean apr
 sudo port selfupdate
 sudo port -n upgrade --force apr
 }}}

 Do you have anything in /usr/local? If so it might be interfering; remove
 or rename it, clean and try again.

-- 
Ticket URL: <https://trac.macports.org/ticket/35843#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list