爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 6011|回复: 7

关于安装hdf5

[复制链接]

新浪微博达人勋

发表于 2017-6-7 15:09:07 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
安装1.8.12版本的hdf5,在./configure的时候就出问题了,求问各位大神这是怎么回事,改了好久也没改对,加上--prefix --host都不可以,而且加上--host之后就会出现checking host system type... Invalid configuration `login01': machine `login01' not recognizedconfigure: error: /bin/sh bin/config.sub login01 failed

只是./configure的时候报错


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 make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking shell variables initial values... done
checking if basename works... yes
checking if xargs works... yes
checking for cached host... none
checking for config x86_64-unknown-linux-gnu... no
checking for config x86_64-unknown-linux-gnu... no
checking for config unknown-linux-gnu... no
checking for config unknown-linux-gnu... no
checking for config x86_64-linux-gnu... no
checking for config x86_64-linux-gnu... no
checking for config x86_64-unknown... no
checking for config linux-gnu... found
compiler 'gcc' is GNU gcc-4.1.2
CC_BASENAME is gcc.
checking for config ./config/site-specific/host-login01... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/dongty/hdf5/hdf5-1.8.12':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details


密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-6-7 17:06:09 | 显示全部楼层
有人知道么?????????真是头疼
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-6-12 14:44:12 | 显示全部楼层
你是在个人电脑上还是服务器上装
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-6-12 18:15:12 | 显示全部楼层
南宫海语 发表于 2017-6-12 14:44
你是在个人电脑上还是服务器上装

服务器上~~~~~~~~~~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-8-15 19:02:20 | 显示全部楼层
你报错是这个 configure: error: cannot run C compiled programs.
会不会是C编译器的问题?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-3-15 13:44:31 | 显示全部楼层
请问这个问题解决了吗
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-3-15 13:49:30 | 显示全部楼层
wangning123 发表于 2019-3-15 13:44
请问这个问题解决了吗

我也遇到了类似的问题
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-3-15 15:02:26 | 显示全部楼层
wangning123 发表于 2019-3-15 13:49
我也遇到了类似的问题

推荐使用 starman安装,一键搞定
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表