Entering edit mode
12.4 years ago
agatorano
▴
50
I run: sudo python setup.py build
this yields this error message
running build
running build_py
running build_ext
building 'cutadapt.calign' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c cutadapt/calignmodule.c -o build/temp.linux-x86_64-2.6/cutadapt/calignmodule.o
cutadapt/calignmodule.c:23:20: error: Python.h: No such file or directory
cutadapt/calignmodule.c:53: error: expected ‘)’ before string constant
cutadapt/calignmodule.c:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cutadapt/calignmodule.c:263: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘methods’
cutadapt/calignmodule.c: In function ‘initcalign’:
cutadapt/calignmodule.c:297: error: ‘PyObject’ undeclared (first use in this function)
cutadapt/calignmodule.c:297: error: (Each undeclared identifier is reported only once
cutadapt/calignmodule.c:297: error: for each function it appears in.)
cutadapt/calignmodule.c:297: error: ‘module’ undeclared (first use in this function)
cutadapt/calignmodule.c:297: warning: implicit declaration of function ‘Py_InitModule’
cutadapt/calignmodule.c:297: error: ‘methods’ undeclared (first use in this function)
cutadapt/calignmodule.c:300: error: ‘NULL’ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
I have no clue whey this would occur but similar messages have popped up what installing other things as well.
Thank you! that did it. Wish I knew about all of these required installs before reaching all of these roadblocks