Difference between revisions of "Fsl"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is about installing [http://www.fmrib.ox.ac.uk/fsl/fsl/linux.html FSL].
+
This is an example about [[install]]ing [http://www.fmrib.ox.ac.uk/fsl/fsl/linux.html FSL], tool for brain image analysis.
  
SUSE 12.1 and CentOs 6.0:
+
= get it =
 +
* get a server in the internet e.g. from [[rackspace]]. As operating system, choose CentOS 6.
 +
* download fsl_installer.sh and fsl-4.1.9-centos5_64.tar.gz
 
<pre>
 
<pre>
# ls
+
[root@gosia centos]# ls
fsl-4.1.9-sources.tar.gz  fsl_installer.sh
+
fsl-4.1.9-centos5_64.tar.gz  fsl_installer.sh
suse:/home/gosia/src # bash fsl_installer.sh  
+
[root@gosia centos]# bash fsl_installer.sh  
 
FSL install script
 
FSL install script
 
==================
 
==================
Line 12: Line 14:
 
***************************************************************
 
***************************************************************
 
No FSL tarball specified, assuming you want me to install  
 
No FSL tarball specified, assuming you want me to install  
/home/gosia/src/fsl-4.1.9-sources.tar.gz  
+
/root/centos/fsl-4.1.9-centos5_64.tar.gz  
 
from the current directory.
 
from the current directory.
 
***************************************************************
 
***************************************************************
Line 19: Line 21:
  
 
Checking OS release ...
 
Checking OS release ...
[Failed] This is Linux and you have provided a non-Linux build of FSL!
+
ls: cannot access ld-*.so: No such file or directory
</pre>
+
fsl_installer.sh: line 660: [: -lt: unary operator expected
Next try
+
fsl_installer.sh: line 663: [: -gt: unary operator expected
<pre>
+
[OK]
tar xvzf fsl-4.1.9-sources.tar.gz
+
Checking CPU type...
./build 
+
[OK]
cat build.log
+
Checking install file...(this may take several minutes)
qbootOptions.h:77:27: fatal error: utils/options.h: No such file or directory
 
 
</pre>
 
</pre>
  
ok, the first line in build.log tells me libX11 is missing. [http://www.linuxintro.org/wiki/Error_messages_and_their_solutions#Xlib Fixed].  
+
After you have done this, on CentOs 6, you have to
 +
yum install compat-expat1
 +
and you must install libjpeg and libtiff.  
  
Now there is a file ginstall not available. I think they mean install from the gnu fileutils.
+
== start fsl ==
 +
You start fsl:
 +
export FSLDIR=/usr/local/fsl
 +
. /usr/local/fsl/etc/fslconf/fsl.sh
 +
/usr/local/fsl/bin/fsl
  
= CentOs 6 =
+
= TroubleShooting =
 +
SUSE 12.1 and CentOs 6.0:
 
<pre>
 
<pre>
[root@gosia centos]# ls
+
# ls
fsl-4.1.9-centos5_64.tar.gz  fsl_installer.sh
+
fsl-4.1.9-sources.tar.gz  fsl_installer.sh
[root@gosia centos]# bash fsl_installer.sh  
+
suse:/home/gosia/src # bash fsl_installer.sh  
 
FSL install script
 
FSL install script
 
==================
 
==================
Line 44: Line 52:
 
***************************************************************
 
***************************************************************
 
No FSL tarball specified, assuming you want me to install  
 
No FSL tarball specified, assuming you want me to install  
/root/centos/fsl-4.1.9-centos5_64.tar.gz  
+
/home/gosia/src/fsl-4.1.9-sources.tar.gz  
 
from the current directory.
 
from the current directory.
 
***************************************************************
 
***************************************************************
Line 51: Line 59:
  
 
Checking OS release ...
 
Checking OS release ...
ls: cannot access ld-*.so: No such file or directory
+
[Failed] This is Linux and you have provided a non-Linux build of FSL!
fsl_installer.sh: line 660: [: -lt: unary operator expected
 
fsl_installer.sh: line 663: [: -gt: unary operator expected
 
[OK]
 
Checking CPU type...
 
[OK]
 
Checking install file...(this may take several minutes)
 
 
</pre>
 
</pre>
  
 
= See also =
 
= See also =
 
* http://www.linuxquestions.org/questions/linux-from-scratch-13/usr-bin-ginstall-doesnt-exist-32513/ - about ginstall
 
* http://www.linuxquestions.org/questions/linux-from-scratch-13/usr-bin-ginstall-doesnt-exist-32513/ - about ginstall

Latest revision as of 16:56, 21 August 2012

This is an example about installing FSL, tool for brain image analysis.

get it

  • get a server in the internet e.g. from rackspace. As operating system, choose CentOS 6.
  • download fsl_installer.sh and fsl-4.1.9-centos5_64.tar.gz
[root@gosia centos]# ls
fsl-4.1.9-centos5_64.tar.gz  fsl_installer.sh
[root@gosia centos]# bash fsl_installer.sh 
FSL install script
==================

Looking for FSL tarball in the current directory...
***************************************************************
No FSL tarball specified, assuming you want me to install 
/root/centos/fsl-4.1.9-centos5_64.tar.gz 
from the current directory.
***************************************************************

Where would you like to install FSL to? [/usr/local] 

Checking OS release ...
ls: cannot access ld-*.so: No such file or directory
fsl_installer.sh: line 660: [: -lt: unary operator expected
fsl_installer.sh: line 663: [: -gt: unary operator expected
[OK] 
Checking CPU type...
[OK] 
Checking install file...(this may take several minutes)

After you have done this, on CentOs 6, you have to

yum install compat-expat1

and you must install libjpeg and libtiff.

start fsl

You start fsl:

export FSLDIR=/usr/local/fsl
. /usr/local/fsl/etc/fslconf/fsl.sh 
/usr/local/fsl/bin/fsl

TroubleShooting

SUSE 12.1 and CentOs 6.0:

# ls
fsl-4.1.9-sources.tar.gz  fsl_installer.sh
suse:/home/gosia/src # bash fsl_installer.sh 
FSL install script
==================

Looking for FSL tarball in the current directory...
***************************************************************
No FSL tarball specified, assuming you want me to install 
/home/gosia/src/fsl-4.1.9-sources.tar.gz 
from the current directory.
***************************************************************

Where would you like to install FSL to? [/usr/local] 

Checking OS release ...
[Failed] This is Linux and you have provided a non-Linux build of FSL!

See also