Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building ANTs related to MD5 #104

Open
katiev1997 opened this issue Jan 27, 2023 · 1 comment
Open

Error building ANTs related to MD5 #104

katiev1997 opened this issue Jan 27, 2023 · 1 comment

Comments

@katiev1997
Copy link

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.'

ANTsX/ANTs#1248

spack/spack#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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants