Skip to content

Instantly share code, notes, and snippets.

@sdsykes
Created June 26, 2011 09:04
Show Gist options
  • Save sdsykes/1047422 to your computer and use it in GitHub Desktop.
Save sdsykes/1047422 to your computer and use it in GitHub Desktop.
OSX 10.6.7 python upgrade twisted fails
$ sudo easy_install --upgrade twisted
Password:
install_dir /Library/Python/2.6/site-packages/
Searching for twisted
Reading http://pypi.python.org/simple/twisted/
Reading http://twistedmatrix.com/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/
Reading http://www.twistedmatrix.com
Reading http://twistedmatrix.com/products/download
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/
Reading http://twistedmatrix.com/projects/core/
Best match: Twisted 11.0.0
Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-11.0.0.tar.bz2#md5=d7f94a1609a1b8f3b8c8d0146d4cfe54
Processing Twisted-11.0.0.tar.bz2
Running Twisted-11.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-VRpb6X/Twisted-11.0.0/egg-dist-tmp-PQRC3s
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
conftest.c:1: fatal error: error closing -: Broken pipe
compilation terminated.
lipo: can't open input file: /var/tmp//cc5MbCSe.out (No such file or directory)
conftest.c:1:23: error: sys/epoll.h: No such file or directory
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
conftest.c:1:23: error: sys/epoll.h: No such file or directory
conftest.c:1: fatal error: error closing -: Broken pipe
compilation terminated.
conftest.c:1:23: error: sys/epoll.h: No such file or directory
lipo: can't open input file: /var/tmp//ccCMK8VH.out (No such file or directory)
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
twisted/test/raiser.c:1440: fatal error: error writing to -: Broken pipe
compilation terminated.
lipo: can't open input file: /var/tmp//cc90vq15.out (No such file or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1
@fwping
Copy link

fwping commented Jul 17, 2011

sudo env ARCHFLAGS="-arch i386 -arch x86_64" easy_install --upgrade twisted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment