- 积分
- 371
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2020-4-3
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
华为云服务器 CentOS 7.6 64bit with ARM
按照官网教程来的,到System Environment Tests 的Test #4出现问题,网上找了很久没查到解决方法
[root@ecs-kc1-large-2-linux-20200408152217 TESTS]# gcc -c -m64 TEST_4_fortran+c_c.c
gcc: error: unrecognized command line option ‘-m64’
[root@ecs-kc1-large-2-linux-20200408152217 TESTS]# gfortran -m64 TEST_4_fortran+c_f.o TEST_4_fortran+c_c.o
gfortran: error: TEST_4_fortran+c_f.o: No such file or directory
gfortran: error: TEST_4_fortran+c_c.o: No such file or directory
gfortran: error: unrecognized command line option ‘-m64’
然后没有解决之后准备直接安装NetCDF,到./configure这一步出现如下问题
[root@ecs-kc1-large-2-linux-20200408152217 netcdf-4.1.3]# ./configure --prefix=$DIR/netcdf --disable-dap \--disable-netcdf-4 --disable-shared
configure: netCDF 4.1.3
checking build system type... ./config.guess: unable to guess system type
This script, last modified 2009-11-20, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2009-11-20
uname -m = aarch64
uname -r = 4.18.0-80.7.2.el7.aarch64
uname -s = Linux
uname -v = #1 SMP Thu Sep 12 16:13:20 UTC 2019
/usr/bin/uname -p = aarch64
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.18.0-80.7.2.el7.aarch64
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Thu Sep 12 16:13:20 UTC 2019
configure: error: cannot guess build type; you must specify one
跪求指教^_^ |
|