[PyMOL] Pymol 1.6.0.0 setup.sh issue

2013-06-13 Thread Roger Rowlett
When executing setup.sh to create the pymol executable link the 
following error is encountered:


start of snip

Creating "./pymol" startup script with
PYMOL_PATH=/usr/local/xtal/pymol-1.6.0.0

If you need to move PyMOL in the future,
re-run "./setup.sh" afterwards.

You may now want to copy or link:
"/usr/local/xtal/pymol-1.6.0.0/pymol"
to something like "/usr/local/bin/pymol"

Enjoy!

./setup.sh: 45: ./setup.sh: Syntax error: "(" unexpected (expecting "done")

end of snip

When running the symlink a libglut link error occurs:

/usr/local/xtal/pymol-1.6.0.0/pymol.exe: error while loading shared 
libraries: libglut.so.3: cannot open shared object file: No such file or 
directory


The pymol 1.5.0.3 shell script and symlink works fine. Running Ubuntu 
12.04 LTS.


Any ideas?

Cheers,

___
Roger Rowlett
Gordon & Dorothy Kline Professor
Department of Chemistry
Colgate University
13 Oak Drive
Hamilton, NY 13346

tel: (315)-228-7245
ofc: (315)-228-7395
fax: (315)-228-7935
email: rrowl...@colgate.edu

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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

Re: [PyMOL] Pymol 1.6.0.0 setup.sh issue

2013-06-13 Thread Thomas Holder
Thomas Holder wrote, On 06/13/13 18:43:
> Find a fixed setup.sh attached. I'll fix this ASAP in SVN.

my mistake, doesn't affect open-source, no fix in SVN, sorry ;)

-- 
Thomas Holder
PyMOL Developer
Schrödinger Contractor

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
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


Re: [PyMOL] Pymol 1.6.0.0 setup.sh issue

2013-06-13 Thread Thomas Holder
Hi Roger,

thanks for the report. Apparently I used some bash-only syntax in
setup.sh, but didn't change the shebang from #!/bin/sh to #!/bin/bash.
Since Ubuntu uses the "dash" shell by default, this fails :(

Find a fixed setup.sh attached. I'll fix this ASAP in SVN.

Cheers,
  Thomas

Roger Rowlett wrote, On 06/13/13 18:27:
> When executing setup.sh to create the pymol executable link the
> following error is encountered:
> 
> start of snip
> 
> Creating "./pymol" startup script with
> PYMOL_PATH=/usr/local/xtal/pymol-1.6.0.0
> 
> If you need to move PyMOL in the future,
> re-run "./setup.sh" afterwards.
> 
> You may now want to copy or link:
> "/usr/local/xtal/pymol-1.6.0.0/pymol"
> to something like "/usr/local/bin/pymol"
> 
> Enjoy!
>  
> ./setup.sh: 45: ./setup.sh: Syntax error: "(" unexpected (expecting "done")
> 
> end of snip
> 
> When running the symlink a libglut link error occurs:
> 
> /usr/local/xtal/pymol-1.6.0.0/pymol.exe: error while loading shared
> libraries: libglut.so.3: cannot open shared object file: No such file or
> directory
> 
> The pymol 1.5.0.3 shell script and symlink works fine. Running Ubuntu
> 12.04 LTS.
> 
> Any ideas?
> 
> Cheers,
> 
> ___
> Roger Rowlett
> Gordon & Dorothy Kline Professor
> Department of Chemistry
> Colgate University
> 13 Oak Drive
> Hamilton, NY 13346
> 
> tel: (315)-228-7245
> ofc: (315)-228-7395
> fax: (315)-228-7935
> email: rrowl...@colgate.edu

-- 
Thomas Holder
PyMOL Developer
Schrödinger Contractor


setup.sh
Description: application/shellscript
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
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