[Pythonmac-SIG] Psycho & 2.4.3 universal

Jacob Rus jrus at fas.harvard.edu
Wed Apr 19 00:06:54 CEST 2006


Hi,

I couldn't compile [psyco][1] using the 2.4.3 universal version of 
Python on my 12" powerbook.  I'm wondering if this is just a problem 
with universal Python, or if psycho doesn't compile in general under OS X.

Thanks for any help,
-Jacob

[1]: http://psyco.sourceforge.net/

Here's what the terminal output looked like:

$python setup.py build
PROCESSOR = 'ivm'
running build
running build_py
running build_ext
building 'psyco._psyco' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk 
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd 
-fno-common -dynamic -DNDEBUG -g -O3 -DALL_STATIC=1 -Ic/ivm 
-I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c 
c/psyco.c -o build/temp.macosx-10.4-fat-2.4/c/psyco.o
In file included from c/initialize.h:46,
                  from c/psyco.c:14:
c/dispatcher.c: In function ‘do_promotion_internal’:
c/dispatcher.c:1794: error: invalid lvalue in assignment
In file included from c/initialize.h:46,
                  from c/psyco.c:14:
c/dispatcher.c: In function ‘do_promotion_internal’:
c/dispatcher.c:1794: error: invalid lvalue in assignment
In file included from c/initialize.h:48,
                  from c/psyco.c:14:
c/psyfunc.c: In function ‘psyco_proxycode’:
c/psyfunc.c:633: warning: pointer targets in passing argument 1 of 
‘PyString_FromStringAndSize’ differ in signedness
In file included from c/initialize.h:48,
                  from c/psyco.c:14:
c/psyfunc.c: In function ‘psyco_proxycode’:
c/psyfunc.c:633: warning: pointer targets in passing argument 1 of 
‘PyString_FromStringAndSize’ differ in signedness
lipo: can't figure out the architecture type of: /var/tmp//ccUTzkfB.out
error: command 'gcc' failed with exit status 1



More information about the Pythonmac-SIG mailing list