Hi,
I need to install Cogent via python installation script. Unfortunately
after typing in command line: "python setup.py build" or "python
setup.py install" (I've tried with sudo as well) I receive something
like that:
running install
running build
running build_py
running build_ext
building 'cogent.align._compare' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC
-I/home/mateusz/Programy/Bioinfo/Cogent/include
-I/usr/lib/python2.6/dist-packages/numpy/core/include
-I/usr/include/python2.6 -c cogent/align/_compare.c -o
build/temp.linux-i686-2.6/cogent/align/_compare.o -w
cogent/align/_compare.c:4:20: error: Python.h: No such file or directory
cogent/align/_compare.c:5:26: error: structmember.h: No such file or
directory
cogent/align/_compare.c:7:6: error: #error Python headers needed to
compile C extensions, please install development version of Python.
error: command 'gcc' failed with exit status 1
So I'm trying to install Python 3.2 - after 'make install' command at
the end I receive:
Removing /usr/local/lib/python3.2/lib-dynload/Python-3.2a3-py3.2.egg-info
Writing /usr/local/lib/python3.2/lib-dynload/Python-3.2a3-py3.2.egg-info
Creating directory /usr/local/share/man/man1
/usr/bin/install: can't create directory `/usr/local/share/man/man1':
File exists
make: *** [maninstall] Error 1
Of course I've tried as a root move (not copy) man directory from
/usr/local/share/ to root /home but it have not helped at all.
Could somebody help me?
Will be very thankfully.
Best Regards,
Mateusz
--
http://mail.python.org/mailman/listinfo/python-list