linux - "make check"安装HDF5失败

标签 linux ubuntu gcc hdf5

我下载了 hdf5-1.8.15-patch1.tar.bz2,并尝试使用以下命令将其安装到我的 Ubuntu 上:

    CC=mpicc ./configure --enable-parallel --enable-shared
    make
    make check

但是在 make check 期间,我得到了这个错误:

***** 1 FAILURE! *****
Command exited with non-zero status 1
0.78user 0.08system 0:00.86elapsed 100%CPU (0avgtext+0avgdata 10216maxresident)k
0inputs+1224outputs (0major+51752minor)pagefaults 0swaps
make[4]: *** [dt_arith.chkexe_] Error 1
make[4]: Leaving directory `/home/ubuntu/tools/hdf5-1.8.15-patch1/test'
make[3]: *** [build-check-s] Error 2
make[3]: Leaving directory `/home/ubuntu/tools/hdf5-1.8.15-patch1/test'
make[2]: *** [test] Error 2
make[2]: Leaving directory `/home/ubuntu/tools/hdf5-1.8.15-patch1/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/ubuntu/tools/hdf5-1.8.15-patch1/test'
make: *** [check-recursive] Error 1

这是我的“uname -a”和“gcc -v”:

    uname -a
    Linux ip-172-31-23-30 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    gcc -v
    gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

最佳答案

在之前的问题之后,似乎值得尝试使用较低的优化标志(-O1 或 -O0): https://support.hdfgroup.org/HDF5/release/known_problems/previssues.html

关于linux - "make check"安装HDF5失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30836277/

相关文章:

linux - 如何在 Mac OS X 下重定向时间命令输出

Ubuntu Vim 全屏并不是真正的全屏

c# - .NET 的 X509Store 能否用于从远程 Linux 商店获取证书?

ubuntu - 找不到 __put_user_1 的定义位置

检查某些 USB 端口以在 C Linux 上获取设备 fd

linux - NSight 分析器信号 139

linux - ecryptfs - passwd 实用程序如何更新非管理员密码更改的哈希值?

c - Flex 和 Bison 在使用结构体指针作为 union 类型时会出现问题

c - 有符号位域的多重不一致行为

C++ lambda : Access static method in lambda leads to error 'this was not captured for this lambda function'