爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 5762|回复: 0

Catastrophic error: could not set locale quot; quot; 问题解决方案

[复制链接]

新浪微博达人勋

发表于 2019-10-31 13:28:19 | 显示全部楼层 |阅读模式

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

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

x
安装WRF时,在compile em_real出现如下错误:
Catastrophic error: could not set locale quot; quot; to allow processing of multibyte characters
百度一下,说跟ICC有关(也就是跟C的编译器有关系)。
后来发现在./configure的时候,会有如下提示:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
            LANGUAGE = (unset),
            LC_ALL = (unset),
            LANG = "zh_CN.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
由于只是一个warning 开始没在意,后来才发现就是这个地方出了问题。
解决方案·
[root@satp ~]# export LC_ALL=C
再次运行perl语句
[root@satp ~]# perl -e 'print "hello angus"'
hello angus
然后再./configure,./compile em_real。就可以了。

密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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