Hi -

Got a new computer, was trying to install CCP4 following the Scott Lab page (64 bit install) -
http://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/64-bit_Fink_for_10.5_and_10.6

First had to install fink - tried to follow that page, but didn't have the cvs command (forgot about the xcode, etc.). So installed Fink via:

http://www.finkproject.org/download/srcdist.php

This install put fink into the sw/ directory, not sw64/

So after fink was running, I went back to the
http://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/64-bit_Fink_for_10.5_and_10.6
page, and started from "For now on, I will use "/sw* " to mean "/sw or /sw64 as appropriate."

ie. edited files:
When it is done, edit /sw*/etc/fink.conf and change line 4 to look like this:
######
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
This activates the unstable branch.
Then issue
source /sw*/bin/init.sh
fink selfupdate-cvs
fink -y update-all
fink scanpackages
#####
everything was fine until I did this:
First you need to edit the /sw64/etc/apt/sources.list file and add the following three lines to the bottom of that file
####
(I changed the sources.list file in the sw/ directory)
#####
deb http://sage.ucsc.edu/fink_intel_10.6_64bit    stable main crypto
deb http://sage.ucsc.edu/fink_intel_10.6_64bit     unstable main crypto
deb http://sage.ucsc.edu/fink_intel_10.6_64bit local main ####
then wehn I tried to install coot and ccp4 using the next part:
#####
fink scanpackages
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install coot
#####
I found out I killed fink.

ie. here's the error message after running fink scanpackages:

ERROR: Configuration file "/sw64/etc/fink.conf" not found.
/sw/bin/dpkg: error processing fink (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 fink
E: Sub-process /sw/bin/dpkg returned an error code (1)


I see that the previous edit made the update look for something in /sw64/ which of course didn't exist, but now my version of fink is dead...

ie. I type fink scanpackages, or any fink command, and the command is not found.

I type "which fink" and nothing returns, but everything is still in the sw/ directory.

What do you think? now that I have the cvs command up and going, I just delete the sw/ directory and start over, or is there some fix I can do?

Thanks,
Dave

Reply via email to