Skip to content

Instantly share code, notes, and snippets.

@andrewsmedina
Created June 12, 2013 04:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save andrewsmedina/5762750 to your computer and use it in GitHub Desktop.
$ pip install setproctitle
Downloading/unpacking setproctitle
Running setup.py egg_info for package setproctitle
Installing collected packages: setproctitle
Running setup.py install for setproctitle
building 'setproctitle' extension
cc -arch x86_64 -O2 -fPIC -Wimplicit -I/usr/local/include -DSPT_VERSION=1.1.7 -D__darwin__=1 -I/Users/andrews/.virtualenvs/sentrypypy/include -c src/setproctitle.c -o build/temp.macosx-10.6-x86_64-2.7/src/setproctitle.o
In file included from src/spt.h:15,
from src/setproctitle.c:14:
src/spt_python.h:14:20: error: Python.h: No such file or directory
src/setproctitle.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/setproctitle.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/setproctitle.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/setproctitle.c:68: error: array type has incomplete element type
src/setproctitle.c:70: error: ‘PyCFunction’ undeclared here (not in a function)
src/setproctitle.c:70: error: expected ‘}’ before ‘spt_setproctitle’
src/setproctitle.c:75: error: expected ‘}’ before ‘spt_getproctitle’
src/setproctitle.c:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘initsetproctitle’
error: command 'cc' failed with exit status 1
Complete output from command /Users/andrews/.virtualenvs/sentrypypy/bin/pypy -c "import setuptools;__file__='/Users/andrews/.virtualenvs/sentrypypy/build/setproctitle/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/Fg/FgpMc-3NHXespj18-Y2dV++++TM/-Tmp-/pip-X3pXpq-record/install-record.txt --single-version-externally-managed --install-headers /Users/andrews/.virtualenvs/sentrypypy/include/site/python2.7:
running install
running build
running build_ext
building 'setproctitle' extension
cc -arch x86_64 -O2 -fPIC -Wimplicit -I/usr/local/include -DSPT_VERSION=1.1.7 -D__darwin__=1 -I/Users/andrews/.virtualenvs/sentrypypy/include -c src/setproctitle.c -o build/temp.macosx-10.6-x86_64-2.7/src/setproctitle.o
In file included from src/spt.h:15,
from src/setproctitle.c:14:
src/spt_python.h:14:20: error: Python.h: No such file or directory
src/setproctitle.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/setproctitle.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/setproctitle.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
src/setproctitle.c:68: error: array type has incomplete element type
src/setproctitle.c:70: error: ‘PyCFunction’ undeclared here (not in a function)
src/setproctitle.c:70: error: expected ‘}’ before ‘spt_setproctitle’
src/setproctitle.c:75: error: expected ‘}’ before ‘spt_getproctitle’
src/setproctitle.c:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘initsetproctitle’
error: command 'cc' failed with exit status 1
----------------------------------------
Command /Users/andrews/.virtualenvs/sentrypypy/bin/pypy -c "import setuptools;__file__='/Users/andrews/.virtualenvs/sentrypypy/build/setproctitle/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/Fg/FgpMc-3NHXespj18-Y2dV++++TM/-Tmp-/pip-X3pXpq-record/install-record.txt --single-version-externally-managed --install-headers /Users/andrews/.virtualenvs/sentrypypy/include/site/python2.7 failed with error code 1 in /Users/andrews/.virtualenvs/sentrypypy/build/setproctitle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment