Created
August 31, 2015 18:29
-
-
Save stephenturner/6046337d1237ecd627a8 to your computer and use it in GitHub Desktop.
building hdf5 without root
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run these lines | |
| cd /path/to/wherever/it/should/go | |
| wget http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.8.15-patch1.tar.gz | |
| tar -zxvf hdf5-1.8.15-patch1.tar.gz | |
| cd hdf5-1.8.15-patch1 | |
| ./configure --disable-parallel --without-szlib --without-pthread --prefix=$(pwd) | |
| make && make install | |
| # Add this to your .bashrc | |
| export HDF5="/path/to/wherever/it/should/go/hdf5-1.8.15-patch1" | |
| export PATH=$PATH:${HDF5}/bin | |
| export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HDF5}/lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment