[PEAK] Re: gcc 4 bug?

Tiago Cogumbreiro cogumbreiro at gmail.com
Fri Sep 30 09:53:04 EDT 2005


I've installed pyrex and regenerated the .pyx, now everything works great.

$ pyrexc --version
Pyrex version 0.9.3


On 9/30/05, Tiago Cogumbreiro <cogumbreiro at gmail.com> wrote:
> Hello there while trying to install PEAK on Ubuntu I get this error:
>
> $ sudo easy_install --find-links=http://peak.telecommun ity.com/snapshots/ PEAK
> Password:
> Reading http://peak.telecommunity.com/snapshots/
> Searching for PEAK
> Best match: PEAK 0.5a4dev-r2085
> Downloading http://peak.telecommunity.com/snapshots/PEAK-0.5a4dev_r2085.zip
> Processing PEAK-0.5a4dev_r2085.zip
> Running PEAK-0.5a4dev_r2085/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-A uV6FO/PEAK-0.5a4dev_r2085/egg-dist-tmp-iMWgUY
> src/peak/binding/_once.c: In function '__pyx_f_11bindingLock___new__':
> src/peak/binding/_once.c:64: warning: label '__pyx_L1' defined but not used
> src/peak/binding/_once.c: In function '__pyx_f_isLock':
> src/peak/binding/_once.c:82: warning: label '__pyx_L1' defined but not used
> src/peak/binding/_once.c: In function '__pyx_f_isOurs':
> src/peak/binding/_once.c:94: error: invalid lvalue in assignment
> src/peak/binding/_once.c:107: error: invalid lvalue in assignment
> src/peak/binding/_once.c:116: warning: label '__pyx_L1' defined but not used
> src/peak/binding/_once.c: In function '__pyx_f_14BaseDescriptor_onSet':
> src/peak/binding/_once.c:227: warning: label '__pyx_L1' defined but not used
> src/peak/binding/_once.c: In function '__pyx_f_14BaseDescriptor_ofClass':
> src/peak/binding/_once.c:257: warning: label '__pyx_L1' defined but not used
> src/peak/binding/_once.c: In function '__pyx_tp_new_bindingLock':
> src/peak/binding/_once.c:592: warning: unused variable 'p'
> src/peak/binding/_once.c: In function '__pyx_tp_dealloc_bindingLock':
> src/peak/binding/_once.c:600: warning: unused variable 'p'
> src/peak/binding/_once.c: In function '__pyx_tp_traverse_bindingLock':
> src/peak/binding/_once.c:606: warning: unused variable 'p'
> src/peak/binding/_once.c:605: warning: unused variable 'e'
> src/peak/binding/_once.c: In function '__pyx_tp_clear_bindingLock':
> src/peak/binding/_once.c:611: warning: unused variable 'p'
> error: Setup script exited with error: command 'gcc' failed with exit status 1
>
> $ gcc --version
> gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Any ideas? Any possibility to bypass once.pyx in the meantime?
>


--
Tiago Cogumbreiro <cogumbreiro at users.sf.net>

http://s1x.homelinux.net/



More information about the PEAK mailing list