On Tue, 07 Jul 2009 11:00:10 +0200, Andre Joseph <andrejoseph@...>
> Dear Delano Scientific support
> I've been fetching source code from the sourceforge repositories yesterday.
> I've no error or warning during "./configure", "make" or "make install"
> However, when I launch pymol, I've the following error:
> Traceback (most recent call last):
> > File "/home/joseph/software/pymol/modules/launch_pymol.py", line 32, in
> > <module>
> > import pymol
> > File "/home/joseph/software/pymol/modules/pymol/__init__.py", line 472,
> > in <module>
> > import _cmd
> > ImportError: /home/joseph/software/pymol/modules/pymol/_cmd.so: undefined
> > symbol: molfile_vaspparchgplugin_init
> I've found in the archive that it might come from a problem in "setup.py"
> file but I couldn't figure out what was missing (http://tinyurl.com/ndpafb).
> I've been building PyMOL from source for a year or so and never faced up any
> problem. Could it come from the sources or is a problem of dependancies?
I think the recommended way of building PyMOL is with these commands (see
the "INSTALL" file):
python setup.py build
python setup.py install
python setup2.py install
Since I install it in a non-standard location (an NFS file server accessible
from many workstations of both i686 and x86_64 versions of Linux), I add a
prefix to the install command:
python setup.py install --prefix=/software/Linux
python setup.py install --prefix=/software/Linux_x86_64
Then I keep a saved and modified copy of the pymol script created by the
"python setup2.py install" command and copy that back over the newly created
"pymol" script instead (because I have a few customizations in it).
Robert L. Campbell, Ph.D.
Senior Research Associate/Adjunct Assistant Professor
Botterell Hall Rm 644
Department of Biochemistry, Queen's University,
Kingston, ON K7L 3N6 Canada
Tel: 613-533-6821 Fax: 613-533-2497