You must install Python megawidgets. Look for pmw on google, download and
follow installation instructions (it is easy). I don't remember if you must
build & install again pymol after that or not. This is the last error you
will have!!

By the way, your PC is using MESA libraries. If you are using Nvidia or even
ATI graphhics card, you should install propietary drivers in order to have a
proper 3D acceleration.

Hugo

2010/3/22 Tatsiana Kirys <nus...@mail.ru>

>
> thank you for helping. I;ve installed it. But when i run it, is says
>
>  OpenGL graphics engine:
>  GL_VENDOR: Mesa Project
>  GL_RENDERER: Software Rasterizer
>  GL_VERSION: 1.4 (2.1 Mesa 7.6)
> Traceback (most recent call last):
>  File "/usr/local/lib/python2.6/site-packages/pymol/__init__.py", line 432,
> in launch_gui
>    __import__(self.invocation.options.gui)
>  File "/usr/local/lib/python2.6/site-packages/pmg_tk/__init__.py", line 22,
> in <module>
>    from PMGApp import *
>  File "/usr/local/lib/python2.6/site-packages/pmg_tk/PMGApp.py", line 31,
> in <module>
>    import Pmw
> ImportError: No module named Pmw
>
>
> > This error:
> > creating /usr/local/lib/python2.6
> > error: could not create '/usr/local/lib/python2.6': Permission denied
> >
> > Means that you must run the compilation command as root (or with su
> > privileges)
> > The command:
> > python setup.py build install
> > Can be decomposed into:
> > python setup.py build (this part has been completed in your case)
> > and:
> > python setup.py install (here it fails!). In this case you must have
> > superuser privileges, try:
> > sudo python setup.py install
> > Or, if you don't have sudo on yout system, become root and execute the
> > command as root.
> >
> > Hugo
> >
> > 2010/3/22 Tatsiana Kirys <nus...@mail.ru>
> >
> > >
> > > i dont know why i'm so helpless, but i still got a bunch of messengees:
> > >
> > > running build
> > > running build_py
> > > running build_ext
> > > building 'pymol._cmd' extension
> > > 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
> > > building 'chempy.champ._champ' extension
> > > creating build/temp.linux-i686-2.6/contrib
> > > creating build/temp.linux-i686-2.6/contrib/champ
> > > 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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/champ.c -o
> > > build/temp.linux-i686-2.6/contrib/champ/champ.o
> > > In file included from /usr/include/python2.6/Python.h:8,
> > >                  from contrib/champ/os_python.h:19,
> > >                 from contrib/champ/champ.h:20,
> > >                 from contrib/champ/champ.c:27:
> > > /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE"
> > > redefined
> > > In file included from /usr/include/stdio.h:28,
> > >                 from contrib/champ/os_std.h:23,
> > >                 from contrib/champ/champ.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
> > > -Icontrib/champ -I/usr/include/python2.6 -c
> contrib/champ/champ_module.c -o
> > > build/temp.linux-i686-2.6/contrib/champ/champ_module.o
> > > In file included from /usr/include/python2.6/Python.h:8,
> > >                  from contrib/champ/os_python.h:19,
> > >                 from contrib/champ/champ_module.c:19:
> > > /usr/include/python2.6/pyconfig.h:1055:1: warning: "_POSIX_C_SOURCE"
> > > redefined
> > > In file included from /usr/include/stdio.h:28,
> > >                 from contrib/champ/os_std.h:23,
> > >                 from contrib/champ/champ_module.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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/chiral.c -o
> > > build/temp.linux-i686-2.6/contrib/champ/chiral.o
> > > 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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/err2.c -o
> > > build/temp.linux-i686-2.6/contrib/champ/err2.o
> > > 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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/feedback2.c
> -o
> > > build/temp.linux-i686-2.6/contrib/champ/feedback2.o
> > > 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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/list.c -o
> > > build/temp.linux-i686-2.6/contrib/champ/list.o
> > > 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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/os_memory.c
> -o
> > > build/temp.linux-i686-2.6/contrib/champ/os_memory.o
> > > 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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/sort.c -o
> > > build/temp.linux-i686-2.6/contrib/champ/sort.o
> > > 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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/strblock.c -o
> > > build/temp.linux-i686-2.6/contrib/champ/strblock.o
> > > 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
> > > -Icontrib/champ -I/usr/include/python2.6 -c contrib/champ/vla.c -o
> > > build/temp.linux-i686-2.6/contrib/champ/vla.o
> > > gcc -pthread -shared build/temp.linux-i686-2.6/contrib/champ/champ.o
> > > build/temp.linux-i686-2.6/contrib/champ/champ_module.o
> > > build/temp.linux-i686-2.6/contrib/champ/chiral.o
> > > build/temp.linux-i686-2.6/contrib/champ/err2.o
> > > build/temp.linux-i686-2.6/contrib/champ/feedback2.o
> > > build/temp.linux-i686-2.6/contrib/champ/list.o
> > > build/temp.linux-i686-2.6/contrib/champ/os_memory.o
> > > build/temp.linux-i686-2.6/contrib/champ/sort.o
> > > build/temp.linux-i686-2.6/contrib/champ/strblock.o
> > > build/temp.linux-i686-2.6/contrib/champ/vla.o -L/usr/lib -lpython2.6 -o
> > > build/lib.linux-i686-2.6/chempy/champ/_champ.so
> > > building 'pymol.opengl.glu._glu_num' extension
> > > creating build/temp.linux-i686-2.6/contrib/pyopengl
> > > 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 contrib/pyopengl/_glu_nummodule.c -o
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_glu_nummodule.o
> > > gcc -pthread -shared
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_glu_nummodule.o
> -L/usr/X11R6/lib
> > > -L/usr/lib -lGL -lGLU -lglut -lpython2.6 -o
> > > build/lib.linux-i686-2.6/pymol/opengl/glu/_glu_num.so
> > > building 'pymol.opengl.glu._glu' 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 contrib/pyopengl/_glumodule.c -o
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_glumodule.o
> > > contrib/pyopengl/_glumodule.c:236: warning:
>  suppress_compiler_warnings'
> > > defined but not used
> > > gcc -pthread -shared
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_glumodule.o
> -L/usr/X11R6/lib
> > > -L/usr/lib -lGL -lGLU -lglut -lpython2.6 -o
> > > build/lib.linux-i686-2.6/pymol/opengl/glu/_glu.so
> > > building 'pymol.opengl.glut._glut' 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 contrib/pyopengl/_glutmodule.c -o
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_glutmodule.o
> > > contrib/pyopengl/_glutmodule.c: In function  glut_glutGameModeString':
> > > contrib/pyopengl/_glutmodule.c:1149: warning: unused variable  _res'
> > > contrib/pyopengl/_glutmodule.c: In function  glut_glutEnterGameMode':
> > > contrib/pyopengl/_glutmodule.c:1160: warning: unused variable  _res'
> > > contrib/pyopengl/_glutmodule.c: In function  glut_glutLeaveGameMode':
> > > contrib/pyopengl/_glutmodule.c:1171: warning: unused variable  _res'
> > > gcc -pthread -shared
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_glutmodule.o
> -L/usr/X11R6/lib
> > > -L/usr/lib -lGL -lGLU -lglut -lpython2.6 -o
> > > build/lib.linux-i686-2.6/pymol/opengl/glut/_glut.so
> > > building 'pymol.opengl.gl._opengl_num' 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 contrib/pyopengl/_opengl_nummodule.c -o
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_opengl_nummodule.o
> > > gcc -pthread -shared
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_opengl_nummodule.o
> > > -L/usr/X11R6/lib -L/usr/lib -lGL -lGLU -lglut -lpython2.6 -o
> > > build/lib.linux-i686-2.6/pymol/opengl/gl/_opengl_num.so
> > > building 'pymol.opengl.gl._opengl' 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 contrib/pyopengl/_openglmodule.c -o
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_openglmodule.o
> > > gcc -pthread -shared
> > > build/temp.linux-i686-2.6/contrib/pyopengl/_openglmodule.o
> -L/usr/X11R6/lib
> > > -L/usr/lib -lGL -lGLU -lglut -lpython2.6 -o
> > > build/lib.linux-i686-2.6/pymol/opengl/gl/_opengl.so
> > > building 'pymol.opengl.gl.openglutil' 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 contrib/pyopengl/openglutil.c -o
> > > build/temp.linux-i686-2.6/contrib/pyopengl/openglutil.o
> > > contrib/pyopengl/openglutil.c: In function  gl_SavePPM':
> > > contrib/pyopengl/openglutil.c:192: warning: ignoring return value of
> > >  fwrite', declared with attribute warn_unused_result
> > > contrib/pyopengl/openglutil.c: At top level:
> > > contrib/pyopengl/openglutil.c:49: warning:  suppress_compiler_warnings'
> > > defined but not used
> > > gcc -pthread -shared
> > > build/temp.linux-i686-2.6/contrib/pyopengl/openglutil.o
> -L/usr/X11R6/lib
> > > -L/usr/lib -lGL -lGLU -lglut -lpython2.6 -o
> > > build/lib.linux-i686-2.6/pymol/opengl/gl/openglutil.so
> > > building 'pymol.opengl.gl.openglutil_num' 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 contrib/pyopengl/openglutil_num.c -o
> > > build/temp.linux-i686-2.6/contrib/pyopengl/openglutil_num.o
> > > gcc -pthread -shared
> > > build/temp.linux-i686-2.6/contrib/pyopengl/openglutil_num.o
> -L/usr/X11R6/lib
> > > -L/usr/lib -lGL -lGLU -lglut -lpython2.6 -o
> > > build/lib.linux-i686-2.6/pymol/opengl/gl/openglutil_num.so
> > > running install
> > > running install_lib
> > > creating /usr/local/lib/python2.6
> > > error: could not create '/usr/local/lib/python2.6': Permission denied
> > >
> > >
> > >
> > > Mon, 22 Mar 2010 10:53:05 -0400 письмо от David Hall <
> > > li...@cowsandmilk.net>:
> > >
> > > > 2010/3/22 Tatsiana Kirys <nus...@mail.ru>:
> > > > > I've installed it. But i have even more errors now:
> > > > >
> > > > > nus...@linux-3mpg:~/Download/trunk/pymol> python setup.py build
> > > install
> > > > > ....bunch of stuff....
> > > > >
> /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
> > > > >
> > > >
> > > > This is the important error, all those others are just silliness.
>  You
> > > > need libpng-devel (which should also install some other package that
> > > > starts with libpng that has the actual library)
> > > >
> > > > Interestingly, the pymol README claims pymol can be compiled without
> > > > libpng.  Assuming that isn't true any more, that probably should be
> > > > corrected.
> > > >
> > > > -David
> > > >
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > 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
> > >
> >
> >
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; 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
>
------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to