DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/www/mod_wsgi DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port mod_wsgi. DEBUG: Requested variant i386 is not provided by port mod_wsgi. DEBUG: Requested variant macosx is not provided by port mod_wsgi. DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/www/mod_wsgi DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port mod_wsgi. DEBUG: Requested variant i386 is not provided by port mod_wsgi. DEBUG: Requested variant macosx is not provided by port mod_wsgi. DEBUG: Found port in file:///Users/rschmidt/macports/dports/www/apache2 DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/www/apache2 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant i386 is not provided by port apache2. DEBUG: Requested variant macosx is not provided by port apache2. DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: apache2 DEBUG: Found Dependency: receipt exists for apache2 DEBUG: Found port in file:///Users/rschmidt/macports/dports/lang/python24 DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/lang/python24 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port python24. DEBUG: Requested variant i386 is not provided by port python24. DEBUG: Requested variant macosx is not provided by port python24. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: python24 DEBUG: Found Dependency: receipt exists for python24 DEBUG: Executing org.macports.main (mod_wsgi) ---> Fetching mod_wsgi DEBUG: Executing org.macports.fetch (mod_wsgi) ---> Verifying checksum(s) for mod_wsgi DEBUG: Executing org.macports.checksum (mod_wsgi) ---> Checksumming mod_wsgi-1.1.tar.gz DEBUG: Correct (md5) checksum for mod_wsgi-1.1.tar.gz DEBUG: Correct (sha1) checksum for mod_wsgi-1.1.tar.gz ---> Extracting mod_wsgi DEBUG: Executing org.macports.extract (mod_wsgi) ---> Extracting mod_wsgi-1.1.tar.gz DEBUG: setting option extract.args to /mp/var/macports/distfiles/mod_wsgi/mod_wsgi-1.1.tar.gz DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_www_mod_wsgi/work" && gzip -dc /mp/var/macports/distfiles/mod_wsgi/mod_wsgi-1.1.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (mod_wsgi) ---> Configuring mod_wsgi DEBUG: Executing org.macports.configure (mod_wsgi) DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/mp/include -I/mp/include/python2.4' CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.4' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/mp/lib -Wl,-F/mp/Library/Frameworks' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0' DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_www_mod_wsgi/work/mod_wsgi-1.1" && ./configure --prefix=/mp --prefix=/mp --with-apxs=/mp/apache2/bin/apxs --with-python=/mp/bin/python2.4' Traceback (most recent call last): File "", line 1, in ? File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 529, in get_config_var return get_config_vars().get(name) File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3" during configure Traceback (most recent call last): File "", line 1, in ? File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 529, in get_config_var return get_config_vars().get(name) File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3" during configure Traceback (most recent call last): File "", line 1, in ? File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 529, in get_config_var return get_config_vars().get(name) File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3" during configure Traceback (most recent call last): File "", line 1, in ? File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 529, in get_config_var return get_config_vars().get(name) File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3" during configure Traceback (most recent call last): File "", line 1, in ? File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 529, in get_config_var return get_config_vars().get(name) File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3" during configure Traceback (most recent call last): File "", line 1, in ? File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 529, in get_config_var return get_config_vars().get(name) File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3" during configure Traceback (most recent call last): File "", line 1, in ? File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 529, in get_config_var return get_config_vars().get(name) File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 488, in get_config_vars func() File "/mp/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py", line 373, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3" during configure checking Apache version... 2.2.9 configure: creating ./config.status config.status: creating Makefile ---> Building mod_wsgi DEBUG: Executing org.macports.build (mod_wsgi) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_www_mod_wsgi/work/mod_wsgi-1.1" && nice -n 1 make all' /mp/apache2/bin/apxs -c mod_wsgi.c -framework /mp/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.0 -prefer-pic -O2 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/mp/include -I/mp/apache2/include -I/mp/include/apr-1 -I/mp/include/apr-1 -I/mp/include -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo mod_wsgi.c:106:20: error: Python.h: No such file or directory mod_wsgi.c:107:21: error: compile.h: No such file or directory mod_wsgi.c:108:18: error: node.h: No such file or directory mod_wsgi.c:111:2: error: #error Sorry, mod_wsgi requires at least Python 2.3.0. mod_wsgi.c:115:2: error: #error Sorry, mod_wsgi requires that Python supporting thread. mod_wsgi.c:792: error: parse error before 'PyObject_HEAD' mod_wsgi.c:792: warning: no semicolon at end of struct or union mod_wsgi.c:797: error: parse error before '}' token mod_wsgi.c:797: warning: data definition has no type or storage class mod_wsgi.c:799: error: parse error before 'Log_Type' mod_wsgi.c:799: warning: data definition has no type or storage class mod_wsgi.c:801: error: parse error before '*' token mod_wsgi.c: In function 'newLogObject': mod_wsgi.c:803: error: 'self' undeclared (first use in this function) mod_wsgi.c:803: error: (Each undeclared identifier is reported only once mod_wsgi.c:803: error: for each function it appears in.) mod_wsgi.c: At top level: mod_wsgi.c:817: error: parse error before '*' token mod_wsgi.c: In function 'Log_dealloc': mod_wsgi.c:819: error: 'self' undeclared (first use in this function) mod_wsgi.c:823: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:823: error: parse error before 'ap_log_rerror' mod_wsgi.c:826: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:841: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:841: error: syntax error before '*' token mod_wsgi.c:845: warning: 'return' with a value, in function returning void mod_wsgi.c:848: error: 'args' undeclared (first use in this function) mod_wsgi.c:849: warning: 'return' with a value, in function returning void mod_wsgi.c:854: error: parse error before 'ap_log_rerror' mod_wsgi.c:869: error: 'Py_None' undeclared (first use in this function) mod_wsgi.c:870: warning: 'return' with a value, in function returning void mod_wsgi.c:873: error: parse error before '*' token mod_wsgi.c:874: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:874: error: invalid storage class for function 'Log_output' mod_wsgi.c: In function 'Log_output': mod_wsgi.c:878: error: 'msg' undeclared (first use in this function) mod_wsgi.c:905: error: parse error before 'ap_log_rerror' mod_wsgi.c:930: error: parse error before 'ap_log_rerror' mod_wsgi.c:971: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:971: error: syntax error before '*' token mod_wsgi.c:976: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:977: warning: 'return' with a value, in function returning void mod_wsgi.c:981: warning: 'return' with a value, in function returning void mod_wsgi.c:986: warning: 'return' with a value, in function returning void mod_wsgi.c:989: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:989: error: syntax error before '*' token mod_wsgi.c:992: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:992: error: 'iterator' undeclared (first use in this function) mod_wsgi.c:993: error: 'item' undeclared (first use in this function) mod_wsgi.c:998: warning: 'return' with a value, in function returning void mod_wsgi.c:1001: error: 'sequence' undeclared (first use in this function) mod_wsgi.c:1002: warning: 'return' with a value, in function returning void mod_wsgi.c:1007: warning: 'return' with a value, in function returning void mod_wsgi.c:1010: warning: assignment makes pointer from integer without a cast mod_wsgi.c:1027: warning: 'return' with a value, in function returning void mod_wsgi.c:1030: warning: 'return' with a value, in function returning void mod_wsgi.c: In function 'Log_dealloc': mod_wsgi.c:1033: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:1033: error: syntax error before 'Log_methods' mod_wsgi.c:1040: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:1040: error: syntax error before 'Log_Type' mod_wsgi.c:1087: error: parse error before 'LogObject' mod_wsgi.c:1088: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:1088: error: invalid storage class for function 'wsgi_log_python_error' mod_wsgi.c: In function 'wsgi_log_python_error': mod_wsgi.c:1089: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:1089: error: 'm' undeclared (first use in this function) mod_wsgi.c:1090: error: 'result' undeclared (first use in this function) mod_wsgi.c:1092: error: 'type' undeclared (first use in this function) mod_wsgi.c:1093: error: 'value' undeclared (first use in this function) mod_wsgi.c:1094: error: 'traceback' undeclared (first use in this function) mod_wsgi.c:1099: error: 'PyExc_SystemExit' undeclared (first use in this function) mod_wsgi.c:1101: error: parse error before 'ap_log_rerror' mod_wsgi.c:1130: error: 'd' undeclared (first use in this function) mod_wsgi.c:1131: error: 'o' undeclared (first use in this function) mod_wsgi.c:1138: error: 'log' undeclared (first use in this function) mod_wsgi.c:1178: error: parse error before 'PyObject_HEAD' mod_wsgi.c:1178: warning: no semicolon at end of struct or union mod_wsgi.c: In function 'Log_dealloc': mod_wsgi.c:1186: error: 'InputObject' undeclared (first use in this function) mod_wsgi.c:1188: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:1188: error: syntax error before 'Input_Type' mod_wsgi.c:1190: error: nested functions are disabled, use -fnested-functions to re-enable mod_wsgi.c:1190: error: syntax error before '*' token mod_wsgi.c:1194: error: 'Input_Type' undeclared (first use in this function) mod_wsgi.c:1196: warning: 'return' with a value, in function returning void mod_wsgi.c:1198: error: 'r' undeclared (first use in this function) mod_wsgi.c:1207: warning: 'return' with a value, in function returning void mod_wsgi.c: At top level: mod_wsgi.c:1210: error: parse error before '*' token mod_wsgi.c: In function 'Input_dealloc': mod_wsgi.c:1212: error: 'self' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:1218: error: parse error before '*' token mod_wsgi.c:1218: error: parse error before '*' token mod_wsgi.c: In function 'Input_close': mod_wsgi.c:1220: error: 'self' undeclared (first use in this function) mod_wsgi.c:1221: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:1225: error: 'args' undeclared (first use in this function) mod_wsgi.c:1228: error: 'Py_None' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:1232: error: parse error before '*' token mod_wsgi.c:1232: error: parse error before '*' token mod_wsgi.c: In function 'Input_read': mod_wsgi.c:1237: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:1237: error: 'result' undeclared (first use in this function) mod_wsgi.c:1243: error: 'self' undeclared (first use in this function) mod_wsgi.c:1244: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:1248: error: 'args' undeclared (first use in this function) mod_wsgi.c:1264: warning: return makes pointer from integer without a cast mod_wsgi.c:1285: error: 'PyStringObject' undeclared (first use in this function) mod_wsgi.c:1285: error: parse error before ')' token mod_wsgi.c:1334: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:1334: error: parse error before 'n' mod_wsgi.c:1337: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:1342: error: parse error before 'else' mod_wsgi.c:1346: error: break statement not within loop or switch mod_wsgi.c:1354: error: break statement not within loop or switch mod_wsgi.c: At top level: mod_wsgi.c:1364: error: parse error before 'if' mod_wsgi.c:1373: error: parse error before '*' token mod_wsgi.c:1373: error: parse error before '*' token mod_wsgi.c: In function 'Input_readline': mod_wsgi.c:1377: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:1377: error: 'result' undeclared (first use in this function) mod_wsgi.c:1383: error: 'self' undeclared (first use in this function) mod_wsgi.c:1384: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:1388: error: 'args' undeclared (first use in this function) mod_wsgi.c:1404: warning: return makes pointer from integer without a cast mod_wsgi.c:1420: error: 'PyStringObject' undeclared (first use in this function) mod_wsgi.c:1420: error: parse error before ')' token mod_wsgi.c:1462: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:1462: error: parse error before 'n' mod_wsgi.c:1465: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:1470: error: parse error before 'else' mod_wsgi.c:1482: error: 'p' undeclared (first use in this function) mod_wsgi.c:1483: error: 'q' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:1509: error: parse error before 'if' mod_wsgi.c:1528: error: 'self' undeclared here (not in a function) mod_wsgi.c:1528: warning: data definition has no type or storage class mod_wsgi.c:1529: error: conflicting types for 'q' mod_wsgi.c:1526: error: previous definition of 'q' was here mod_wsgi.c:1529: warning: passing argument 1 of 'memchr' makes pointer from integer without a cast mod_wsgi.c:1529: warning: initialization makes integer from pointer without a cast mod_wsgi.c:1529: error: initializer element is not constant mod_wsgi.c:1529: warning: data definition has no type or storage class mod_wsgi.c:1531: error: parse error before 'if' mod_wsgi.c:1547: error: initializer element is not constant mod_wsgi.c:1547: warning: data definition has no type or storage class mod_wsgi.c:1548: error: parse error before '}' token mod_wsgi.c:1555: error: initializer element is not constant mod_wsgi.c:1555: warning: data definition has no type or storage class mod_wsgi.c:1557: error: parse error before 'if' mod_wsgi.c:1560: error: 'PyStringObject' undeclared here (not in a function) mod_wsgi.c:1560: error: parse error before ')' token mod_wsgi.c:1566: error: redefinition of 'q' mod_wsgi.c:1526: error: previous definition of 'q' was here mod_wsgi.c:1568: error: redefinition of 'p' mod_wsgi.c:1528: error: previous definition of 'p' was here mod_wsgi.c:1568: error: initializer element is not constant mod_wsgi.c:1568: warning: data definition has no type or storage class mod_wsgi.c:1569: error: conflicting types for 'q' mod_wsgi.c:1526: error: previous definition of 'q' was here mod_wsgi.c:1569: warning: data definition has no type or storage class mod_wsgi.c:1571: error: parse error before 'while' mod_wsgi.c:1595: error: conflicting types for 'q' mod_wsgi.c:1526: error: previous definition of 'q' was here mod_wsgi.c:1598: error: parse error before 'n' mod_wsgi.c:1598: error: 'length' undeclared here (not in a function) mod_wsgi.c:1598: error: initializer element is not constant mod_wsgi.c:1598: warning: data definition has no type or storage class mod_wsgi.c:1601: error: parse error before 'if' mod_wsgi.c:1603: warning: parameter names (without types) in function declaration mod_wsgi.c:1603: warning: data definition has no type or storage class mod_wsgi.c:1604: error: parse error before 'return' mod_wsgi.c:1619: error: conflicting types for 'q' mod_wsgi.c:1526: error: previous definition of 'q' was here mod_wsgi.c:1619: error: initializer element is not constant mod_wsgi.c:1619: warning: data definition has no type or storage class mod_wsgi.c:1621: error: parse error before 'while' mod_wsgi.c:1633: error: parse error before '->' token mod_wsgi.c:1633: error: conflicting types for 'memcpy' mod_wsgi.c:1633: warning: data definition has no type or storage class mod_wsgi.c:1644: error: redefinition of 'buffer' mod_wsgi.c:1560: error: previous definition of 'buffer' was here mod_wsgi.c:1644: error: parse error before ')' token mod_wsgi.c:1665: error: parse error before '*' token mod_wsgi.c:1665: error: parse error before '*' token mod_wsgi.c: In function 'Input_readlines': mod_wsgi.c:1670: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:1671: error: 'line' undeclared (first use in this function) mod_wsgi.c:1672: error: 'rlargs' undeclared (first use in this function) mod_wsgi.c:1675: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:1679: error: 'args' undeclared (first use in this function) mod_wsgi.c:1697: warning: assignment makes integer from pointer without a cast mod_wsgi.c:1709: warning: assignment makes integer from pointer without a cast mod_wsgi.c:1722: warning: return makes pointer from integer without a cast mod_wsgi.c: At top level: mod_wsgi.c:1725: error: parse error before 'Input_methods' mod_wsgi.c:1726: warning: braces around scalar initializer mod_wsgi.c:1726: warning: (near initialization for 'Input_methods[0]') mod_wsgi.c:1726: warning: initialization makes integer from pointer without a cast mod_wsgi.c:1726: error: 'PyCFunction' undeclared here (not in a function) mod_wsgi.c:1726: warning: excess elements in scalar initializer mod_wsgi.c:1726: warning: (near initialization for 'Input_methods[0]') mod_wsgi.c:1726: error: parse error before 'Input_close' mod_wsgi.c:1726: error: 'METH_VARARGS' undeclared here (not in a function) mod_wsgi.c:1726: warning: excess elements in scalar initializer mod_wsgi.c:1726: warning: (near initialization for 'Input_methods[0]') mod_wsgi.c:1726: warning: excess elements in scalar initializer mod_wsgi.c:1726: warning: (near initialization for 'Input_methods[0]') mod_wsgi.c:1727: warning: braces around scalar initializer mod_wsgi.c:1727: warning: (near initialization for 'Input_methods[1]') mod_wsgi.c:1727: warning: initialization makes integer from pointer without a cast mod_wsgi.c:1727: warning: excess elements in scalar initializer mod_wsgi.c:1727: warning: (near initialization for 'Input_methods[1]') mod_wsgi.c:1727: error: parse error before 'Input_read' mod_wsgi.c:1727: warning: excess elements in scalar initializer mod_wsgi.c:1727: warning: (near initialization for 'Input_methods[1]') mod_wsgi.c:1727: warning: excess elements in scalar initializer mod_wsgi.c:1727: warning: (near initialization for 'Input_methods[1]') mod_wsgi.c:1728: warning: braces around scalar initializer mod_wsgi.c:1728: warning: (near initialization for 'Input_methods[2]') mod_wsgi.c:1728: warning: initialization makes integer from pointer without a cast mod_wsgi.c:1728: warning: excess elements in scalar initializer mod_wsgi.c:1728: warning: (near initialization for 'Input_methods[2]') mod_wsgi.c:1728: error: parse error before 'Input_readline' mod_wsgi.c:1728: warning: excess elements in scalar initializer mod_wsgi.c:1728: warning: (near initialization for 'Input_methods[2]') mod_wsgi.c:1728: warning: excess elements in scalar initializer mod_wsgi.c:1728: warning: (near initialization for 'Input_methods[2]') mod_wsgi.c:1729: warning: braces around scalar initializer mod_wsgi.c:1729: warning: (near initialization for 'Input_methods[3]') mod_wsgi.c:1729: warning: initialization makes integer from pointer without a cast mod_wsgi.c:1729: warning: excess elements in scalar initializer mod_wsgi.c:1729: warning: (near initialization for 'Input_methods[3]') mod_wsgi.c:1729: error: parse error before 'Input_readlines' mod_wsgi.c:1729: warning: excess elements in scalar initializer mod_wsgi.c:1729: warning: (near initialization for 'Input_methods[3]') mod_wsgi.c:1729: warning: excess elements in scalar initializer mod_wsgi.c:1729: warning: (near initialization for 'Input_methods[3]') mod_wsgi.c:1730: warning: braces around scalar initializer mod_wsgi.c:1730: warning: (near initialization for 'Input_methods[4]') mod_wsgi.c:1730: warning: initialization makes integer from pointer without a cast mod_wsgi.c:1730: warning: excess elements in scalar initializer mod_wsgi.c:1730: warning: (near initialization for 'Input_methods[4]') mod_wsgi.c:1731: warning: data definition has no type or storage class mod_wsgi.c:1733: error: parse error before '*' token mod_wsgi.c:1733: error: parse error before '*' token mod_wsgi.c: In function 'Input_iter': mod_wsgi.c:1736: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:1741: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:1741: error: parse error before ')' token mod_wsgi.c: At top level: mod_wsgi.c:1744: error: parse error before '*' token mod_wsgi.c:1744: error: parse error before '*' token mod_wsgi.c: In function 'Input_iternext': mod_wsgi.c:1746: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:1746: error: 'line' undeclared (first use in this function) mod_wsgi.c:1747: error: 'rlargs' undeclared (first use in this function) mod_wsgi.c:1750: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:1767: error: 'PyExc_StopIteration' undeclared (first use in this function) mod_wsgi.c:1767: error: 'Py_None' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:1775: error: parse error before 'Input_Type' mod_wsgi.c:1779: error: initializer element is not constant mod_wsgi.c:1779: error: (near initialization for 'Input_Type') mod_wsgi.c:1779: error: parse error before numeric constant mod_wsgi.c:1780: warning: excess elements in scalar initializer mod_wsgi.c:1780: warning: (near initialization for 'Input_Type') mod_wsgi.c:1781: error: 'InputObject' undeclared here (not in a function) mod_wsgi.c:1781: warning: excess elements in scalar initializer mod_wsgi.c:1781: warning: (near initialization for 'Input_Type') mod_wsgi.c:1782: warning: excess elements in scalar initializer mod_wsgi.c:1782: warning: (near initialization for 'Input_Type') mod_wsgi.c:1784: error: 'destructor' undeclared here (not in a function) mod_wsgi.c:1784: warning: excess elements in scalar initializer mod_wsgi.c:1784: warning: (near initialization for 'Input_Type') mod_wsgi.c:1784: error: parse error before 'Input_dealloc' mod_wsgi.c:1785: warning: excess elements in scalar initializer mod_wsgi.c:1785: warning: (near initialization for 'Input_Type') mod_wsgi.c:1786: warning: excess elements in scalar initializer mod_wsgi.c:1786: warning: (near initialization for 'Input_Type') mod_wsgi.c:1787: warning: excess elements in scalar initializer mod_wsgi.c:1787: warning: (near initialization for 'Input_Type') mod_wsgi.c:1788: warning: excess elements in scalar initializer mod_wsgi.c:1788: warning: (near initialization for 'Input_Type') mod_wsgi.c:1789: warning: excess elements in scalar initializer mod_wsgi.c:1789: warning: (near initialization for 'Input_Type') mod_wsgi.c:1790: warning: excess elements in scalar initializer mod_wsgi.c:1790: warning: (near initialization for 'Input_Type') mod_wsgi.c:1791: warning: excess elements in scalar initializer mod_wsgi.c:1791: warning: (near initialization for 'Input_Type') mod_wsgi.c:1792: warning: excess elements in scalar initializer mod_wsgi.c:1792: warning: (near initialization for 'Input_Type') mod_wsgi.c:1793: warning: excess elements in scalar initializer mod_wsgi.c:1793: warning: (near initialization for 'Input_Type') mod_wsgi.c:1794: warning: excess elements in scalar initializer mod_wsgi.c:1794: warning: (near initialization for 'Input_Type') mod_wsgi.c:1795: warning: excess elements in scalar initializer mod_wsgi.c:1795: warning: (near initialization for 'Input_Type') mod_wsgi.c:1796: warning: excess elements in scalar initializer mod_wsgi.c:1796: warning: (near initialization for 'Input_Type') mod_wsgi.c:1797: warning: excess elements in scalar initializer mod_wsgi.c:1797: warning: (near initialization for 'Input_Type') mod_wsgi.c:1798: warning: excess elements in scalar initializer mod_wsgi.c:1798: warning: (near initialization for 'Input_Type') mod_wsgi.c:1799: error: 'Py_TPFLAGS_DEFAULT' undeclared here (not in a function) mod_wsgi.c:1799: error: 'Py_TPFLAGS_HAVE_ITER' undeclared here (not in a function) mod_wsgi.c:1799: warning: excess elements in scalar initializer mod_wsgi.c:1799: warning: (near initialization for 'Input_Type') mod_wsgi.c:1800: warning: excess elements in scalar initializer mod_wsgi.c:1800: warning: (near initialization for 'Input_Type') mod_wsgi.c:1801: warning: excess elements in scalar initializer mod_wsgi.c:1801: warning: (near initialization for 'Input_Type') mod_wsgi.c:1802: warning: excess elements in scalar initializer mod_wsgi.c:1802: warning: (near initialization for 'Input_Type') mod_wsgi.c:1803: warning: excess elements in scalar initializer mod_wsgi.c:1803: warning: (near initialization for 'Input_Type') mod_wsgi.c:1804: warning: excess elements in scalar initializer mod_wsgi.c:1804: warning: (near initialization for 'Input_Type') mod_wsgi.c:1805: error: 'getiterfunc' undeclared here (not in a function) mod_wsgi.c:1805: warning: excess elements in scalar initializer mod_wsgi.c:1805: warning: (near initialization for 'Input_Type') mod_wsgi.c:1805: error: parse error before 'Input_iter' mod_wsgi.c:1806: error: 'iternextfunc' undeclared here (not in a function) mod_wsgi.c:1806: warning: excess elements in scalar initializer mod_wsgi.c:1806: warning: (near initialization for 'Input_Type') mod_wsgi.c:1806: error: parse error before 'Input_iternext' mod_wsgi.c:1807: warning: excess elements in scalar initializer mod_wsgi.c:1807: warning: (near initialization for 'Input_Type') mod_wsgi.c:1808: warning: excess elements in scalar initializer mod_wsgi.c:1808: warning: (near initialization for 'Input_Type') mod_wsgi.c:1809: warning: excess elements in scalar initializer mod_wsgi.c:1809: warning: (near initialization for 'Input_Type') mod_wsgi.c:1810: warning: excess elements in scalar initializer mod_wsgi.c:1810: warning: (near initialization for 'Input_Type') mod_wsgi.c:1811: warning: excess elements in scalar initializer mod_wsgi.c:1811: warning: (near initialization for 'Input_Type') mod_wsgi.c:1812: warning: excess elements in scalar initializer mod_wsgi.c:1812: warning: (near initialization for 'Input_Type') mod_wsgi.c:1813: warning: excess elements in scalar initializer mod_wsgi.c:1813: warning: (near initialization for 'Input_Type') mod_wsgi.c:1814: warning: excess elements in scalar initializer mod_wsgi.c:1814: warning: (near initialization for 'Input_Type') mod_wsgi.c:1815: warning: excess elements in scalar initializer mod_wsgi.c:1815: warning: (near initialization for 'Input_Type') mod_wsgi.c:1816: warning: excess elements in scalar initializer mod_wsgi.c:1816: warning: (near initialization for 'Input_Type') mod_wsgi.c:1817: warning: excess elements in scalar initializer mod_wsgi.c:1817: warning: (near initialization for 'Input_Type') mod_wsgi.c:1818: warning: excess elements in scalar initializer mod_wsgi.c:1818: warning: (near initialization for 'Input_Type') mod_wsgi.c:1819: warning: excess elements in scalar initializer mod_wsgi.c:1819: warning: (near initialization for 'Input_Type') mod_wsgi.c:1820: warning: data definition has no type or storage class mod_wsgi.c:1823: error: parse error before 'PyObject_HEAD' mod_wsgi.c:1823: warning: no semicolon at end of struct or union mod_wsgi.c:1829: error: parse error before '*' token mod_wsgi.c:1829: warning: data definition has no type or storage class mod_wsgi.c:1830: error: parse error before '*' token mod_wsgi.c:1830: warning: built-in function 'log' declared as non-function mod_wsgi.c:1830: warning: data definition has no type or storage class mod_wsgi.c:1833: error: parse error before '*' token mod_wsgi.c:1833: warning: data definition has no type or storage class mod_wsgi.c:1834: error: parse error before '*' token mod_wsgi.c:1834: warning: data definition has no type or storage class mod_wsgi.c:1835: error: parse error before '}' token mod_wsgi.c:1835: warning: data definition has no type or storage class mod_wsgi.c:1837: error: parse error before 'Adapter_Type' mod_wsgi.c:1837: warning: data definition has no type or storage class mod_wsgi.c:1839: error: parse error before '*' token mod_wsgi.c:1867: error: parse error before '*' token mod_wsgi.c:1878: error: parse error before '*' token mod_wsgi.c:1878: error: parse error before '*' token mod_wsgi.c: In function 'Adapter_start': mod_wsgi.c:1881: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:1882: error: 'exc_info' undeclared (first use in this function) mod_wsgi.c:1887: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:1891: error: 'args' undeclared (first use in this function) mod_wsgi.c:1897: error: 'PyExc_TypeError' undeclared (first use in this function) mod_wsgi.c:1901: error: 'Py_None' undeclared (first use in this function) mod_wsgi.c:1903: error: 'type' undeclared (first use in this function) mod_wsgi.c:1905: error: 'traceback' undeclared (first use in this function) mod_wsgi.c:1945: error: 'PyExc_ValueError' undeclared (first use in this function) mod_wsgi.c:1955: error: parse error before ')' token mod_wsgi.c: At top level: mod_wsgi.c:1958: error: parse error before '*' token mod_wsgi.c: In function 'Adapter_output': mod_wsgi.c:1964: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:1977: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:1977: error: 'tuple' undeclared (first use in this function) mod_wsgi.c:1979: error: 'object1' undeclared (first use in this function) mod_wsgi.c:1980: error: 'object2' undeclared (first use in this function) mod_wsgi.c:1988: error: 'PyExc_TypeError' undeclared (first use in this function) mod_wsgi.c:1995: error: 'PyExc_ValueError' undeclared (first use in this function) mod_wsgi.c:2108: error: 'PyExc_IOError' undeclared (first use in this function) mod_wsgi.c:2117: error: 'data' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:2190: error: parse error before '*' token mod_wsgi.c:2190: error: parse error before '*' token mod_wsgi.c: In function 'Adapter_environ': mod_wsgi.c:2194: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:2194: error: 'vars' undeclared (first use in this function) mod_wsgi.c:2195: error: 'object' undeclared (first use in this function) mod_wsgi.c:2223: error: 'Py_None' undeclared (first use in this function) mod_wsgi.c:2241: error: 'Py_False' undeclared (first use in this function) mod_wsgi.c:2261: error: parse error before ')' token mod_wsgi.c:2266: error: parse error before ')' token mod_wsgi.c: At top level: mod_wsgi.c:2272: error: parse error before '*' token mod_wsgi.c: In function 'Adapter_run': mod_wsgi.c:2276: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:2276: error: 'vars' undeclared (first use in this function) mod_wsgi.c:2277: error: 'start' undeclared (first use in this function) mod_wsgi.c:2278: error: 'args' undeclared (first use in this function) mod_wsgi.c:2279: error: 'iterator' undeclared (first use in this function) mod_wsgi.c:2280: error: 'close' undeclared (first use in this function) mod_wsgi.c:2287: error: parse error before ')' token mod_wsgi.c:2291: error: 'object' undeclared (first use in this function) mod_wsgi.c:2297: error: 'item' undeclared (first use in this function) mod_wsgi.c:2301: error: 'PyExc_TypeError' undeclared (first use in this function) mod_wsgi.c:2307: warning: assignment makes pointer from integer without a cast mod_wsgi.c:2331: error: 'data' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:2371: error: parse error before '*' token mod_wsgi.c:2371: error: parse error before '*' token mod_wsgi.c: In function 'Adapter_write': mod_wsgi.c:2373: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:2373: error: 'item' undeclared (first use in this function) mod_wsgi.c:2378: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:2382: error: 'args' undeclared (first use in this function) mod_wsgi.c:2385: warning: assignment makes pointer from integer without a cast mod_wsgi.c:2391: error: 'Py_None' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:2395: error: parse error before 'Adapter_methods' mod_wsgi.c:2396: warning: braces around scalar initializer mod_wsgi.c:2396: warning: (near initialization for 'Adapter_methods[0]') mod_wsgi.c:2396: warning: initialization makes integer from pointer without a cast mod_wsgi.c:2396: warning: excess elements in scalar initializer mod_wsgi.c:2396: warning: (near initialization for 'Adapter_methods[0]') mod_wsgi.c:2396: error: parse error before 'Adapter_start' mod_wsgi.c:2396: warning: excess elements in scalar initializer mod_wsgi.c:2396: warning: (near initialization for 'Adapter_methods[0]') mod_wsgi.c:2396: warning: excess elements in scalar initializer mod_wsgi.c:2396: warning: (near initialization for 'Adapter_methods[0]') mod_wsgi.c:2397: warning: braces around scalar initializer mod_wsgi.c:2397: warning: (near initialization for 'Adapter_methods[1]') mod_wsgi.c:2397: warning: initialization makes integer from pointer without a cast mod_wsgi.c:2397: warning: excess elements in scalar initializer mod_wsgi.c:2397: warning: (near initialization for 'Adapter_methods[1]') mod_wsgi.c:2397: error: parse error before 'Adapter_write' mod_wsgi.c:2397: warning: excess elements in scalar initializer mod_wsgi.c:2397: warning: (near initialization for 'Adapter_methods[1]') mod_wsgi.c:2397: warning: excess elements in scalar initializer mod_wsgi.c:2397: warning: (near initialization for 'Adapter_methods[1]') mod_wsgi.c:2398: warning: braces around scalar initializer mod_wsgi.c:2398: warning: (near initialization for 'Adapter_methods[2]') mod_wsgi.c:2398: warning: initialization makes integer from pointer without a cast mod_wsgi.c:2398: warning: excess elements in scalar initializer mod_wsgi.c:2398: warning: (near initialization for 'Adapter_methods[2]') mod_wsgi.c:2399: warning: data definition has no type or storage class mod_wsgi.c:2401: error: parse error before 'Adapter_Type' mod_wsgi.c:2405: error: initializer element is not constant mod_wsgi.c:2405: error: (near initialization for 'Adapter_Type') mod_wsgi.c:2405: error: parse error before numeric constant mod_wsgi.c:2406: warning: excess elements in scalar initializer mod_wsgi.c:2406: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2407: warning: excess elements in scalar initializer mod_wsgi.c:2407: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2408: warning: excess elements in scalar initializer mod_wsgi.c:2408: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2410: warning: excess elements in scalar initializer mod_wsgi.c:2410: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2410: error: parse error before 'Adapter_dealloc' mod_wsgi.c:2411: warning: excess elements in scalar initializer mod_wsgi.c:2411: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2412: warning: excess elements in scalar initializer mod_wsgi.c:2412: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2413: warning: excess elements in scalar initializer mod_wsgi.c:2413: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2414: warning: excess elements in scalar initializer mod_wsgi.c:2414: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2415: warning: excess elements in scalar initializer mod_wsgi.c:2415: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2416: warning: excess elements in scalar initializer mod_wsgi.c:2416: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2417: warning: excess elements in scalar initializer mod_wsgi.c:2417: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2418: warning: excess elements in scalar initializer mod_wsgi.c:2418: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2419: warning: excess elements in scalar initializer mod_wsgi.c:2419: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2420: warning: excess elements in scalar initializer mod_wsgi.c:2420: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2421: warning: excess elements in scalar initializer mod_wsgi.c:2421: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2422: warning: excess elements in scalar initializer mod_wsgi.c:2422: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2423: warning: excess elements in scalar initializer mod_wsgi.c:2423: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2424: warning: excess elements in scalar initializer mod_wsgi.c:2424: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2425: warning: excess elements in scalar initializer mod_wsgi.c:2425: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2426: warning: excess elements in scalar initializer mod_wsgi.c:2426: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2427: warning: excess elements in scalar initializer mod_wsgi.c:2427: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2428: warning: excess elements in scalar initializer mod_wsgi.c:2428: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2429: warning: excess elements in scalar initializer mod_wsgi.c:2429: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2430: warning: excess elements in scalar initializer mod_wsgi.c:2430: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2431: warning: excess elements in scalar initializer mod_wsgi.c:2431: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2432: warning: excess elements in scalar initializer mod_wsgi.c:2432: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2433: warning: excess elements in scalar initializer mod_wsgi.c:2433: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2434: warning: excess elements in scalar initializer mod_wsgi.c:2434: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2435: warning: excess elements in scalar initializer mod_wsgi.c:2435: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2436: warning: excess elements in scalar initializer mod_wsgi.c:2436: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2437: warning: excess elements in scalar initializer mod_wsgi.c:2437: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2438: warning: excess elements in scalar initializer mod_wsgi.c:2438: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2439: warning: excess elements in scalar initializer mod_wsgi.c:2439: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2440: warning: excess elements in scalar initializer mod_wsgi.c:2440: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2441: warning: excess elements in scalar initializer mod_wsgi.c:2441: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2442: warning: excess elements in scalar initializer mod_wsgi.c:2442: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2443: warning: excess elements in scalar initializer mod_wsgi.c:2443: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2444: warning: excess elements in scalar initializer mod_wsgi.c:2444: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2445: warning: excess elements in scalar initializer mod_wsgi.c:2445: warning: (near initialization for 'Adapter_Type') mod_wsgi.c:2446: warning: data definition has no type or storage class mod_wsgi.c:2451: error: parse error before 'PyObject_HEAD' mod_wsgi.c:2451: warning: no semicolon at end of struct or union mod_wsgi.c:2453: warning: data definition has no type or storage class mod_wsgi.c:2455: error: parse error before 'Restricted_Type' mod_wsgi.c:2455: warning: data definition has no type or storage class mod_wsgi.c:2457: error: parse error before '*' token mod_wsgi.c:2470: error: parse error before '*' token mod_wsgi.c:2475: error: parse error before '*' token mod_wsgi.c:2475: error: parse error before '*' token mod_wsgi.c: In function 'Restricted_getattr': mod_wsgi.c:2477: error: 'PyExc_IOError' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:2482: error: parse error before 'Restricted_Type' mod_wsgi.c:2486: error: initializer element is not constant mod_wsgi.c:2486: error: (near initialization for 'Restricted_Type') mod_wsgi.c:2486: error: parse error before numeric constant mod_wsgi.c:2487: warning: excess elements in scalar initializer mod_wsgi.c:2487: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2488: warning: excess elements in scalar initializer mod_wsgi.c:2488: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2489: warning: excess elements in scalar initializer mod_wsgi.c:2489: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2491: warning: excess elements in scalar initializer mod_wsgi.c:2491: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2491: error: parse error before 'Restricted_dealloc' mod_wsgi.c:2492: warning: excess elements in scalar initializer mod_wsgi.c:2492: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2493: error: 'getattrfunc' undeclared here (not in a function) mod_wsgi.c:2493: warning: excess elements in scalar initializer mod_wsgi.c:2493: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2493: error: parse error before 'Restricted_getattr' mod_wsgi.c:2494: warning: excess elements in scalar initializer mod_wsgi.c:2494: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2495: warning: excess elements in scalar initializer mod_wsgi.c:2495: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2496: warning: excess elements in scalar initializer mod_wsgi.c:2496: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2497: warning: excess elements in scalar initializer mod_wsgi.c:2497: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2498: warning: excess elements in scalar initializer mod_wsgi.c:2498: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2499: warning: excess elements in scalar initializer mod_wsgi.c:2499: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2500: warning: excess elements in scalar initializer mod_wsgi.c:2500: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2501: warning: excess elements in scalar initializer mod_wsgi.c:2501: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2502: warning: excess elements in scalar initializer mod_wsgi.c:2502: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2503: warning: excess elements in scalar initializer mod_wsgi.c:2503: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2504: warning: excess elements in scalar initializer mod_wsgi.c:2504: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2505: warning: excess elements in scalar initializer mod_wsgi.c:2505: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2506: warning: excess elements in scalar initializer mod_wsgi.c:2506: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2507: warning: excess elements in scalar initializer mod_wsgi.c:2507: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2508: warning: excess elements in scalar initializer mod_wsgi.c:2508: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2509: warning: excess elements in scalar initializer mod_wsgi.c:2509: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2510: warning: excess elements in scalar initializer mod_wsgi.c:2510: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2511: warning: excess elements in scalar initializer mod_wsgi.c:2511: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2512: warning: excess elements in scalar initializer mod_wsgi.c:2512: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2513: warning: excess elements in scalar initializer mod_wsgi.c:2513: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2514: warning: excess elements in scalar initializer mod_wsgi.c:2514: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2515: warning: excess elements in scalar initializer mod_wsgi.c:2515: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2516: warning: excess elements in scalar initializer mod_wsgi.c:2516: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2517: warning: excess elements in scalar initializer mod_wsgi.c:2517: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2518: warning: excess elements in scalar initializer mod_wsgi.c:2518: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2519: warning: excess elements in scalar initializer mod_wsgi.c:2519: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2520: warning: excess elements in scalar initializer mod_wsgi.c:2520: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2521: warning: excess elements in scalar initializer mod_wsgi.c:2521: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2522: warning: excess elements in scalar initializer mod_wsgi.c:2522: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2523: warning: excess elements in scalar initializer mod_wsgi.c:2523: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2524: warning: excess elements in scalar initializer mod_wsgi.c:2524: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2525: warning: excess elements in scalar initializer mod_wsgi.c:2525: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2526: warning: excess elements in scalar initializer mod_wsgi.c:2526: warning: (near initialization for 'Restricted_Type') mod_wsgi.c:2527: warning: data definition has no type or storage class mod_wsgi.c:2531: error: parse error before '*' token mod_wsgi.c:2531: error: parse error before '*' token mod_wsgi.c: In function 'wsgi_signal_intercept': mod_wsgi.c:2533: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:2533: error: 'h' undeclared (first use in this function) mod_wsgi.c:2536: error: 'm' undeclared (first use in this function) mod_wsgi.c:2538: error: 'args' undeclared (first use in this function) mod_wsgi.c:2542: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:2542: error: parse error before 'ap_log_error' mod_wsgi.c:2547: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:2550: error: 'd' undeclared (first use in this function) mod_wsgi.c:2551: error: 'o' undeclared (first use in this function) mod_wsgi.c:2559: error: parse error before ')' token mod_wsgi.c:2560: error: 'Py_None' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:2576: error: parse error before 'wsgi_signal_method' mod_wsgi.c:2577: warning: braces around scalar initializer mod_wsgi.c:2577: warning: (near initialization for 'wsgi_signal_method[0]') mod_wsgi.c:2577: warning: initialization makes integer from pointer without a cast mod_wsgi.c:2577: warning: excess elements in scalar initializer mod_wsgi.c:2577: warning: (near initialization for 'wsgi_signal_method[0]') mod_wsgi.c:2577: error: parse error before 'wsgi_signal_intercept' mod_wsgi.c:2577: warning: excess elements in scalar initializer mod_wsgi.c:2577: warning: (near initialization for 'wsgi_signal_method[0]') mod_wsgi.c:2577: warning: excess elements in scalar initializer mod_wsgi.c:2577: warning: (near initialization for 'wsgi_signal_method[0]') mod_wsgi.c:2578: warning: braces around scalar initializer mod_wsgi.c:2578: warning: (near initialization for 'wsgi_signal_method[1]') mod_wsgi.c:2578: warning: initialization makes integer from pointer without a cast mod_wsgi.c:2578: warning: excess elements in scalar initializer mod_wsgi.c:2578: warning: (near initialization for 'wsgi_signal_method[1]') mod_wsgi.c:2579: warning: data definition has no type or storage class mod_wsgi.c:2584: error: parse error before 'PyObject_HEAD' mod_wsgi.c:2584: warning: no semicolon at end of struct or union mod_wsgi.c:2586: warning: data definition has no type or storage class mod_wsgi.c:2588: error: parse error before '}' token mod_wsgi.c:2588: warning: data definition has no type or storage class mod_wsgi.c:2590: error: parse error before 'Interpreter_Type' mod_wsgi.c:2590: warning: data definition has no type or storage class mod_wsgi.c:2592: error: parse error before '*' token mod_wsgi.c:2593: error: parse error before 'PyInterpreterState' mod_wsgi.c: In function 'newInterpreterObject': mod_wsgi.c:2596: error: 'PyThreadState' undeclared (first use in this function) mod_wsgi.c:2596: error: 'tstate' undeclared (first use in this function) mod_wsgi.c:2597: error: 'save_tstate' undeclared (first use in this function) mod_wsgi.c:2598: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:2598: error: parse error before 'module' mod_wsgi.c:2599: error: 'object' undeclared (first use in this function) mod_wsgi.c:2600: error: 'item' undeclared (first use in this function) mod_wsgi.c:2612: error: 'name' undeclared (first use in this function) mod_wsgi.c:2647: error: 'PyExc_RuntimeError' undeclared (first use in this function) mod_wsgi.c:2655: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:2655: error: parse error before 'ap_log_error' mod_wsgi.c:2660: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:2670: error: parse error before '=' token mod_wsgi.c:2672: error: parse error before 'module' mod_wsgi.c:2685: error: parse error before ')' token mod_wsgi.c:2693: error: parse error before ')' token mod_wsgi.c:2698: error: parse error before ')' token mod_wsgi.c:2704: error: parse error before ')' token mod_wsgi.c:2731: error: parse error before '=' token mod_wsgi.c:2732: error: parse error before 'module' mod_wsgi.c:2734: error: parse error before 'module' mod_wsgi.c: At top level: mod_wsgi.c:2744: error: parse error before '*' token mod_wsgi.c: In function 'Interpreter_dealloc': mod_wsgi.c:2746: error: 'PyThreadState' undeclared (first use in this function) mod_wsgi.c:2746: error: 'tstate' undeclared (first use in this function) mod_wsgi.c:2747: error: 'PyObject' undeclared (first use in this function) mod_wsgi.c:2747: error: 'exitfunc' undeclared (first use in this function) mod_wsgi.c:2748: error: parse error before 'module' mod_wsgi.c:2769: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:2769: error: parse error before 'ap_log_error' mod_wsgi.c:2773: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:2796: error: parse error before 'module' mod_wsgi.c:2799: error: parse error before 'module' mod_wsgi.c:2801: error: 'func' undeclared (first use in this function) mod_wsgi.c:2803: error: 'dict' undeclared (first use in this function) mod_wsgi.c:2803: error: parse error before 'module' mod_wsgi.c:2806: error: 'res' undeclared (first use in this function) mod_wsgi.c:2808: error: parse error before ')' token mod_wsgi.c:2825: error: parse error before 'module' mod_wsgi.c:2829: error: parse error before 'module' mod_wsgi.c:2834: error: parse error before ')' token mod_wsgi.c:2837: error: 'm' undeclared (first use in this function) mod_wsgi.c:2840: error: 'type' undeclared (first use in this function) mod_wsgi.c:2841: error: 'value' undeclared (first use in this function) mod_wsgi.c:2842: error: 'traceback' undeclared (first use in this function) mod_wsgi.c:2845: error: parse error before 'ap_log_error' mod_wsgi.c:2854: error: 'Py_None' undeclared (first use in this function) mod_wsgi.c:2866: error: 'd' undeclared (first use in this function) mod_wsgi.c:2867: error: 'o' undeclared (first use in this function) mod_wsgi.c:2872: error: 'args' undeclared (first use in this function) mod_wsgi.c:2874: error: parse error before ')' token mod_wsgi.c:2896: error: 'PyExc_SystemExit' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:2923: error: parse error before 'if' mod_wsgi.c:2929: error: initializer element is not constant mod_wsgi.c:2929: warning: data definition has no type or storage class mod_wsgi.c:2931: error: parse error before 'if' mod_wsgi.c:2933: warning: parameter names (without types) in function declaration mod_wsgi.c:2933: warning: data definition has no type or storage class mod_wsgi.c:2934: error: parse error before string constant mod_wsgi.c:2935: error: 'PyObject' undeclared here (not in a function) mod_wsgi.c:2935: error: parse error before ')' token mod_wsgi.c:2935: error: initializer element is not constant mod_wsgi.c:2935: warning: data definition has no type or storage class mod_wsgi.c:2937: error: parse error before 'if' mod_wsgi.c:2939: error: conflicting types for 'result' mod_wsgi.c:1555: error: previous definition of 'result' was here mod_wsgi.c:2939: warning: data definition has no type or storage class mod_wsgi.c:2941: error: parse error before '*' token mod_wsgi.c:2941: warning: data definition has no type or storage class mod_wsgi.c:2942: error: parse error before '*' token mod_wsgi.c:2942: warning: data definition has no type or storage class mod_wsgi.c:2943: error: parse error before '*' token mod_wsgi.c:2943: warning: data definition has no type or storage class mod_wsgi.c:2945: error: parse error before 'if' mod_wsgi.c:2961: error: parse error before '&' token mod_wsgi.c:2961: warning: data definition has no type or storage class mod_wsgi.c:2965: warning: parameter names (without types) in function declaration mod_wsgi.c:2965: warning: data definition has no type or storage class mod_wsgi.c:2966: error: parse error before '}' token mod_wsgi.c:2970: warning: parameter names (without types) in function declaration mod_wsgi.c:2970: warning: data definition has no type or storage class mod_wsgi.c:2971: error: parse error before '}' token mod_wsgi.c:2973: error: initializer element is not constant mod_wsgi.c:2973: warning: data definition has no type or storage class mod_wsgi.c:2975: error: parse error before 'if' mod_wsgi.c:2977: warning: data definition has no type or storage class mod_wsgi.c:2978: error: initializer element is not constant mod_wsgi.c:2978: warning: data definition has no type or storage class mod_wsgi.c:2979: error: conflicting types for 'o' mod_wsgi.c:2977: error: previous definition of 'o' was here mod_wsgi.c:2979: error: initializer element is not constant mod_wsgi.c:2979: warning: data definition has no type or storage class mod_wsgi.c:2980: error: parse error before 'if' mod_wsgi.c:2982: warning: data definition has no type or storage class mod_wsgi.c:2983: warning: parameter names (without types) in function declaration mod_wsgi.c:2983: warning: data definition has no type or storage class mod_wsgi.c:2984: error: conflicting types for 'log' mod_wsgi.c:1830: error: previous declaration of 'log' was here mod_wsgi.c:2984: error: parse error before ')' token mod_wsgi.c:2985: error: conflicting types for 'args' mod_wsgi.c:2982: error: previous definition of 'args' was here mod_wsgi.c:2986: error: 'Py_None' undeclared here (not in a function) mod_wsgi.c:2986: error: initializer element is not constant mod_wsgi.c:2986: warning: data definition has no type or storage class mod_wsgi.c:2987: error: redefinition of 'result' mod_wsgi.c:1555: error: previous definition of 'result' was here mod_wsgi.c:2987: error: initializer element is not constant mod_wsgi.c:2987: warning: data definition has no type or storage class mod_wsgi.c:2988: warning: parameter names (without types) in function declaration mod_wsgi.c:2988: warning: data definition has no type or storage class mod_wsgi.c:2989: warning: parameter names (without types) in function declaration mod_wsgi.c:2989: warning: data definition has no type or storage class mod_wsgi.c:2990: warning: parameter names (without types) in function declaration mod_wsgi.c:2990: warning: data definition has no type or storage class mod_wsgi.c:2991: error: parse error before '}' token mod_wsgi.c:3017: warning: parameter names (without types) in function declaration mod_wsgi.c:3017: warning: data definition has no type or storage class mod_wsgi.c:3018: warning: parameter names (without types) in function declaration mod_wsgi.c:3018: warning: data definition has no type or storage class mod_wsgi.c:3019: error: parse error before '}' token mod_wsgi.c:3021: warning: parameter names (without types) in function declaration mod_wsgi.c:3021: warning: data definition has no type or storage class mod_wsgi.c:3023: warning: parameter names (without types) in function declaration mod_wsgi.c:3023: warning: data definition has no type or storage class mod_wsgi.c:3024: error: parse error before '}' token mod_wsgi.c:3026: warning: parameter names (without types) in function declaration mod_wsgi.c:3026: warning: data definition has no type or storage class mod_wsgi.c:3027: warning: parameter names (without types) in function declaration mod_wsgi.c:3027: warning: data definition has no type or storage class mod_wsgi.c:3028: error: parse error before '}' token mod_wsgi.c:3036: warning: parameter names (without types) in function declaration mod_wsgi.c:3036: warning: data definition has no type or storage class mod_wsgi.c:3037: warning: parameter names (without types) in function declaration mod_wsgi.c:3037: warning: data definition has no type or storage class mod_wsgi.c:3038: warning: parameter names (without types) in function declaration mod_wsgi.c:3038: warning: data definition has no type or storage class mod_wsgi.c:3039: error: parse error before '}' token mod_wsgi.c:3043: warning: data definition has no type or storage class mod_wsgi.c:3044: error: parse error before '}' token mod_wsgi.c:3048: error: parse error before '->' token mod_wsgi.c:3048: error: conflicting types for 'free' /usr/include/stdlib.h:159: error: previous declaration of 'free' was here mod_wsgi.c:3048: warning: data definition has no type or storage class mod_wsgi.c:3050: warning: parameter names (without types) in function declaration mod_wsgi.c:3050: warning: data definition has no type or storage class mod_wsgi.c:3051: error: parse error before '}' token mod_wsgi.c:3053: error: parse error before 'Interpreter_Type' mod_wsgi.c:3057: error: initializer element is not constant mod_wsgi.c:3057: error: (near initialization for 'Interpreter_Type') mod_wsgi.c:3057: error: parse error before numeric constant mod_wsgi.c:3058: warning: excess elements in scalar initializer mod_wsgi.c:3058: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3059: warning: excess elements in scalar initializer mod_wsgi.c:3059: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3060: warning: excess elements in scalar initializer mod_wsgi.c:3060: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3062: warning: excess elements in scalar initializer mod_wsgi.c:3062: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3062: error: parse error before 'Interpreter_dealloc' mod_wsgi.c:3063: warning: excess elements in scalar initializer mod_wsgi.c:3063: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3064: warning: excess elements in scalar initializer mod_wsgi.c:3064: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3065: warning: excess elements in scalar initializer mod_wsgi.c:3065: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3066: warning: excess elements in scalar initializer mod_wsgi.c:3066: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3067: warning: excess elements in scalar initializer mod_wsgi.c:3067: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3068: warning: excess elements in scalar initializer mod_wsgi.c:3068: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3069: warning: excess elements in scalar initializer mod_wsgi.c:3069: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3070: warning: excess elements in scalar initializer mod_wsgi.c:3070: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3071: warning: excess elements in scalar initializer mod_wsgi.c:3071: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3072: warning: excess elements in scalar initializer mod_wsgi.c:3072: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3073: warning: excess elements in scalar initializer mod_wsgi.c:3073: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3074: warning: excess elements in scalar initializer mod_wsgi.c:3074: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3075: warning: excess elements in scalar initializer mod_wsgi.c:3075: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3076: warning: excess elements in scalar initializer mod_wsgi.c:3076: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3077: warning: excess elements in scalar initializer mod_wsgi.c:3077: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3078: warning: excess elements in scalar initializer mod_wsgi.c:3078: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3079: warning: excess elements in scalar initializer mod_wsgi.c:3079: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3080: warning: excess elements in scalar initializer mod_wsgi.c:3080: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3081: warning: excess elements in scalar initializer mod_wsgi.c:3081: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3082: warning: excess elements in scalar initializer mod_wsgi.c:3082: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3083: warning: excess elements in scalar initializer mod_wsgi.c:3083: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3084: warning: excess elements in scalar initializer mod_wsgi.c:3084: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3085: warning: excess elements in scalar initializer mod_wsgi.c:3085: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3086: warning: excess elements in scalar initializer mod_wsgi.c:3086: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3087: warning: excess elements in scalar initializer mod_wsgi.c:3087: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3088: warning: excess elements in scalar initializer mod_wsgi.c:3088: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3089: warning: excess elements in scalar initializer mod_wsgi.c:3089: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3090: warning: excess elements in scalar initializer mod_wsgi.c:3090: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3091: warning: excess elements in scalar initializer mod_wsgi.c:3091: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3092: warning: excess elements in scalar initializer mod_wsgi.c:3092: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3093: warning: excess elements in scalar initializer mod_wsgi.c:3093: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3094: warning: excess elements in scalar initializer mod_wsgi.c:3094: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3095: warning: excess elements in scalar initializer mod_wsgi.c:3095: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3096: warning: excess elements in scalar initializer mod_wsgi.c:3096: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3097: warning: excess elements in scalar initializer mod_wsgi.c:3097: warning: (near initialization for 'Interpreter_Type') mod_wsgi.c:3098: warning: data definition has no type or storage class mod_wsgi.c: In function 'wsgi_python_version': mod_wsgi.c:3114: error: 'PY_VERSION' undeclared (first use in this function) mod_wsgi.c: In function 'wsgi_python_term': mod_wsgi.c:3132: error: 'PyInterpreterState' undeclared (first use in this function) mod_wsgi.c:3133: error: 'PyThreadState' undeclared (first use in this function) mod_wsgi.c:3133: error: 'tstate' undeclared (first use in this function) mod_wsgi.c:3140: warning: assignment makes pointer from integer without a cast mod_wsgi.c:3141: error: request for member 'next' in something not a structure or union mod_wsgi.c:3142: error: request for member 'next' in something not a structure or union mod_wsgi.c: In function 'wsgi_python_init': mod_wsgi.c:3183: error: 'Py_OptimizeFlag' undeclared (first use in this function) mod_wsgi.c:3209: warning: assignment makes pointer from integer without a cast mod_wsgi.c: At top level: mod_wsgi.c:3247: error: parse error before '*' token mod_wsgi.c:3247: warning: data definition has no type or storage class mod_wsgi.c:3249: error: parse error before '*' token mod_wsgi.c: In function 'wsgi_acquire_interpreter': mod_wsgi.c:3251: error: 'PyThreadState' undeclared (first use in this function) mod_wsgi.c:3251: error: 'tstate' undeclared (first use in this function) mod_wsgi.c:3252: error: 'PyInterpreterState' undeclared (first use in this function) mod_wsgi.c:3253: error: 'handle' undeclared (first use in this function) mod_wsgi.c:3282: error: parse error before ')' token mod_wsgi.c:3291: error: parse error before ')' token mod_wsgi.c: At top level: mod_wsgi.c:3328: error: parse error before '*' token mod_wsgi.c: In function 'wsgi_release_interpreter': mod_wsgi.c:3330: error: 'PyThreadState' undeclared (first use in this function) mod_wsgi.c:3330: error: 'tstate' undeclared (first use in this function) mod_wsgi.c:3342: error: 'handle' undeclared (first use in this function) mod_wsgi.c:3350: error: 'PyGILState_UNLOCKED' undeclared (first use in this function) mod_wsgi.c: At top level: mod_wsgi.c:3371: error: parse error before '*' token mod_wsgi.c: In function 'wsgi_load_source': mod_wsgi.c:3377: error: 'co' undeclared (first use in this function) mod_wsgi.c:3385: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:3385: error: parse error before 'ap_log_rerror' mod_wsgi.c:3391: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:3407: error: 'Py_file_input' undeclared (first use in this function) mod_wsgi.c:3407: warning: assignment makes pointer from integer without a cast mod_wsgi.c:3414: error: parse error before ')' token mod_wsgi.c:3423: error: 'object' undeclared (first use in this function) mod_wsgi.c:3433: warning: return makes pointer from integer without a cast mod_wsgi.c: At top level: mod_wsgi.c:3436: error: parse error before 'PyObject' mod_wsgi.c: In function 'wsgi_reload_required': mod_wsgi.c:3438: error: 'dict' undeclared (first use in this function) mod_wsgi.c:3439: error: 'object' undeclared (first use in this function) mod_wsgi.c:3442: error: parse error before 'module' mod_wsgi.c:3451: error: 'r' undeclared (first use in this function) mod_wsgi.c: In function 'wsgi_execute_script': mod_wsgi.c:3498: error: invalid operands to binary * mod_wsgi.c:3499: error: 'modules' undeclared (first use in this function) mod_wsgi.c:3500: error: parse error before 'module' mod_wsgi.c:3542: error: 'Py_BEGIN_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:3542: error: parse error before 'apr_thread_mutex_lock' mod_wsgi.c:3546: error: 'Py_END_ALLOW_THREADS' undeclared (first use in this function) mod_wsgi.c:3549: error: parse error before 'module' mod_wsgi.c:3551: error: parse error before 'module' mod_wsgi.c:3569: error: parse error before 'module' mod_wsgi.c:3580: error: parse error before 'ap_log_rerror' mod_wsgi.c: At top level: mod_wsgi.c:3629: error: parse error before '}' token mod_wsgi.c:3639: warning: parameter names (without types) in function declaration mod_wsgi.c:3639: warning: data definition has no type or storage class mod_wsgi.c:3644: warning: data definition has no type or storage class mod_wsgi.c:3648: error: parse error before 'if' mod_wsgi.c:3650: warning: data definition has no type or storage class mod_wsgi.c:3652: error: parse error before 'module' mod_wsgi.c:3653: error: conflicting types for 'object' mod_wsgi.c:3650: error: previous definition of 'object' was here mod_wsgi.c:3653: error: initializer element is not constant mod_wsgi.c:3653: warning: data definition has no type or storage class mod_wsgi.c:3655: error: parse error before 'if' mod_wsgi.c:3657: error: 'r' undeclared here (not in a function) mod_wsgi.c:3657: warning: initialization makes integer from pointer without a cast mod_wsgi.c:3657: error: initializer element is not constant mod_wsgi.c:3657: warning: data definition has no type or storage class mod_wsgi.c:3659: error: parse error before 'if' mod_wsgi.c:3662: warning: parameter names (without types) in function declaration mod_wsgi.c:3662: warning: data definition has no type or storage class mod_wsgi.c:3663: error: redefinition of 'status' mod_wsgi.c:3644: error: previous definition of 'status' was here mod_wsgi.c:3663: error: initializer element is not constant mod_wsgi.c:3663: warning: data definition has no type or storage class mod_wsgi.c:3664: warning: parameter names (without types) in function declaration mod_wsgi.c:3664: warning: data definition has no type or storage class mod_wsgi.c:3674: error: parse error before '->' token mod_wsgi.c:3685: error: conflicting types for 'args' mod_wsgi.c:2982: error: previous definition of 'args' was here mod_wsgi.c:3685: error: initializer element is not constant mod_wsgi.c:3685: warning: data definition has no type or storage class mod_wsgi.c:3686: error: conflicting types for 'object' mod_wsgi.c:3650: error: previous definition of 'object' was here mod_wsgi.c:3686: error: invalid type argument of '->' mod_wsgi.c:3686: error: initializer element is not constant mod_wsgi.c:3686: warning: data definition has no type or storage class mod_wsgi.c:3687: warning: parameter names (without types) in function declaration mod_wsgi.c:3687: warning: data definition has no type or storage class mod_wsgi.c:3688: warning: parameter names (without types) in function declaration mod_wsgi.c:3688: warning: data definition has no type or storage class mod_wsgi.c:3690: error: parse error before '->' token mod_wsgi.c:3698: error: parse error before '(' token mod_wsgi.c:3709: error: redefinition of 'status' mod_wsgi.c:3644: error: previous definition of 'status' was here mod_wsgi.c:3709: warning: data definition has no type or storage class mod_wsgi.c:3710: error: parse error before '}' token mod_wsgi.c:3724: error: conflicting types for 'log' mod_wsgi.c:1830: error: previous declaration of 'log' was here mod_wsgi.c:3724: warning: initialization makes integer from pointer without a cast mod_wsgi.c:3724: error: initializer element is not constant mod_wsgi.c:3724: warning: data definition has no type or storage class mod_wsgi.c:3725: warning: parameter names (without types) in function declaration mod_wsgi.c:3725: warning: data definition has no type or storage class mod_wsgi.c:3726: warning: parameter names (without types) in function declaration mod_wsgi.c:3726: warning: data definition has no type or storage class mod_wsgi.c:3727: error: parse error before '}' token mod_wsgi.c:3731: warning: data definition has no type or storage class mod_wsgi.c:3733: warning: parameter names (without types) in function declaration mod_wsgi.c:3733: error: conflicting types for 'wsgi_release_interpreter' mod_wsgi.c:3329: error: previous definition of 'wsgi_release_interpreter' was here mod_wsgi.c:3733: warning: data definition has no type or storage class mod_wsgi.c:3735: error: parse error before 'return' mod_wsgi.c: In function 'wsgi_python_child_cleanup': mod_wsgi.c:3766: warning: assignment makes pointer from integer without a cast mod_wsgi.c: In function 'wsgi_python_child_init': mod_wsgi.c:3812: error: 'PyInterpreterState' undeclared (first use in this function) mod_wsgi.c:3813: error: 'PyThreadState' undeclared (first use in this function) mod_wsgi.c:3813: error: 'tstate' undeclared (first use in this function) mod_wsgi.c:3814: error: 'save_tstate' undeclared (first use in this function) mod_wsgi.c:3827: warning: assignment makes pointer from integer without a cast mod_wsgi.c:3828: error: request for member 'next' in something not a structure or union mod_wsgi.c:3829: error: request for member 'next' in something not a structure or union mod_wsgi.c:3854: warning: assignment makes pointer from integer without a cast mod_wsgi.c:3870: error: parse error before ')' token mod_wsgi.c: In function 'wsgi_start_process': mod_wsgi.c:5973: error: 'PyGILState_STATE' undeclared (first use in this function) mod_wsgi.c:5973: error: parse error before 'state' mod_wsgi.c:5977: error: 'state' undeclared (first use in this function) mod_wsgi.c:5980: error: 'PyGILState_LOCKED' undeclared (first use in this function) apxs:Error: Command failed with rc=65536 . make: *** [mod_wsgi.la] Error 1 Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_www_mod_wsgi/work/mod_wsgi-1.1" && nice -n 1 make all " returned error 2 Command output: mod_wsgi.c:3725: warning: data definition has no type or storage class mod_wsgi.c:3726: warning: parameter names (without types) in function declaration mod_wsgi.c:3726: warning: data definition has no type or storage class mod_wsgi.c:3727: error: parse error before '}' token mod_wsgi.c:3731: warning: data definition has no type or storage class mod_wsgi.c:3733: warning: parameter names (without types) in function declaration mod_wsgi.c:3733: error: conflicting types for 'wsgi_release_interpreter' mod_wsgi.c:3329: error: previous definition of 'wsgi_release_interpreter' was here mod_wsgi.c:3733: warning: data definition has no type or storage class mod_wsgi.c:3735: error: parse error before 'return' mod_wsgi.c: In function 'wsgi_python_child_cleanup': mod_wsgi.c:3766: warning: assignment makes pointer from integer without a cast mod_wsgi.c: In function 'wsgi_python_child_init': mod_wsgi.c:3812: error: 'PyInterpreterState' undeclared (first use in this function) mod_wsgi.c:3813: error: 'PyThreadState' undeclared (first use in this function) mod_wsgi.c:3813: error: 'tstate' undeclared (first use in this function) mod_wsgi.c:3814: error: 'save_tstate' undeclared (first use in this function) mod_wsgi.c:3827: warning: assignment makes pointer from integer without a cast mod_wsgi.c:3828: error: request for member 'next' in something not a structure or union mod_wsgi.c:3829: error: request for member 'next' in something not a structure or union mod_wsgi.c:3854: warning: assignment makes pointer from integer without a cast mod_wsgi.c:3870: error: parse error before ')' token mod_wsgi.c: In function 'wsgi_start_process': mod_wsgi.c:5973: error: 'PyGILState_STATE' undeclared (first use in this function) mod_wsgi.c:5973: error: parse error before 'state' mod_wsgi.c:5977: error: 'state' undeclared (first use in this function) mod_wsgi.c:5980: error: 'PyGILState_LOCKED' undeclared (first use in this function) apxs:Error: Command failed with rc=65536 . make: *** [mod_wsgi.la] Error 1 Warning: the following items did not execute (for mod_wsgi): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.