Hi Fred,

I had about the same problem that disappeared when I logged out and in
again - just a new terminal was no help. Does that help in your case,
too? Maybe there is an environment variable that gets appended by the
setup script.

Best,
Tim

On 01/23/2015 06:07 PM, vellieux wrote:
> Hello,
> 
> I just installed ccp4-6.5
> 
> I get an error at run time (relating to $PATH I suppose, see below) that
> still contains occurrences of ccp4-6.4.0 even though the line that was
> supposed to get rid of these was made active in ccp4.setup-csh
> # To remove previously added CCP4 directories from the PATH, uncomment:
> if $?CCP4 setenv PATH `echo "$PATH" | sed "s,${CCP4}[^:]*:,,g"`
> 
> The previous distribution of ccp4 (6.4.0) was removed during the 6.5
> installation step. I get this for example when launching ccp4i:
> 
> Error in startup script: couldn't read file
> "/home/prog/ccp4-6.4.0/share/dbccp4i/ClientAPI/dbClientAPI.tcl": no such
> file or directory
>     while executing
> "source [FileJoin [GetEnvPath DBCCP4I_TOP] ClientAPI dbClientAPI.tcl]"
>     (file "/home/prog/ccp4-6.5/share/ccp4i/src/projectdirs.tcl" line 23)
>     invoked from within
> "source [SearchPath TOP src projectdirs.tcl]"
>     (file "/home/prog/ccp4-6.5/share/ccp4i/src/system.tcl" line 3379)
>     invoked from within
> "source [file join $env(CCP4I_TOP) src system.tcl]"
>     (file "/home/prog/ccp4-6.5/share/ccp4i/bin/ccp4i.tcl" line 79)
>     invoked from within
> "source [file join $env(CCP4I_TOP) bin ccp4i.tcl]"
>     (file "/home/prog/ccp4-6.5/bin/ccp4i" line 12)
> 
> and echo $PATH contains the following entry that shouldn't be there:
> /home/prog/ccp4-6.4.0/share/xia2/Applications
> 
> Would anyone know how to deal with this ?
> 
> Thank you in advance,
> 
> Fred.
> 

-- 
Dr Tim Gruene
Institut fuer anorganische Chemie
Tammannstr. 4
D-37077 Goettingen

GPG Key ID = A46BEE1A

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to