Dear Fulvio Saccoccia,

along the lines of Ian Tickle's reply: there should be a script "cns_solve_env_sh" using /bin/sh, which is usually a soft-link to /bin/bash. I use this script for setup of CNS under bash.

Best regards,

Dirk.

Am 12.07.12 16:49, schrieb fulvio saccoccia:
Dear ccp4 users,
        I tried to install CNS under Debian 64bit. I followed the installation
giude as reported by CNS developers but  I received the following
message when souurcing cns_solve_env:

bash: setenv: command not found
bash: setenv: command not found
bash: cns_solve_env: line 32: syntax error near unexpected token
`setenv'
bash: cns_solve_env: line 32: `  if ( ! $?CNS_ARCH ) setenv CNS_ARCH `
$CNS_SOLVE/bin/getarch`'

I know that the script would set all variables; it is indicated for csh
(or tcsh) shell. I tried to run the script under a csh shell but I
received a different error:

Word too long

The above statement is also received if a bash-optimized script is run.

Does anyone have experience in CNS installation and environment setting?
Any advice?

Thanks in advance

Fulvio Saccoccia
Dept. of Biochemical Sciences
Sapienza University of Rome, Italy

--

*******************************************************
Dirk Kostrewa
Gene Center Munich
Department of Biochemistry
Ludwig-Maximilians-Universität München
Feodor-Lynen-Str. 25
D-81377 Munich
Germany
Phone:  +49-89-2180-76845
Fax:    +49-89-2180-76999
E-mail: kostr...@genzentrum.lmu.de
WWW:    www.genzentrum.lmu.de
*******************************************************

Reply via email to