[PEAK] trouble with installation

Phillip J. Eby pje at telecommunity.com
Mon Mar 13 10:04:39 EST 2006

At 02:27 PM 3/13/2006 +0600, Komkov Oleg wrote:
>and get the following output:
>building 'peak.binding._once' extension
>gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe 
>-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 
>-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC 
>-I/usr/include/python2.4 -c src/peak/binding/_once.c -o 
>src/peak/binding/_once.c: In function ‘__pyx_f_5_once_isOurs’:
>src/peak/binding/_once.c:111: error: invalid lvalue in assignment
>src/peak/binding/_once.c:120: error: invalid lvalue in assignment
>error: command 'gcc' failed with exit status 1
>code in this strings:
>111 ->  ((PyObject*)__pyx_v_lock) = Py_None; 
>120 ->  ((PyObject *)__pyx_v_lock) = __pyx_1;

The problem here is that Pyrex generates C code that GCC 4 doesn't 
like.  You'll need to install a patched version of Pyrex that supports GCC 
4.  Check the Pyrex website and mailing list for details.

More information about the PEAK mailing list