pnlbwh/pnlNipype

[Solution] BRAINSTools installation failure

Opened this issue · 0 comments

Upon conda activate pnlpipe3, all software install fine except BRAINSTools hash 81a409d:

[ 24%] Building CXX object oflog/libsrc/CMakeFiles/oflog.dir/mdc.cc.o
[ 24%] Building CXX object oflog/libsrc/CMakeFiles/oflog.dir/queue.cc.o
...
...
/home/pnlbwh/miniconda3/envs/pnlpipe3/lib/libicuuc.so: undefined reference to `__cxa_throw_bad_ar                         ray_new_length@CXXABI_1.3.8'
/home/pnlbwh/miniconda3/envs/pnlpipe3/lib/libicuuc.so: undefined reference to `operator delete(vo                         id*, unsigned long)@CXXABI_1.3.9'
collect2: error: ld returned 1 exit status
make[5]: *** [bin/ofstd_tests] Error 1
make[4]: [ 24%] Building CXX object oflog/libsrc/CMakeFiles/oflog.dir/snprintf.cc.o
*** [ofstd/tests/CMakeFiles/ofstd_tests.dir/all] Error 2
[ 24%] Building CXX object oflog/libsrc/CMakeFiles/oflog.dir/tls.cc.o
[ 24%] Building CXX object oflog/libsrc/CMakeFiles/oflog.dir/version.cc.o
...
...
make[3]: *** [all] Error 2
make[2]: *** [DCMTK-prefix/src/DCMTK-stamp/DCMTK-build] Error 2
make[1]: *** [CMakeFiles/DCMTK.dir/all] Error 2
make: *** [all] Error 2

Please follow this block for solving the issue:

https://github.com/pnlbwh/pnlpipe-containers/blob/master/Dockerfile.pnlpipe#L63