Dear Joseph,

On Tue, 07 Jul 2009 11:00:10 +0200, Andre Joseph <andrejos...@gmail.com>
wrote:

> 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"
> steps.
> 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

or

  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).

Cheers,
Rob
-- 
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
<robert.campb...@queensu.ca>    http://pldserver1.biochem.queensu.ca/~rlc

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
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