Closed GoogleCodeExporter closed 8 years ago
try
env ARCHFLAGS="-arch i386 -arch x86_64" python setup.py build
Original comment by lukas.l...@gmail.com
on 25 Jul 2011 at 6:46
Original comment by lukas.l...@gmail.com
on 30 Jul 2011 at 4:50
env ARCHFLAGS="-arch i386 -arch x86_64" python setup.py build doesn't work for
me.
Brand new Macbook Pro:
System Version: Mac OS X 10.7.2 (11C74)
Kernel Version: Darwin 11.2.0
Model Identifier: MacBookPro8,3
Processor Name: Intel Core i7
Processor Speed: 2,3 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 8 GB
Error message:
$ sudo env ARCHFLAGS="-arch i386 -arch x86_64" python setup.py build
svn: '.' is not a working copy
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -arch i386
-arch x86_64
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
cpyrit/_cpyrit_cpu.c -o build/temp.macosx-10.3-intel-2.6/cpyrit/_cpyrit_cpu.o
-DVERSION="0.3.0"
In file included from /usr/include/architecture/i386/math.h:630,
from /usr/include/math.h:28,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
from cpyrit/_cpyrit_cpu.c:21:
/usr/include/AvailabilityMacros.h:109:14: warning: #warning Building for Intel
with Mac OS X Deployment Target < 10.4 is invalid.
cpyrit/_cpyrit_cpu.c: In function ‘segv_action’:
cpyrit/_cpyrit_cpu.c:179: error: ‘struct mcontext32’ has no member named
‘__ss’
In file included from /usr/include/architecture/i386/math.h:630,
from /usr/include/math.h:28,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
from /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
from cpyrit/_cpyrit_cpu.c:21:
/usr/include/AvailabilityMacros.h:109:14: warning: #warning Building for Intel
with Mac OS X Deployment Target < 10.4 is invalid.
lipo: can't figure out the architecture type of: /var/tmp//ccaoFh1k.out
error: command 'gcc-4.0' failed with exit status 1
Original comment by littlebi...@gmail.com
on 26 Oct 2011 at 7:30
Original issue reported on code.google.com by
tempistr...@gmail.com
on 25 Jul 2011 at 5:12