pnlbwh / pnlNipype

PNL pipeline for NIFTI images
Other
10 stars 15 forks source link

Error building ANTs related to MD5 #104

Open katiev1997 opened 1 year ago

katiev1997 commented 1 year ago

Attempting to help a student with ANTs build. It seems that the error is related to MD5:

CMake Error at /Users/phillipslab/miniconda3/envs/pnlpipe3/share/cmake-3.25/Modules/ExternalData.cmake:1181 (message):

Object MD5=37aaa33029410941bf4affff0479fa18 not found at: file:////Users/phillipslab/pnlNipype/soft_dir/ANTs/.ExternalData/MD5/37aaa33029410941bf4affff0479fa18 ("Couldn't read a file:// file") http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=37aaa33029410941bf4affff0479fa18 ("HTTP response code said error") http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=37aaa33029410941bf4affff0479fa18&algorithm=MD5 ("HTTP response code said error") http://www.itk.org/files/ExternalData/MD5/37aaa33029410941bf4affff0479fa18 ("HTTP response code said error")

Some online resources state: 'Convert content links from MD5 to SHA512. Update URLs to fetch from Girder on data.kitware.com. Also drop the to-be-disabled midas3.kitware.com URLs.'

https://github.com/ANTsX/ANTs/issues/1248

https://github.com/spack/spack/pull/26768

https://gitlab.kitware.com/paraview/paraview/-/merge_requests/2463

Is it possible that this issue is still outstanding in this ANTs build?

Details below...


When did the error occur?

[ ] CMake configuration (cmake / ccmake) [X] Compilation (make) [ ] Installation (make install)

Build environment

OS: Mac OS OS version: 11.6 Type of system: laptop ANTs version

Build configuration and logs ANTs build - make log.docx CMakeFiles/CMakeError.log: CMakeError.log CMakeFiles/CMakeOutput.log: CMakeOutput.log

tashrifbillah commented 1 year ago

Hi, it could be because midas3.kitware.com has moved to a different server. This is occurring every few months and is hard for us to keep up to. I think you are better off cloning and installing official ANTs: https://github.com/ANTsX/ANTs