GithubHelp home page GithubHelp logo

Can't get HDF5 to work about matio HOT 2 CLOSED

tbeu avatar tbeu commented on July 27, 2024
Can't get HDF5 to work

from matio.

Comments (2)

donkahlero avatar donkahlero commented on July 27, 2024 3

Alright! I figured it out. Just for anyone else that faces the same issue:

Create some temp folder (e.g. ~/tmp)
Clone zlib; configure it; install it (as in the stated travis yml). For installing I used /opt/zlib

git clone --depth 5 https://github.com/madler/zlib
cd zlib
sudo mkdir -p /opt/zlib
./configure ./configure --prefix=/opt/zlib --eprefix=/opt/zlib
sudo make install

Then just as described in .install_hdf5_1_10.sh:

git clone --branch hdf5_1_10_1 https://git.hdfgroup.org/scm/hdffv/hdf5.git hdf5_1_10_1
cd hdf5_1_10_1                                                                   
./configure --quiet --enable-shared --enable-build-mode=debug --disable-deprecated-symbols --disable-hl --disable-strict-format-checks --disable-memory-alloc-sanity-check --disable-instrument --disable-parallel --disable-trace --disable-internal-debug --enable-optimization=debug --disable-asserts --with-pic --with-default-api-version=v110 --with-zlib=/opt/zlib CFLAGS="-w"
make install -C src
sudo mv ./hdf5 /opt/

And then the usual installation suff with
./configure --with-default-api-version=v110 --enable-mat73=yes --with-hdf5=/opt/hdf5/ --with-zlib=/opt/zlib

Thanks! :)

from matio.

tbeu avatar tbeu commented on July 27, 2024

Hm, it works for my cases. You may want to have a look at the .travis.yaml in the repo to check how I do it for Travis CI.

from matio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.