You need to run
source /sw/bin/init.sh
if you use bash or zsh
or
source /sw/bin/init.csh
if you use tcsh.
this will automatically set up the environment variables and then it
will do what you want it to (which is to set up the ccp4 environment
according to whichever shell you might be using).
On Apr 25, 2008, at 1:19 PM, Patrick Loll wrote:
> Accck!
>
> 1. I tried to install Bill Scott's precompiled ccp4 on an intel mac
> running OS X 10.5. When attempting launch ccp4i, I receive this
> error message:
>
> /sw/share/xtal/ccp4-6.0.2/ccp4i/bin/ccp4i: line 4 /bltwish: no such
> file or directory
>
> Typing "which bltwish" returns /sw/bin/bltwish, which jibes with the
> definition of $CCP4I_TCLTK, so I'm not sure where the problem is...
>
> 2. Pfui. So next I tried jettisoning the apt-get installation, and
> instead used the installer downloaded from the ccp4 site (ccp4-6.0.2-
> osx-i386.dmg.gz). This goes swimmingly, until I actually try to do
> something. Commands like "ccp4i" or "mtzdump" aren't recognized,
> so I go looking for the ccp4.setup file; but it's not there. Huh?
> Also, there's no folder named ccp4i, even though this install is
> supposed to include it...
>
> It's Friday, and I'm at the nadir of my weekly brain function, so
> perhaps some kind soul will tell me where I'm going astray.
>
> Thanks,
>
> Pat
>
> ---------------------------------------------------------------------------------------
> Patrick J. Loll, Ph. D.
> Professor of Biochemistry & Molecular Biology
> Director, Biochemistry Graduate Program
> Drexel University College of Medicine
> Room 10-102 New College Building
> 245 N. 15th St., Mailstop 497
> Philadelphia, PA 19102-1192 USA
>
> (215) 762-7706
> [log in to unmask]
>
|