-
Unpack problem
I was trying to unpack the PEAK for a couple of days and i still cant make it work.
I am sure that i have a gcc compiler and python 2.5.1 on Ubuntu.
I am still getting the following error,
"error: command 'gcc' failed with exit status 1"
Any ideas?
Thanks,
conan@conan-desktop:~/PEAK-0.5a3$ python setup.py install
running install
running build
running build_py
running build_ext
building 'peak.binding._once' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c src/peak/binding/_once.c -o build/temp.linux-i686-2.5/src/peak/binding/_once.o
src/peak/binding/_once.c: In function '__pyx_f_isLock':
src/peak/binding/_once.c:95: warning: label '__pyx_L1' defined but not used
src/peak/binding/_once.c: In function '__pyx_f_isOurs':
src/peak/binding/_once.c:110: error: invalid lvalue in assignment
src/peak/binding/_once.c:130: error: invalid lvalue in assignment
src/peak/binding/_once.c: In function '__pyx_f_14BaseDescriptor_onSet':
src/peak/binding/_once.c:252: warning: label '__pyx_L1' defined but not used
src/peak/binding/_once.c: In function '__pyx_f_14BaseDescriptor_ofClass':
src/peak/binding/_once.c:282: warning: label '__pyx_L1' defined but not used
src/peak/binding/_once.c: In function '__pyx_tp_new_bindingLock':
src/peak/binding/_once.c:617: warning: unused variable 'p'
src/peak/binding/_once.c: In function '__pyx_tp_dealloc_bindingLock':
src/peak/binding/_once.c:625: warning: unused variable 'p'
src/peak/binding/_once.c: In function '__pyx_tp_traverse_bindingLock':
src/peak/binding/_once.c:631: warning: unused variable 'p'
src/peak/binding/_once.c:630: warning: unused variable 'e'
src/peak/binding/_once.c: In function '__pyx_tp_clear_bindingLock':
src/peak/binding/_once.c:636: warning: unused variable 'p'
error: command 'gcc' failed with exit status 1
-
dude,
you need python-devel or python-dev
install it.
-
raghaven.kumar,,
i have installed the newest version of pthon-dev but i cant find the python-devel on synaptic.
thanks