From: David H. <li...@co...> - 2010-03-21 03:16:18
|
Looks like you don't have the python-devel package. This provides the header files such as Python.h you need for compiling python modules. -David On Fri, Mar 19, 2010 at 5:50 PM, Tatsiana Kirys <nu...@ma...> wrote: > > > Dear All, > > i'm trying to install pymol on suse. i've checked that i have penGL, glut, libpng, tcl/tk, python, > freetype2 installed. But when running > > python setup.py build install > > i got the following messages > > running install > running build > running build_py > running build_ext > building 'pymol._cmd' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC -D_PYMOL_MODULE -D_PYMOL_INLINE -D_PYMOL_FREETYPE -D_PYMOL_LIBPNG -Iov/src -Ilayer0 -Ilayer1 -Ilayer2 -Ilayer3 -Ilayer4 -Ilayer5 -I/usr/include/freetype2 -Imodules/cealign/src -Imodules/cealign/src/tnt -I/usr/include/python2.6 -c modules/cealign/src/ccealignmodule.cpp -o build/temp.linux-i686-2.6/modules/cealign/src/ccealignmodule.o -ffast-math -funroll-loops -O3 > In file included from modules/cealign/src/ccealignmodule.H:57, > from modules/cealign/src/ccealignmodule.cpp:32: > layer0/os_python.h:30:19: error: Python.h: No such file or directory > In file included from modules/cealign/src/ccealignmodule.cpp:32: > modules/cealign/src/ccealignmodule.H:70: error: PyObject' was not declared in this scope > modules/cealign/src/ccealignmodule.H:70: error: L' was not declared in this scope > modules/cealign/src/ccealignmodule.H:70: error: expected primary-expression before int' > modules/cealign/src/ccealignmodule.H:70: error: initializer expression list treated as compound expression > modules/cealign/src/ccealignmodule.H:76: error: expected constructor, destructor, or type conversion before *' token > modules/cealign/src/ccealignmodule.cpp:102: error: redefinition of cePoint* getCoords' > modules/cealign/src/ccealignmodule.H:70: error: cePoint* getCoords' previously defined here > modules/cealign/src/ccealignmodule.cpp:102: error: PyObject' was not declared in this scope > modules/cealign/src/ccealignmodule.cpp:102: error: L' was not declared in this scope > modules/cealign/src/ccealignmodule.cpp:102: error: expected primary-expression before int' > error: command 'gcc' failed with exit status 1 > > > > could you please advise me what to do? > > > thank you very much > > Tania > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > |