External Email - Use Caution
Hello,
I installed freesurfer-7.11 from centos8 rpm on stock docker centos8 image:
there is some problems // misses with this installation
1) some scripts are python and uses /usr/bin/env python which is not available by default on centos8
currently freesurfer rpm specfile should have a dependency to python2, and associated python required modules, ie: dipy graph_tools holoviews plotly statsmodels pyyaml
in that case, following files sheebang should be modified slicedelay dsh mcparams2reg rca-config2csh shebang should be /usr/bin/env python2 instead of /usr/bin/env python
other solution will be to port those scripts to python3 and use fspython
2) some scripts are tclsh ones but no tclsh installed. eg unpackimadir2, unpacksdcmdir. fsgfget
please add tcl rpm dependency to rpm specfile
3) tools depending on MRC matlab runtime
segmentSubjectT2_autoEstimateAlveusML segmentSubjectT1_autoEstimateAlveusML segmentSubject segmentSubjectT1T2_autoEstimateAlveusML SegmentThalamicNuclei SegmentSubfieldsT1Longitudinal
irepifitvol.glnx64 and fs_spmreg.glnxa64 are linked versus libmwmclmcrrt.so.8.3 which is not provided by mcr runtime R2014b but version 8.4 is.
and by the way libncurses-devel is required as rpm dependency
4) some tools uses commands that are not available
show_tal, tal_compare uses mri_show which is not avaialble
5) qdec tcl have invalid environement configuration
Singularity> qdec Tcl_Init error: Can't find a usable init.tcl in the following directories: /usr/pubsw/packages/tcltktixblt/current/lib/tcl8.4 /usr/local/freesurfer/7.1.1-1/lib/tcl8.4 /usr/local/freesurfer/lib/tcl8.4 /usr/local/freesurfer/7.1.1-1/library /usr/local/freesurfer/library /usr/local/freesurfer/tcl8.4.6/library /usr/local/tcl8.4.6/library /usr/pubsw/packages/tcltktixblt/current/lib/tcl8.4
you may want to add $FREESURFER_HOME/lib/tktools/tcl8.4 to TCL_LIBRARY
regards
Eric
freesurfer@nmr.mgh.harvard.edu