[MacPorts] #35843: mod_wsgi install fails
#35843: mod_wsgi install fails ----------------------------------------------+----------------------------- Reporter: thestrongestonethereis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: mod_wsgi ----------------------------------------------+----------------------------- On Snow Leopard: sudo port install mod_wsgi +python27 Log File included: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_wsgi/mod_wsgi/main.log -- Ticket URL: <https://trac.macports.org/ticket/35843> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 Resolution: | Keywords: Port: mod_wsgi | ---------------------------------------+-------------------------------- Comment (by jmr@…): What are you talking about, Ryan? {{{ % ls -l /usr/include/stdarg.h -r--r--r-- 1 root wheel 234 30 Sep 2009 /usr/include/stdarg.h }}} The file obviously exists on the reporter's machine because that's where the error is being generated. Reporter, do you have `/usr/lib/gcc/i686-apple- darwin10/4.2.1/include/stdarg.h`? If it's missing, you probably need to reinstall the Xcode "UNIX Development" component. -- Ticket URL: <https://trac.macports.org/ticket/35843#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts