Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    23

    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

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    dude,
    you need python-devel or python-dev
    install it.

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    23
    raghaven.kumar,,
    i have installed the newest version of pthon-dev but i cant find the python-devel on synaptic.
    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •