> 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 <nus...@mail.ru> 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 erroes
> > could you please advise me what to do? thank you very much I've installed it. But i have even more errors now: nus...@linux-3mpg:~/Download/trunk/pymol> python setup.py build 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 layer3/Selector.c -o build/temp.linux-i686-2.6/layer3/Selector.o -ffast-math -funroll-loops -O3 In file included from /usr/include/python2.6/Python.h:8, from layer0/os_python.h:30, from layer1/PConv.h:20, from layer3/Selector.c:29: /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/malloc.h:24, from layer0/os_predef.h:193, from layer3/Selector.c:19: /usr/include/features.h:210:1: warning: this is the location of the previous definition 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 layer4/Cmd.c -o build/temp.linux-i686-2.6/layer4/Cmd.o -ffast-math -funroll-loops -O3 In file included from /usr/include/python2.6/Python.h:8, from layer0/os_python.h:30, from layer4/Cmd.c:48: /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/malloc.h:24, from layer0/os_predef.h:193, from layer4/Cmd.c:47: /usr/include/features.h:210:1: warning: this is the location of the previous definition layer4/Cmd.c: In function CmdCEAlign': layer4/Cmd.c:8540: warning: implicit declaration of function getCoords' layer4/Cmd.c:8544: warning: implicit declaration of function calcDM' layer4/Cmd.c:8548: warning: implicit declaration of function calcS' layer4/Cmd.c:8554: warning: implicit declaration of function findPath' layer4/Cmd.c:8557: warning: implicit declaration of function findBest' 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 layer4/Export.c -o build/temp.linux-i686-2.6/layer4/Export.o -ffast-math -funroll-loops -O3 In file included from /usr/include/python2.6/Python.h:8, from layer0/os_python.h:30, from layer4/Export.c:21: /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/malloc.h:24, from layer0/os_predef.h:193, from layer4/Export.c:20: /usr/include/features.h:210:1: warning: this is the location of the previous definition 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 layer4/Menu.c -o build/temp.linux-i686-2.6/layer4/Menu.o -ffast-math -funroll-loops -O3 In file included from /usr/include/python2.6/Python.h:8, from layer0/os_python.h:30, from layer4/Menu.c:20: /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/malloc.h:24, from layer0/os_predef.h:193, from layer4/Menu.c:19: /usr/include/features.h:210:1: warning: this is the location of the previous definition 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 layer4/PopUp.c -o build/temp.linux-i686-2.6/layer4/PopUp.o -ffast-math -funroll-loops -O3 In file included from /usr/include/python2.6/Python.h:8, from layer0/os_python.h:30, from layer4/PopUp.c:20: /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/malloc.h:24, from layer0/os_predef.h:193, from layer4/PopUp.c:17: /usr/include/features.h:210:1: warning: this is the location of the previous definition 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 layer5/PyMOL.c -o build/temp.linux-i686-2.6/layer5/PyMOL.o -ffast-math -funroll-loops -O3 In file included from /usr/include/python2.6/Python.h:8, from layer0/os_python.h:30, from layer3/Selector.h:20, from layer5/PyMOL.c:31: /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/malloc.h:24, from layer0/os_predef.h:193, from layer0/os_std.h:21, from layer5/PyMOL.c:18: /usr/include/features.h:210:1: warning: this is the location of the previous definition layer5/PyMOL.c: In function PyMOL_CmdGetMovieLength': layer5/PyMOL.c:2119: warning: result.value' may be used uninitialized in this function 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 layer5/TestPyMOL.c -o build/temp.linux-i686-2.6/layer5/TestPyMOL.o -ffast-math -funroll-loops -O3 In file included from /usr/include/python2.6/Python.h:8, from layer0/os_python.h:30, from layer2/ObjectCGO.h:20, from layer5/TestPyMOL.c:29: /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/malloc.h:24, from layer0/os_predef.h:193, from layer5/TestPyMOL.c:21: /usr/include/features.h:210:1: warning: this is the location of the previous definition 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 layer5/main.c -o build/temp.linux-i686-2.6/layer5/main.o -ffast-math -funroll-loops -O3 In file included from /usr/include/python2.6/Python.h:8, from layer0/os_python.h:30, from layer5/main.c:19: /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/malloc.h:24, from layer0/os_predef.h:193, from layer5/main.c:18: /usr/include/features.h:210:1: warning: this is the location of the previous definition g++ -pthread -shared build/temp.linux-i686-2.6/modules/cealign/src/ccealignmodule.o build/temp.linux-i686-2.6/ov/src/OVContext.o build/temp.linux-i686-2.6/ov/src/OVHeapArray.o build/temp.linux-i686-2.6/ov/src/OVHeap.o build/temp.linux-i686-2.6/ov/src/OVLexicon.o build/temp.linux-i686-2.6/ov/src/OVOneToOne.o build/temp.linux-i686-2.6/ov/src/OVOneToAny.o build/temp.linux-i686-2.6/ov/src/OVRandom.o build/temp.linux-i686-2.6/ov/src/ov_utility.o build/temp.linux-i686-2.6/layer0/Block.o build/temp.linux-i686-2.6/layer0/Crystal.o build/temp.linux-i686-2.6/layer0/Debug.o build/temp.linux-i686-2.6/layer0/Deferred.o build/temp.linux-i686-2.6/layer0/Err.o build/temp.linux-i686-2.6/layer0/Feedback.o build/temp.linux-i686-2.6/layer0/Field.o build/temp.linux-i686-2.6/layer0/Isosurf.o build/temp.linux-i686-2.6/layer0/Map.o build/temp.linux-i686-2.6/layer0/Match.o build/temp.linux-i686-2.6/layer0/Matrix.o build/temp.linux-i686-2.6/layer0/MemoryDebug.o build/temp.linux-i686-2.6/layer0/MemoryCache.o build/temp.linux-i686-2.6/layer0/MyPNG.o build/temp.linux-i686-2.6/layer0/Parse.o build/temp.linux-i686-2.6/layer0/Pixmap.o build/temp.linux-i686-2.6/layer0/Queue.o build/temp.linux-i686-2.6/layer0/Raw.o build/temp.linux-i686-2.6/layer0/Sphere.o build/temp.linux-i686-2.6/layer0/Tetsurf.o build/temp.linux-i686-2.6/layer0/Texture.o build/temp.linux-i686-2.6/layer0/Tracker.o build/temp.linux-i686-2.6/layer0/Triangle.o build/temp.linux-i686-2.6/layer0/Util.o build/temp.linux-i686-2.6/layer0/Vector.o build/temp.linux-i686-2.6/layer0/Word.o build/temp.linux-i686-2.6/layer0/os_gl.o build/temp.linux-i686-2.6/layer1/Basis.o build/temp.linux-i686-2.6/layer1/ButMode.o build/temp.linux-i686-2.6/layer1/Character.o build/temp.linux-i686-2.6/layer1/CGO.o build/temp.linux-i686-2.6/layer1/Color.o build/temp.linux-i686-2.6/layer1/Control.o build/temp.linux-i686-2.6/layer1/Extrude.o build/temp.linux-i686-2.6/layer1/Font.o build/temp.linux-i686-2.6/layer1/FontType.o build/temp.linux-i686-2.6/layer1/FontGLUT.o build/temp.linux-i686-2.6/layer1/FontGLUT8x13.o build/temp.linux-i686-2.6/layer1/FontGLUT9x15.o build/temp.linux-i686-2.6/layer1/FontGLUTHel10.o build/temp.linux-i686-2.6/layer1/FontGLUTHel12.o build/temp.linux-i686-2.6/layer1/FontGLUTHel18.o build/temp.linux-i686-2.6/layer1/Movie.o build/temp.linux-i686-2.6/layer1/Ortho.o build/temp.linux-i686-2.6/layer1/P.o build/temp.linux-i686-2.6/layer1/PConv.o build/temp.linux-i686-2.6/layer1/Pop.o build/temp.linux-i686-2.6/layer1/PyMOLObject.o build/temp.linux-i686-2.6/layer1/Ray.o build/temp.linux-i686-2.6/layer1/Rep.o build/temp.linux-i686-2.6/layer1/Scene.o build/temp.linux-i686-2.6/layer1/ScrollBar.o build/temp.linux-i686-2.6/layer1/Seq.o build/temp.linux-i686-2.6/layer1/Setting.o build/temp.linux-i686-2.6/layer1/Shaker.o build/temp.linux-i686-2.6/layer1/Symmetry.o build/temp.linux-i686-2.6/layer1/Text.o build/temp.linux-i686-2.6/layer1/TypeFace.o build/temp.linux-i686-2.6/layer1/Wizard.o build/temp.linux-i686-2.6/layer1/View.o build/temp.linux-i686-2.6/layer2/AtomInfo.o build/temp.linux-i686-2.6/layer2/CoordSet.o build/temp.linux-i686-2.6/layer2/GadgetSet.o build/temp.linux-i686-2.6/layer2/DistSet.o build/temp.linux-i686-2.6/layer2/ObjectAlignment.o build/temp.linux-i686-2.6/layer2/ObjectCGO.o build/temp.linux-i686-2.6/layer2/ObjectCallback.o build/temp.linux-i686-2.6/layer2/ObjectDist.o build/temp.linux-i686-2.6/layer2/ObjectMap.o build/temp.linux-i686-2.6/layer2/ObjectMesh.o build/temp.linux-i686-2.6/layer2/ObjectMolecule.o build/temp.linux-i686-2.6/layer2/ObjectMolecule2.o build/temp.linux-i686-2.6/layer2/ObjectSurface.o build/temp.linux-i686-2.6/layer2/ObjectSlice.o build/temp.linux-i686-2.6/layer2/RepCartoon.o build/temp.linux-i686-2.6/layer2/RepCylBond.o build/temp.linux-i686-2.6/layer2/RepDistDash.o build/temp.linux-i686-2.6/layer2/RepDistLabel.o build/temp.linux-i686-2.6/layer2/RepDot.o build/temp.linux-i686-2.6/layer2/RepLabel.o build/temp.linux-i686-2.6/layer2/RepMesh.o build/temp.linux-i686-2.6/layer2/ObjectGadget.o build/temp.linux-i686-2.6/layer2/ObjectGadgetRamp.o build/temp.linux-i686-2.6/layer2/ObjectGroup.o build/temp.linux-i686-2.6/layer2/RepAngle.o build/temp.linux-i686-2.6/layer2/RepDihedral.o build/temp.linux-i686-2.6/layer2/RepNonbonded.o build/temp.linux-i686-2.6/layer2/RepNonbondedSphere.o build/temp.linux-i686-2.6/layer2/RepRibbon.o build/temp.linux-i686-2.6/layer2/RepSphere.o build/temp.linux-i686-2.6/layer2/RepEllipsoid.o build/temp.linux-i686-2.6/layer2/RepSurface.o build/temp.linux-i686-2.6/layer2/RepWireBond.o build/temp.linux-i686-2.6/layer2/Sculpt.o build/temp.linux-i686-2.6/layer2/SculptCache.o build/temp.linux-i686-2.6/layer2/VFont.o build/temp.linux-i686-2.6/layer3/PlugIOManager.o build/temp.linux-i686-2.6/layer3/Editor.o build/temp.linux-i686-2.6/layer3/Executive.o build/temp.linux-i686-2.6/layer3/Seeker.o build/temp.linux-i686-2.6/layer3/Selector.o build/temp.linux-i686-2.6/layer4/Cmd.o build/temp.linux-i686-2.6/layer4/Export.o build/temp.linux-i686-2.6/layer4/Menu.o build/temp.linux-i686-2.6/layer4/PopUp.o build/temp.linux-i686-2.6/layer5/PyMOL.o build/temp.linux-i686-2.6/layer5/TestPyMOL.o build/temp.linux-i686-2.6/layer5/main.o -L/usr/X11R6/lib -L/usr/lib -lGL -lGLU -lglut -lpng -lz -lfreetype -lpython2.6 -o build/lib.linux-i686-2.6/pymol/_cmd.so /usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld: cannot find -lpng collect2: ld returned 1 exit status error: command 'g++' failed with exit status 1 i'd appreciate your help very much! kind regards 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 (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net