Dear Graham,
It is *really* important that you set your environment
up correctly. The FSLDIR variable is used by *many*
scripts and commands in fsl. The reason it gave you
this unhelpful error message was because it could not
find the correct program to run, as all fsl scripts
look in $FSLDIR/bin, and when it didn't find the program
it thought that it couldn't find it for the right data
type.
This isn't the only setup that is required though.
You must also set up other environment variables by
sourcing either the fsl.sh or fsl.csh file in
$FSLDIR/etc/fslconf
See the instructions for installing and setting your
environment can be found at:
http://www.fmrib.ox.ac.uk/fslfaq/#general_install
or via the README file as you found.
All the best,
Mark
On 10 Aug 2005, at 06:13, Graham Wideman wrote:
> Never mind... mystery solved.
>
> In case anyone else searches the archive for this problem:
>
> By reverse engineering the runavw binary, we figured out that runavw
> looks for a FSLDIR environment variable. This led us to the README
> file that says the same thing. Doh!
>
> Not sure why the appropriate runavw error message for "missing
> environment variable" is "This program has not been compiled for this
> data type", nor why the program even needs that environment variable,
> but c'est la vie I guess.
>
> Regards,
>
> Graham
|