Skip to content

Instantly share code, notes, and snippets.

@derchrisuk
Created August 20, 2011 19:41
Show Gist options
  • Save derchrisuk/1159555 to your computer and use it in GitHub Desktop.
Save derchrisuk/1159555 to your computer and use it in GitHub Desktop.
# /root/hg/pypy/pypy/translator/goal/pypy-c setup.pypy build
running build
running build_py
copying overviewer_core/overviewer_version.py -> build/lib.linux-x86_64-2.7/overviewer_core
running build_ext
building 'overviewer_core.c_overviewer' extension
cc -fPIC -Wimplicit -I. -I/root/hg/pypy/pypy/module/micronumpy -I/root/hg/pypy/include -c overviewer_core/src/main.c -o build/temp.linux-x86_64-2.7/overviewer_core/src/main.o
In file included from overviewer_core/src/main.c:18:
overviewer_core/src/overviewer.h:33:21: error: Imaging.h: No such file or directory
In file included from /usr/include/numpy/ndarrayobject.h:18,
from /usr/include/numpy/arrayobject.h:14,
from overviewer_core/src/overviewer.h:34,
from overviewer_core/src/main.c:18:
/usr/include/numpy/numpyconfig.h:4:26: error: _numpyconfig.h: No such file or directory
In file included from /usr/include/numpy/ndarrayobject.h:68,
from /usr/include/numpy/arrayobject.h:14,
from overviewer_core/src/overviewer.h:34,
from overviewer_core/src/main.c:18:
/usr/include/numpy/npy_common.h:840: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'npy_timedelta'
/usr/include/numpy/npy_common.h:841: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'npy_datetime'
In file included from /usr/include/numpy/ndarrayobject.h:1238,
from /usr/include/numpy/arrayobject.h:14,
from overviewer_core/src/overviewer.h:34,
from overviewer_core/src/main.c:18:
/usr/include/numpy/__multiarray_api.h: In function '_import_array':
/usr/include/numpy/__multiarray_api.h:1202: error: 'NPY_ABI_VERSION' undeclared (first use in this function)
/usr/include/numpy/__multiarray_api.h:1202: error: (Each undeclared identifier is reported only once
/usr/include/numpy/__multiarray_api.h:1202: error: for each function it appears in.)
/usr/include/numpy/__multiarray_api.h:1208: error: 'NPY_API_VERSION' undeclared (first use in this function)
In file included from overviewer_core/src/main.c:18:
overviewer_core/src/overviewer.h: At top level:
overviewer_core/src/overviewer.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'imaging_python_to_c'
error: command 'cc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment