小编wis*_*wit的帖子

在 debian 上安装 h4toh5 时,C 编译器无法创建可执行文件

这是我一生中第一次从源代码安装,所以感谢您的帮助。

我正在尝试安装 h4toh5 实用程序,它可以允许将 hdf4 转换为 hdf5 文件。经过漫长的在线阅读过程,我想出了如何配置。

./configure CC=/usr/bin/h4cc --with-hdf5=/usr/lib/x86_64-linux-gnu --prefix=/home/cyue/Documents/tools
Run Code Online (Sandbox Code Playgroud)

安装说明说我必须使用h4cc来编译:HDF4库安装了可以替换cc的h4cc脚本。h4cc 应指定为 C 编译器。这可以通过将以下内容传递给配置脚本来完成:

CC=<hdf4directory>/bin/h4cc                                              
Run Code Online (Sandbox Code Playgroud)

一开始我没有这个,但是在安装 HDF4-tools 之后,我确认/usr/bin/h4cc我的系统上有这个。但是,我遇到了这样的最终错误:

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for ranlib... ranlib
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking shell variables …
Run Code Online (Sandbox Code Playgroud)

compiling software-installation

1
推荐指数
1
解决办法
2207
查看次数

标签 统计

compiling ×1

software-installation ×1