64-bit Fink for 10.6

From OS X Scientific Computing

Jump to: navigation, search


Contents





Bootstrap Install from sourcecode for greater control

You can install a 64-bit fink to coexist with your current installation (although you can't use them in the same shell session). The following assumes you want to install everything in a directory called either /sw64 or /sw.

If you want to make use of my repositories, choose /sw64 .

If you have no other fink installation (no directory called /sw ), and you don't want to use my repositories, you are better off in the long run putting it in /sw.




How to Bootstrap-Install Fink-64bit

In a bash or zsh shell, issue the command

cvs -d:pserver:anonymous@fink.cvs.sourceforge.net:/cvsroot/fink login
[just hit return when prompted for password]
cvs -z3 -d:pserver:anonymous@fink.cvs.sourceforge.net:/cvsroot/fink co -P fink


Then do

cd fink ; ./bootstrap /sw64

if you want to make use of my precompiled binary distribution.


If you are happy to compile everything yourself, then you are better off with

cd fink ; ./bootstrap /sw

as appropriate.

For now on, I will use "/sw* " to mean "/sw or /sw64 as appropriate."

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





Install x86_64 versions of crystallography software

The normal, official Fink way is to compile everything yourself. If you are in a hurry, you might find it easier to use my unofficial pre-compiled Fink binary distribution.


Using my Pre-Compiled Fink Packages

First you need to edit the /sw64/etc/apt/sources.list file and add the following three lines to the bottom of that file:


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

That's all you need, but more detailed information is located here: Getting your fink installation to use packages that I have pre-compiled

Now you can install fink packages that I have pre-compiled using the apt-get command. Here is an example for installing coot:

sudo apt-get update
sudo apt-get dist-upgrade 
sudo apt-get install coot

(The more or less equivalent fink -b install coot command doesn't work with a directory named anything other than /sw. Sorry for earlier claims to the contrary.)



Compiling it with Fink

This is the official Fink-approved way to do it:

To install coot, issue

source /sw*/bin/init.sh
fink install coot

To install ccp4, issue

source /sw*/bin/init.sh
fink install ccp4

You, or your shell startup files, need to issue

source /sw*/bin/init.sh

before running these programs, or

source /sw*/bin/init.csh

if you are a tcsh user.

Personal tools