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 minc-toolkit #44

Open
isAarya opened this issue Mar 8, 2017 · 4 comments
Open

error building minc-toolkit #44

isAarya opened this issue Mar 8, 2017 · 4 comments

Comments

@isAarya
Copy link

isAarya commented Mar 8, 2017

Hi,

I am building minc-toolkit in docker.

I get error from cmake while building minc-toolkit.

The error arises when cmake is building zlib package and is as follows,

-- downloading...
     src='http://zlib.net/zlib-1.2.8.tar.gz'
     dst='/opt/minc-toolkit/build/ZLIB-prefix/src/zlib-1.2.8.tar.gz'
     timeout='none'
CMake Error at ZLIB-prefix/src/ZLIB-stamp/download-ZLIB.cmake:9 (file):
  file DOWNLOAD HASH mismatch

    for file: [/opt/minc-toolkit/build/ZLIB-prefix/src/zlib-1.2.8.tar.gz]
      expected hash: [44d667c142d7cda120332623eab69f40]
        actual hash: [d41d8cd98f00b204e9800998ecf8427e]



make[2]: *** [ZLIB-prefix/src/ZLIB-stamp/ZLIB-download] Error 1
make[1]: *** [CMakeFiles/ZLIB.dir/all] Error 2
make: *** [all] Error 2
The command '/bin/sh -c make' returned a non-zero code: 2

I have checked the weblink

http://zlib.net/zlib-1.2.8.tar.gz

Apparently, the package zlib-1.2.8.tar.gz;
that minc-toolkit->cmake-modules->BuildZLIB.cmake is calling is not found at this weblink.

Could you please have a look at this.

Kind regards.

IA

@vfonov
Copy link
Member

vfonov commented Mar 8, 2017

Hello,

yes, I know - try using develop branch - this problem is fixed there.

@isAarya
Copy link
Author

isAarya commented Mar 10, 2017

Hi,

I am trying to clone the 'develop' branch with help of git.

It gives me following error,

Cloning into 'xdisp'...
Submodule path 'xdisp': checked out 'f8cf8ef781229a87c9be53040937fd00d54b9366'
Failed to recurse into submodule path 'Register'
The command '/bin/sh -c git clone --recursive https://github.com/BIC-MNI/minc-toolkit.git --branch develop minc-toolkit' returned a non-zero code: 1

Most likely this is caused due to the following,

Cloning into 'Register'...
Submodule path 'Register': checked out 'd3b70c6a0e596c3494c4c5249ecc9a934e705f9c'
Submodule 'Graphics' (https://github.com/BIC-MNI/bicgl.git) registered for path 'Graphics'
Submodule 'm4' (https://github.com/BIC-MNI/mni-acmacros.git) registered for path 'm4'
Cloning into 'Graphics'...
fatal: reference is not a tree: aac9526ebf4fafabdc3d396a554da535fc25ac1a
Cloning into 'm4'...
Submodule path 'Register/m4': checked out '87caf73968c8b57db276480acf85d5da8e7e48be'
Unable to checkout 'aac9526ebf4fafabdc3d396a554da535fc25ac1a' in submodule path 'Register/Graphics'

Also the develop branch: cmake-modules->BuildZLIB.cmake is calling http://zlib.net/zlib-1.2.10.tar.gz which doesnt exist.

The new packages is zlib-1.2.11.tar.gz

Currently I am manually changing this in the minc-toolkit master branch.

Kind regards.

IA

@vfonov
Copy link
Member

vfonov commented Mar 10, 2017

OK, I meant minc-toolkit-v2 develop branch

@vfonov
Copy link
Member

vfonov commented Mar 10, 2017

ok, now develop branch of minc-toolkit should also compile

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