pycortex
pycortex copied to clipboard
gcc: error: cortex/openctm.c: No such file or directory
I'm trying to freshly compile pycortex from the glrework-merged branch (note this also happens on the master branch).
Here's what I get
pycortex:glrework-merged λ python setup.py develop
Compiling cortex/openctm.pyx because it changed.
Compiling cortex/formats.pyx because it changed.
[1/2] Cythonizing cortex/formats.pyx
warning: cortex/formats.pyx:106:14: Non-trivial type declarators in shared declaration (e.g. mix of pointers and valu
es). Each pointer declaration should be on its own line.
warning: cortex/formats.pyx:106:28: Non-trivial type declarators in shared declaration (e.g. mix of pointers and valu
es). Each pointer declaration should be on its own line.
[2/2] Cythonizing cortex/openctm.pyx
running develop
running egg_info
writing pycortex.egg-info/PKG-INFO
writing dependency_links to pycortex.egg-info/dependency_links.txt
writing requirements to pycortex.egg-info/requires.txt
writing top-level names to pycortex.egg-info/top_level.txt
reading manifest file 'pycortex.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pycortex.egg-info/SOURCES.txt'
running build_ext
building 'cortex.openctm' extension
C compiler: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x
86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-prote
ctor-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC
compile options: '-DLZMA_PREFIX_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -I/home/venv/ne
urolang/lib/python3.6/site-packages/numpy/core/include -I/home/venv/neurolang/include -I/usr/include/python3.6m -c'
gcc: cortex/openctm.c
gcc: error: cortex/openctm.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
gcc: error: cortex/openctm.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -mar
ch=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-p
rotector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -DLZMA_PREFIX
_CTM -DOPENCTM_BUILD -IOpenCTM-1.0.3/lib/ -IOpenCTM-1.0.3/lib/liblzma/ -I/home/venv/neurolang/lib/python3.6/site-pack
ages/numpy/core/include -I/home/venv/neurolang/include -I/usr/include/python3.6m -c cortex/openctm.c -o build/temp.li
nux-x86_64-3.6/cortex/openctm.o" failed with exit status 1
I'm not sure what to do from here.