-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Katja wrote:
> William Scott <wgscott <at> chemistry.ucsc.edu> writes:
>
>>
>> On Dec 9, 2007, at 10:10 PM, Martin Costabel wrote:
>>
>>> Katja wrote:
>>>>> Is it possible to install ccp4 on Mac Leopard 10.5 and how? I am 
>>>>> getting the "could not find ccp4 package" error. Any ideas?
>>>>> Thanks in advance
>>>> I have installed ccp4 on 10.5 (thanks to Alexander) but I cannot 
>>>> get it to run.
>>>> I have tried typing ccp4i and sudo ccp4i but that did not work.
>>>> Any idea on what my next step should be?
>>> What do you mean by "did not work"?
>>>
>>> --
>>> Martin
>> Sorry, I did not see any of this until just now.
>>
>> First, you have to make sure you are initializing fink with
>>
>> source /sw/bin/init.sh  (if you use bash or zsh)
>>
>> or
>>
>> source /sw/bin/init.csh   (if you use tcsh)
>>
>> This will put $CCP4/bin into your path.
>>
>> Using "sudo ccp4i" won't work on 10.5, so if you need to do this 
>> (there really is no need), first start a root shell with
>>
>> sudo -s
>>
>> and then issue "ccp4i"
>>
>> I have more details here:
>>
>> http://xanana.ucsc.edu/xtal/wiki/index.php/Installing_CCP4_on_OS_X
>
> Hi,
> ccp4 is now running but I do still have an issue that needs fixing
> -mainly ccp4 starts with an error of :
> You are the first person to use ccp4 and ccp4 is trying to
> automatically configure-get the person who
> installed it to configure it.
> I cannot get ccp4 to run with su, sudo
>  or sudo-s command-the following error appears:
> katarina-moravcevics-macbook-pro:Downloads Kale$ sudo ccp4i
> Password:
> /sw/share/xtal/ccp4-6.0.2/ccp4i/bin/ccp4i: line 4: /bltwish:
> No such file or directory
> /sw/share/xtal/ccp4-6.0.2/ccp4i/bin/ccp4i: line 4: exec: /bltwish:
> cannot execute:
> No such file or
> directory
> katarina-moravcevics-macbook-pro:Downloads Kale$ sudo -s
> bash-3.2# ccp4i
> /sw/share/xtal/ccp4-6.0.2/ccp4i/bin/ccp4i: line 4: /bltwish:
> No such file or directory
> /sw/share/xtal/ccp4-6.0.2/ccp4i/bin/ccp4i: line 4: exec: /bltwish:
> cannot execute:
>  No such file or
> directory
> bash-3.2#
> I really need to get this to work since I cannot install Phase
> r without having permission rights-Does
> anybody have any ideas of how to deal with this?
>
> Thanks in advance
> Katja
>
>

It looks like something isn't getting inherited correctly in your
environment.  I have the following (though on 10.4):

cat /sw/share/xtal/ccp4-6.0.2/ccp4i/bin/ccp4i
#!/bin/sh
# Start ccp4i interface
# \
exec $CCP4I_TCLTK/bltwish "$0" -- ${1+"$@"}
source [file join $env(CCP4I_TOP) bin ccp4i.tcl]
akhmac:/sw/fink/10.4/unstable/main/finkinfo/libs/perlmods root#
printenv | grep CCP4
CCP4I_TCLTK=/sw/bin
CCP4_HELPDIR=/sw/share/xtal/ccp4-6.0.2/help/
CCP4=/sw/share/xtal/ccp4-6.0.2
CCP4_LIB=/sw/share/xtal/ccp4-6.0.2/lib
CCP4_BIN=/sw/share/xtal/ccp4-6.0.2/bin
CCP4I_HELP=/sw/share/xtal/ccp4-6.0.2/ccp4i/help
CCP4I_TOP=/sw/share/xtal/ccp4-6.0.2/ccp4i
CCP4_OPEN=UNKNOWN
CCP4_SCR=/tmp/root
CCP4_BROWSER=open
CCP4_MASTER=/sw/share/xtal


It looks like $CCPRI_TCLTK is undefined in your case.  As a
workaround, you could try setting all of these environment variables.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHX13GB8UpO3rKjQ8RAuOKAJ4jQOhO3vHjFeo06b7X1AOJDhSyuQCdF6ZU
CvEAc4dNDMx7TxZ31tIK6gI=
=KZ7i
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to