From: Tatsiana K. <nu...@ma...> - 2010-03-19 21:50:18
|
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 |