[Twisted-Python] Help installing twisted rev 27662, OSX10.6, Python 2.6.4
Hullo, I'm trying to get the current svn version of twisted to run on a current python 2.6.4 (not the stock python, a newer one) on Mac OSX 10.6.
In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85, from twisted/runner/portmap.c:10: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp//ccpMpUAs.out error: command 'gcc-4.0' failed with exit status 1
The reference to 10.4 makes me go meh. All the versions and reports: # checking which gcc I have installed: [ebook:~/Develop/svn.twistedmatrix.com/trunk] erik% gcc i686-apple-darwin10-gcc-4.2.1: no input files # the python version [ebook:~/Develop/svn.twistedmatrix.com/trunk] erik% which python /Library/Frameworks/Python.framework/Versions/2.6/bin/python [ebook:~/Develop/svn.twistedmatrix.com/trunk] erik% python Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin # the twisted svn revision [ebook:~/Develop/svn.twistedmatrix.com/trunk] erik% svn up At revision 27662. # the full report [ebook:~/Develop/svn.twistedmatrix.com/trunk] erik% sudo python setup.py install running install running bdist_egg 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 writing manifest file 'Twisted.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.3-fat/egg running install_lib running build_py running build_ext gcc-4.0 -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 gcc-4.0 -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/tmp//ccz08AYz.out building 'twisted.runner.portmap' extension gcc-4.0 -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/runner/portmap.c -o build/temp.macosx-10.3-fat-2.6/twisted/runner/portmap.o In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85, from twisted/runner/portmap.c:10: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4, from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85, from twisted/runner/portmap.c:10: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory lipo: can't figure out the architecture type of: /var/tmp//ccpMpUAs.out error: command 'gcc-4.0' failed with exit status 1 All pointers welcomed. Many thanks, Erik
participants (1)
-
Erik van Blokland