[Twisted-Python] strange exception on Python 2.6 + Snow Leopard
hey all, I just upgraded to Mac OS X 10.6 which includes Python 2.6.1. I'm running the latest SVN HEAD of Twisted, but when I run twistd I get an exception before it continues working (apparently) normally. Here's what I'm seeing: thrawn:~ phil$ twistd Traceback (most recent call last): File "/Users/phil/Workspace/Twisted/twisted/python/usage.py", line 413, in __str__ return self.getSynopsis() + '\n' + self.getUsage(width=None) File "/Users/phil/Workspace/Twisted/twisted/python/usage.py", line 449, in getUsage for (cmd, short, parser, desc) in self.subCommands: File "/Users/phil/Workspace/Twisted/twisted/application/app.py", line 675, in subCommands for plug in plugins: File "/Users/phil/Workspace/Twisted/twisted/plugin.py", line 200, in getPlugins allDropins = getCache(package) --- <exception caught here> --- File "/Users/phil/Workspace/Twisted/twisted/plugin.py", line 165, in getCache provider = pluginModule.load() File "/Users/phil/Workspace/Twisted/twisted/python/modules.py", line 381, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/Users/phil/Workspace/Twisted/twisted/python/reflect.py", line 473, in namedAny obj = getattr(obj, n) exceptions.AttributeError: 'module' object has no attribute 'ssl_test' [continues to print usage info] I've deleted all my dropin.cache files, and grepped through my source and Twisted's for a reference to 'ssl_test', but to no avail. Like I said, it doesn't appear to be a fatal exception, but I'd like to make it go away. Any ideas? -phil
On Aug 31, 2009, at 3:36 PM, Phil Christensen wrote:
hey all,
I just upgraded to Mac OS X 10.6 which includes Python 2.6.1. I'm running the latest SVN HEAD of Twisted, but when I run twistd I get an exception before it continues working (apparently) normally. Here's what I'm seeing:
thrawn:~ phil$ twistd Traceback (most recent call last): File "/Users/phil/Workspace/Twisted/twisted/python/usage.py", line 413, in __str__ return self.getSynopsis() + '\n' + self.getUsage(width=None) File "/Users/phil/Workspace/Twisted/twisted/python/usage.py", line 449, in getUsage for (cmd, short, parser, desc) in self.subCommands: File "/Users/phil/Workspace/Twisted/twisted/application/app.py", line 675, in subCommands for plug in plugins: File "/Users/phil/Workspace/Twisted/twisted/plugin.py", line 200, in getPlugins allDropins = getCache(package) --- <exception caught here> --- File "/Users/phil/Workspace/Twisted/twisted/plugin.py", line 165, in getCache provider = pluginModule.load() File "/Users/phil/Workspace/Twisted/twisted/python/modules.py", line 381, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/Users/phil/Workspace/Twisted/twisted/python/reflect.py", line 473, in namedAny obj = getattr(obj, n) exceptions.AttributeError: 'module' object has no attribute 'ssl_test'
[continues to print usage info]
I've deleted all my dropin.cache files, and grepped through my source and Twisted's for a reference to 'ssl_test', but to no avail.
Like I said, it doesn't appear to be a fatal exception, but I'd like to make it go away. Any ideas?
I saw this too. It has to do with the plugin cache directory not being writable; there's a bug filed on it on the Twisted Trac. I ended up modifying the library code to get rid of it; the file to change is the one in the error message and the fix is listed in the bug in the Twisted Trac instance. S
On Aug 31, 2009, at 3:47 PM, Steve Steiner (listsin) wrote:
On Aug 31, 2009, at 3:36 PM, Phil Christensen wrote:
hey all,
I just upgraded to Mac OS X 10.6 which includes Python 2.6.1. I'm running the latest SVN HEAD of Twisted, but when I run twistd I get an exception before it continues working (apparently) normally. Here's what I'm seeing:
thrawn:~ phil$ twistd Traceback (most recent call last):
[snip]
File "/Users/phil/Workspace/Twisted/twisted/python/reflect.py", line 473, in namedAny obj = getattr(obj, n) exceptions.AttributeError: 'module' object has no attribute 'ssl_test'
[continues to print usage info]
I've deleted all my dropin.cache files, and grepped through my source and Twisted's for a reference to 'ssl_test', but to no avail.
Like I said, it doesn't appear to be a fatal exception, but I'd like to make it go away. Any ideas?
I saw this too. It has to do with the plugin cache directory not being writable; there's a bug filed on it on the Twisted Trac. I ended up modifying the library code to get rid of it; the file to change is the one in the error message and the fix is listed in the bug in the Twisted Trac instance.
Hmm, sorry to question, but are you sure? I only ask because I'm fairly certain all my plugin directories (including Twisted's) are all writeable. I run them out of the SVN checkout in my home dir, using egg-/symlinks AFAIK, the error you're referring to is mentioned in this ticket, and possibly others: http://twistedmatrix.com/trac/ticket/2409 and also this FAQ entry: http://preview.tinyurl.com/nbrjbw which is a distinctly different exception, 'permission denied' (IOError, I think). -phil
On Sep 29, 2009, at 3:08 PM, Steve Steiner (listsin) wrote:
Hmm, sorry to question, but are you sure?
You're right, different error. Sorry for not replying earlier -- just found this when Googling for 10.6 build instructions as I'm having a devil of a time building from SVN on 10.6 with Python 2.6.1.
No worries, I'm glad you bumped this thread. I'm still seeing the traceback on startup (exceptions.AttributeError: 'module' object has no attribute 'ssl_test'), although they haven't affected my use of Twisted. Just annoying to see, that's all. What kind of build problems are you having? I just updated/installed SVN HEAD without much of a problem using `python setup.py develop`. I do see the following issues during compilation, which cause the epoll reactor to fail. I don't use the epoll reactor, so I haven't bothered trying to fix it: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv - Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc - arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/ Versions/2.6/include/python2.6 -c conftest.c -o conftest.o gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv - Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc - arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/ Versions/2.6/include/python2.6 -c conftest.c -o conftest.o conftest.c:1:23: error: sys/epoll.h: No such file or directory conftest.c:1:23: error: sys/epoll.h: No such file or directory conftest.c:1:23: error: sys/epoll.h: No such file or directory lipo: can't open input file: /var/tmp//ccGt0yAW.out (No such file or directory) -phil
On 08:37 pm, phil@bubblehouse.org wrote:
On Sep 29, 2009, at 3:08 PM, Steve Steiner (listsin) wrote:
Hmm, sorry to question, but are you sure?
You're right, different error. Sorry for not replying earlier -- just found this when Googling for 10.6 build instructions as I'm having a devil of a time building from SVN on 10.6 with Python 2.6.1.
No worries, I'm glad you bumped this thread. I'm still seeing the traceback on startup (exceptions.AttributeError: 'module' object has no attribute 'ssl_test'), although they haven't affected my use of Twisted. Just annoying to see, that's all.
What kind of build problems are you having? I just updated/installed SVN HEAD without much of a problem using `python setup.py develop`.
I do see the following issues during compilation, which cause the epoll reactor to fail. I don't use the epoll reactor, so I haven't bothered trying to fix it:
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv - Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc - arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/ Versions/2.6/include/python2.6 -c conftest.c -o conftest.o gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv - Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc - arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/ Versions/2.6/include/python2.6 -c conftest.c -o conftest.o conftest.c:1:23: error: sys/epoll.h: No such file or directory conftest.c:1:23: error: sys/epoll.h: No such file or directory conftest.c:1:23: error: sys/epoll.h: No such file or directory lipo: can't open input file: /var/tmp//ccGt0yAW.out (No such file or directory)
These aren't really fixable. OS X does not have epoll. The epoll reactor is for Linux. Jean-Paul
On Sep 29, 2009, at 4:42 PM, exarkun@twistedmatrix.com wrote:
On 08:37 pm, phil@bubblehouse.org wrote:
I do see the following issues during compilation, which cause the epoll reactor to fail. I don't use the epoll reactor, so I haven't bothered trying to fix it: [snip] These aren't really fixable. OS X does not have epoll. The epoll reactor is for Linux.
Ah yes, I should have known that. Any idea what's causing these tracebacks on startup? I've grepped everywhere for occurrences of ssl_test, _test, cleared out my dropin.cache files, etc, but nothing makes any difference. -phil Traceback (most recent call last): File "/Users/phil/Workspace/Twisted/twisted/python/usage.py", line 413, in __str__ return self.getSynopsis() + '\n' + self.getUsage(width=None) File "/Users/phil/Workspace/Twisted/twisted/python/usage.py", line 449, in getUsage for (cmd, short, parser, desc) in self.subCommands: File "/Users/phil/Workspace/Twisted/twisted/application/app.py", line 675, in subCommands for plug in plugins: File "/Users/phil/Workspace/Twisted/twisted/plugin.py", line 200, in getPlugins allDropins = getCache(package) --- <exception caught here> --- File "/Users/phil/Workspace/Twisted/twisted/plugin.py", line 165, in getCache provider = pluginModule.load() File "/Users/phil/Workspace/Twisted/twisted/python/modules.py", line 381, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/Users/phil/Workspace/Twisted/twisted/python/reflect.py", line 473, in namedAny obj = getattr(obj, n) exceptions.AttributeError: 'module' object has no attribute 'ssl_test'
On 29 Sep, 08:50 pm, phil@bubblehouse.org wrote:
On Sep 29, 2009, at 4:42 PM, exarkun@twistedmatrix.com wrote:
On 08:37 pm, phil@bubblehouse.org wrote:
I do see the following issues during compilation, which cause the epoll reactor to fail. I don't use the epoll reactor, so I haven't bothered trying to fix it: [snip] These aren't really fixable. OS X does not have epoll. The epoll reactor is for Linux.
Ah yes, I should have known that.
Any idea what's causing these tracebacks on startup? I've grepped everywhere for occurrences of ssl_test, _test, cleared out my dropin.cache files, etc, but nothing makes any difference.
If you startup with debugging enabled, do you get dropped into pdb at the point of the error? If so, it should be simple to look around at some of the data and track down the cause. Jean-Paul
On Sep 29, 2009, at 4:37 PM, Phil Christensen wrote:
On Sep 29, 2009, at 3:08 PM, Steve Steiner (listsin) wrote:
Hmm, sorry to question, but are you sure?
You're right, different error. Sorry for not replying earlier -- just found this when Googling for 10.6 build instructions as I'm having a devil of a time building from SVN on 10.6 with Python 2.6.1.
No worries, I'm glad you bumped this thread. I'm still seeing the traceback on startup (exceptions.AttributeError: 'module' object has no attribute 'ssl_test'), although they haven't affected my use of Twisted. Just annoying to see, that's all.
What kind of build problems are you having? I just updated/installed SVN HEAD without much of a problem using `python setup.py develop`.
Mine goes much more horribly wrong than the error you listed... It looks like, now that I look more closely, it's trying to build against the 10.4SDK which I think I may not have installed. Maybe that's all it is! Thanks, S thon setup.py develop running develop running egg_info writing requirements to Twisted.egg-info/requires.txt writing Twisted.egg-info/PKG-INFO writing top-level names to Twisted.egg-info/top_level.txt writing dependency_links to Twisted.egg-info/dependency_links.txt unrecognized .svn/entries format in reading manifest file 'Twisted.egg-info/SOURCES.txt' writing manifest file 'Twisted.egg-info/SOURCES.txt' running build_ext Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/ Frameworks/Python.framework/Versions/2.6/include/python2.6 -c conftest.c -o conftest.o conftest.c:1:21: error: rpc/rpc.h: No such file or directory conftest.c:1:21: error: rpc/rpc.h: No such file or directory lipo: can't figure out the architecture type of: /var/folders/ 71/716EyABBHM8EA6F853Q-vU+++TI/-Tmp-//cc7bbdzM.out Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/ Frameworks/Python.framework/Versions/2.6/include/python2.6 -c conftest.c -o conftest.o conftest.c:1:23: error: sys/epoll.h: No such file or directory conftest.c:1:23: error: sys/epoll.h: No such file or directory lipo: can't figure out the architecture type of: /var/folders/ 71/716EyABBHM8EA6F853Q-vU+++TI/-Tmp-//cc954vfC.out building 'twisted.protocols._c_urlarg' extension Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/ Frameworks/Python.framework/Versions/2.6/include/python2.6 -c twisted/ protocols/_c_urlarg.c -o build/temp.macosx-10.3-i386-2.6/twisted/ protocols/_c_urlarg.o In file included from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:19:20: error: limits.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:22:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:26:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:33:19: error: stdio.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:35:5: error: #error "Python.h requires that stdio.h define NULL." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:38:20: error: string.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:40:19: error: errno.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:42:20: error: stdlib.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:44:20: error: unistd.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:56:20: error: assert.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:58, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:7:20: error: stdint.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:58, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_uintptr_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_intptr_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:235:76: error: math.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:242:22: error: sys/time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:243:18: error: time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:261:24: error: sys/select.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:300:22: error: sys/stat.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:479:21: error: termios.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: ‘struct winsize’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: its scope is only this definition or declaration, which is probably not what you want /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: ‘struct termios’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:481: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘forkpty’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:78, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pymem.h:52: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pymem.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:80, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:107: error: expected specifier-qualifier-list before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:111: error: expected specifier-qualifier-list before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:137: error: expected declaration specifiers or ‘...’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:137: error: ‘Py_ssize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:157: error: ‘readbufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:158: error: ‘writebufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:159: error: ‘segcountproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:160: error: ‘charbufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:167: error: field ‘len’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:168: error: field ‘itemsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:274: error: expected specifier-qualifier-list before ‘lenfunc’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:288: error: expected specifier-qualifier-list before ‘lenfunc’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:305: error: expected declaration specifiers or ‘...’ before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:319: warning: ‘struct _typeobject’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:320: warning: ‘struct _typeobject’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:323: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:323: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:325: error: field ‘tp_basicsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:325: error: field ‘tp_itemsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:370: error: field ‘tp_weaklistoffset’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:385: error: field ‘tp_dictoffset’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:456: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:81, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:97: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:228: error: ‘PyGC_Collect’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:249: error: field ‘gc_refs’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:288: warning: parameter names (without types) in function declaration In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:85, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:4:20: error: stdarg.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:57:19: error: ctype.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:120:21: error: wchar.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:85, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:413: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:414: error: field ‘length’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:489: error: ‘PyUnicodeUCS2_GetSize’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:553: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:572: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:590: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1234: error: ‘PyUnicodeUCS2_Tailmatch’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1246: error: ‘PyUnicodeUCS2_Find’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1255: error: ‘PyUnicodeUCS2_Count’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:86, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:24: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:39: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:42: error: ‘PyInt_AsSsize_t’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:88, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:21: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:26: error: ‘PyLong_AsSsize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_PyLong_NumBits’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:89: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:112: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:89, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ floatobject.h:15: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:91, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ complexobject.h:41: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:94, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:36: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:36: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:64: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:68: error: ‘PyString_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:98, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:23: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:23: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:26: error: field ‘ob_alloc’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:42: error: ‘PyByteArray_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:99, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:25: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:25: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:41: error: ‘PyTuple_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:100, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:23: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:23: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:38: error: field ‘allocated’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:48: error: ‘PyList_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:101, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:55: error: field ‘me_hash’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:71: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:72: error: field ‘ma_fill’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:73: error: field ‘ma_used’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:79: error: field ‘ma_mask’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:109: error: ‘PyDict_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:103, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:36: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:38: error: field ‘fill’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:39: error: field ‘used’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:45: error: field ‘mask’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:85: error: ‘PySet_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:104, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ methodobject.h:82: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:106, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ funcobject.h:22: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:107, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:13: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:24: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:31: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:108, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:11: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:12: error: expected specifier-qualifier-list before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:42: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:63: error: expected declaration specifiers or ‘...’ before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_UniversalNewlineFread’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:109, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ cobject.h:53: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:110, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ traceback.h:13: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:111, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ sliceobject.h:23: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:112, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ cellobject.h:10: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:114, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ genobject.h:13: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:115, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:46: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:50: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:55: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:60: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:65: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:117, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ weakrefobject.h:16: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ weakrefobject.h:65: error: ‘_PyWeakref_GetWeakrefCount’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:120, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:10: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:17: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:31: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:37: error: field ‘start’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:38: error: field ‘end’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:44: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:52: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:322: error: format string argument not a string type /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:323: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:323: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:324: error: format string argument not a string type In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:124, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyarena.h:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:125, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:23: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:35: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:37: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:38: error: expected declaration specifiers or ‘...’ before ‘va_list’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:126, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:35: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:36: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:38: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:39: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:40: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:45: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:55: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:61: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:78: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:146: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:148: error: expected ‘)’ before ‘*’ token In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:128, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ sysmodule.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:130, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ import.h:31: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ import.h:31: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:132, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:421: error: ‘PyObject_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:433: error: ‘PyObject_Length’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:436: error: ‘_PyObject_LengthHint’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:859: error: ‘PyNumber_AsSsize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1054: error: ‘PySequence_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1063: error: ‘PySequence_Length’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1185: error: ‘PySequence_Count’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1204: error: ‘_PySequence_IterSearch’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1229: error: ‘PySequence_Index’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1268: error: ‘PyMapping_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1278: error: ‘PyMapping_Length’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/compile.h:5, from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:134, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ code.h:11: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:137, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pystrtod.h:11: error: expected declaration specifiers or ‘...’ before ‘size_t’ twisted/protocols/_c_urlarg.c: In function ‘unquote’: twisted/protocols/_c_urlarg.c:44: error: ‘NULL’ undeclared (first use in this function) twisted/protocols/_c_urlarg.c:44: error: (Each undeclared identifier is reported only once twisted/protocols/_c_urlarg.c:44: error: for each function it appears in.) twisted/protocols/_c_urlarg.c:48: warning: return from incompatible pointer type twisted/protocols/_c_urlarg.c:52: warning: comparison of distinct pointer types lacks a cast twisted/protocols/_c_urlarg.c:53: warning: return from incompatible pointer type twisted/protocols/_c_urlarg.c:65: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:75: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:83: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:85: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:93: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:96: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:97: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:103: error: ‘PyObject’ has no member named ‘ob_refcnt’ twisted/protocols/_c_urlarg.c:103: error: lvalue required as decrement operand twisted/protocols/_c_urlarg.c:103: error: lvalue required as decrement operand twisted/protocols/_c_urlarg.c:103: error: ‘PyObject’ has no member named ‘ob_type’ twisted/protocols/_c_urlarg.c:103: error: request for member ‘tp_dealloc’ in something not a structure or union twisted/protocols/_c_urlarg.c:103: error: called object ‘*(char **) &<erroneous-expression>’ is not a function twisted/protocols/_c_urlarg.c: At top level: twisted/protocols/_c_urlarg.c:109: error: ‘NULL’ undeclared here (not in a function) twisted/protocols/_c_urlarg.c:109: error: initializer element is not constant twisted/protocols/_c_urlarg.c:109: error: (near initialization for ‘_c_urlarg_methods[1].ml_name’) twisted/protocols/_c_urlarg.c:109: error: initializer element is not constant twisted/protocols/_c_urlarg.c:109: error: (near initialization for ‘_c_urlarg_methods[1].ml_meth’) twisted/protocols/_c_urlarg.c: In function ‘init_c_urlarg’: twisted/protocols/_c_urlarg.c:123: warning: passing argument 3 of ‘PyErr_NewException’ from incompatible pointer type In file included from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:19:20: error: limits.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:22:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:26:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:33:19: error: stdio.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:35:5: error: #error "Python.h requires that stdio.h define NULL." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:38:20: error: string.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:40:19: error: errno.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:42:20: error: stdlib.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:44:20: error: unistd.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:56:20: error: assert.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:58, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:7:20: error: stdint.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:58, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_uintptr_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_intptr_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:235:76: error: math.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:242:22: error: sys/time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:243:18: error: time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:261:24: error: sys/select.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:300:22: error: sys/stat.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:479:21: error: termios.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: ‘struct winsize’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: its scope is only this definition or declaration, which is probably not what you want /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: ‘struct termios’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:481: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘forkpty’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:78, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pymem.h:52: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pymem.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:80, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:107: error: expected specifier-qualifier-list before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:111: error: expected specifier-qualifier-list before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:137: error: expected declaration specifiers or ‘...’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:137: error: ‘Py_ssize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:157: error: ‘readbufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:158: error: ‘writebufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:159: error: ‘segcountproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:160: error: ‘charbufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:167: error: field ‘len’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:168: error: field ‘itemsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:274: error: expected specifier-qualifier-list before ‘lenfunc’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:288: error: expected specifier-qualifier-list before ‘lenfunc’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:305: error: expected declaration specifiers or ‘...’ before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:319: warning: ‘struct _typeobject’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:320: warning: ‘struct _typeobject’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:323: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:323: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:325: error: field ‘tp_basicsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:325: error: field ‘tp_itemsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:370: error: field ‘tp_weaklistoffset’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:385: error: field ‘tp_dictoffset’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:456: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:81, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:97: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:228: error: ‘PyGC_Collect’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:249: error: field ‘gc_refs’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:288: warning: parameter names (without types) in function declaration In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:85, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:4:20: error: stdarg.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:57:19: error: ctype.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:120:21: error: wchar.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:85, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:413: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:414: error: field ‘length’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:489: error: ‘PyUnicodeUCS2_GetSize’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:553: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:572: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:590: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1234: error: ‘PyUnicodeUCS2_Tailmatch’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1246: error: ‘PyUnicodeUCS2_Find’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1255: error: ‘PyUnicodeUCS2_Count’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:86, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:24: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:39: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:42: error: ‘PyInt_AsSsize_t’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:88, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:21: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:26: error: ‘PyLong_AsSsize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_PyLong_NumBits’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:89: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:112: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:89, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ floatobject.h:15: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:91, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ complexobject.h:41: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:94, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:36: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:36: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:64: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:68: error: ‘PyString_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:98, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:23: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:23: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:26: error: field ‘ob_alloc’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:42: error: ‘PyByteArray_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:99, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:25: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:25: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:41: error: ‘PyTuple_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:100, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:23: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:23: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:38: error: field ‘allocated’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:48: error: ‘PyList_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:101, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:55: error: field ‘me_hash’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:71: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:72: error: field ‘ma_fill’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:73: error: field ‘ma_used’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:79: error: field ‘ma_mask’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:109: error: ‘PyDict_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:103, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:36: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:38: error: field ‘fill’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:39: error: field ‘used’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:45: error: field ‘mask’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:85: error: ‘PySet_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:104, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ methodobject.h:82: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:106, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ funcobject.h:22: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:107, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:13: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:24: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:31: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:108, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:11: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:12: error: expected specifier-qualifier-list before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:42: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:63: error: expected declaration specifiers or ‘...’ before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_UniversalNewlineFread’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:109, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ cobject.h:53: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:110, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ traceback.h:13: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:111, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ sliceobject.h:23: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:112, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ cellobject.h:10: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:114, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ genobject.h:13: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:115, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:46: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:50: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:55: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:60: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:65: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:117, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ weakrefobject.h:16: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ weakrefobject.h:65: error: ‘_PyWeakref_GetWeakrefCount’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:120, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:10: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:17: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:31: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:37: error: field ‘start’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:38: error: field ‘end’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:44: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:52: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:322: error: format string argument not a string type /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:323: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:323: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:324: error: format string argument not a string type In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:124, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyarena.h:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:125, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:23: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:35: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:37: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:38: error: expected declaration specifiers or ‘...’ before ‘va_list’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:126, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:35: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:36: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:38: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:39: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:40: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:45: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:55: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:61: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:78: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:146: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:148: error: expected ‘)’ before ‘*’ token In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:128, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ sysmodule.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:130, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ import.h:31: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ import.h:31: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:132, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:421: error: ‘PyObject_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:433: error: ‘PyObject_Length’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:436: error: ‘_PyObject_LengthHint’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:859: error: ‘PyNumber_AsSsize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1054: error: ‘PySequence_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1063: error: ‘PySequence_Length’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1185: error: ‘PySequence_Count’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1204: error: ‘_PySequence_IterSearch’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1229: error: ‘PySequence_Index’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1268: error: ‘PyMapping_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1278: error: ‘PyMapping_Length’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/compile.h:5, from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:134, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ code.h:11: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:137, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pystrtod.h:11: error: expected declaration specifiers or ‘...’ before ‘size_t’ twisted/protocols/_c_urlarg.c: In function ‘unquote’: twisted/protocols/_c_urlarg.c:44: error: ‘NULL’ undeclared (first use in this function) twisted/protocols/_c_urlarg.c:44: error: (Each undeclared identifier is reported only once twisted/protocols/_c_urlarg.c:44: error: for each function it appears in.) twisted/protocols/_c_urlarg.c:48: warning: return from incompatible pointer type twisted/protocols/_c_urlarg.c:52: warning: comparison of distinct pointer types lacks a cast twisted/protocols/_c_urlarg.c:53: warning: return from incompatible pointer type twisted/protocols/_c_urlarg.c:65: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:75: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:83: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:85: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:93: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:96: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:97: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:103: error: ‘PyObject’ has no member named ‘ob_refcnt’ twisted/protocols/_c_urlarg.c:103: error: lvalue required as decrement operand twisted/protocols/_c_urlarg.c:103: error: lvalue required as decrement operand twisted/protocols/_c_urlarg.c:103: error: ‘PyObject’ has no member named ‘ob_type’ twisted/protocols/_c_urlarg.c:103: error: request for member ‘tp_dealloc’ in something not a structure or union twisted/protocols/_c_urlarg.c:103: error: called object ‘*(char **) &<erroneous-expression>’ is not a function twisted/protocols/_c_urlarg.c: At top level: twisted/protocols/_c_urlarg.c:109: error: ‘NULL’ undeclared here (not in a function) twisted/protocols/_c_urlarg.c:109: error: initializer element is not constant twisted/protocols/_c_urlarg.c:109: error: (near initialization for ‘_c_urlarg_methods[1].ml_name’) twisted/protocols/_c_urlarg.c:109: error: initializer element is not constant twisted/protocols/_c_urlarg.c:109: error: (near initialization for ‘_c_urlarg_methods[1].ml_meth’) twisted/protocols/_c_urlarg.c: In function ‘init_c_urlarg’: twisted/protocols/_c_urlarg.c:123: warning: passing argument 3 of ‘PyErr_NewException’ from incompatible pointer type lipo: can't figure out the architecture type of: /var/folders/ 71/716EyABBHM8EA6F853Q-vU+++TI/-Tmp-//ccVGxOtq.out error: command 'gcc' failed with exit status 1
participants (3)
-
exarkun@twistedmatrix.com
-
Phil Christensen
-
Steve Steiner (listsin)