V
Vijayendra Bapte
Hi,
I am getting an gcc compilation error while installing FSEvents
(http://pypi.python.org/packages/source/p/pyobjc-framework-FSEvents/
pyobjc-framework-FSEvents-2.2b1.tar.gz) package on my Mac (OS X
10.4.11, Intel Core Duo 32 bit processor, Python2.6.1, gcc: i686-apple-
darwin8-gcc-4.0.1)
gcc failed while building the "FSEvents._callbacks" extension on $
python setup.py install
here is the error trace...
running install_lib
running build_py
running build_ext
building 'FSEvents._callbacks' extension
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 Modules/
_callbacks.m -o build/temp.macosx-10.3-i386-2.6/Modules/_callbacks.o -
O0
Modules/_callbacks.m:60: error: parse error before
'm_python_context_template'
Modules/_callbacks.m:62: warning: excess elements in scalar
initializer
Modules/_callbacks.m:62: warning: (near initialization for
'm_python_context_template')
Modules/_callbacks.m:63: warning: excess elements in scalar
initializer
..
..
..
..
(Error ending with)
Modules/_callbacks.m:133: error: previous definition of 'result' was
here
Modules/_callbacks.m:353: error: parse error before 'FSEventStreamRef'
lipo: can't figure out the architecture type of: /var/tmp//
cco6kalc.out
error: command 'gcc' failed with exit status 1
Could someone help me in solving this compilation error?
I am getting an gcc compilation error while installing FSEvents
(http://pypi.python.org/packages/source/p/pyobjc-framework-FSEvents/
pyobjc-framework-FSEvents-2.2b1.tar.gz) package on my Mac (OS X
10.4.11, Intel Core Duo 32 bit processor, Python2.6.1, gcc: i686-apple-
darwin8-gcc-4.0.1)
gcc failed while building the "FSEvents._callbacks" extension on $
python setup.py install
here is the error trace...
running install_lib
running build_py
running build_ext
building 'FSEvents._callbacks' extension
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 Modules/
_callbacks.m -o build/temp.macosx-10.3-i386-2.6/Modules/_callbacks.o -
O0
Modules/_callbacks.m:60: error: parse error before
'm_python_context_template'
Modules/_callbacks.m:62: warning: excess elements in scalar
initializer
Modules/_callbacks.m:62: warning: (near initialization for
'm_python_context_template')
Modules/_callbacks.m:63: warning: excess elements in scalar
initializer
..
..
..
..
(Error ending with)
Modules/_callbacks.m:133: error: previous definition of 'result' was
here
Modules/_callbacks.m:353: error: parse error before 'FSEventStreamRef'
lipo: can't figure out the architecture type of: /var/tmp//
cco6kalc.out
error: command 'gcc' failed with exit status 1
Could someone help me in solving this compilation error?