If you have not taken a precompiled version, you will require:
In addition, the following are required (Note: sometimes these binaries can be taken from one of the other FSL binary distributions if the operating system and machines are similar - e.g. certain varieties of linux on PC machines):
Note that if you are building these yourself, you will want to delete the words tcl and tk from the build script in the extras directory of the FSL sources. Otherwise the build may overwrite your newly created binaries for these packages.
Then do the following check (this if for the bash shell; if you are using tcsh amend appropriately):
export FSLDIR=<??wherever fsl is unpacked??>e.g. export FSLDIR=/usr/local/fsl
. ${FSLDIR}/etc/fslconf/fsl.sh
ls $FSLDIR/config/$FSLMACHTYPE
If the above directory does not exist (the ls returns an error):
cp -r $FSLDIR/config/closestmatch $FSLDIR/config/$FSLMACHTYPE
Once this test is done then the sources can be built simply by doing:
cd $FSLDIR ./build
If you want to re-make a particular package in $FSLDIR/src (e.g. flirt) then first set the FSLDEVDIR environment variable to the same as FSLDIR and then just type
make install
inside the relevant directory.
Before use you will need to configure your environment to allow the FSL binaries to be located by the system. Do this as per the instructions in the Linux installation guide.
For instructions on compiling FSLView, see here.