爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 5253|回复: 7

WPS compile出错

[复制链接]

新浪微博达人勋

发表于 2017-11-6 16:31:58 | 显示全部楼层 |阅读模式

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

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

x
2017-11-08 14-42-42屏幕截图.png
成功在WRFV3下生成了ndown.exe wrf.exe和real.exe后,按照如图方法安装WPS.
修改了configure.wps后接着编译compile>wpscompile.log(我猜测过可能应该是./compile>wpscompile.log   所以也尝试过在前面加./),不运行任何程序直接跳走,如果编辑了./compile就出现了如下的停止信息.之前出现过一次
*** missing separator (did you mean TAB instead of 8 spaces?)我百度查错之后就把configure.wps里的空格都敲成了tab键,但现在./compile>wpscompile.log运行不起来,./compile又出这样的错,不知是什么原因,还希望大家解惑!
2017-11-08 14-54-31屏幕截图.png




==============================================================================================

Version 3.9

Linux zs-OptiPlex-7040 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

GNU Fortran (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING


==============================================================================================


**** Compiling WPS and all utilities ****

../configure.wps:61: *** recipe commences before first target。 停止。
/usr/WRF/WPS/configure.wps:61: *** recipe commences before first target。 停止。
../configure.wps:61: *** recipe commences before first target。 停止。
/usr/WRF/WPS/configure.wps:61: *** recipe commences before first target。 停止。
/usr/WRF/WPS/configure.wps:61: *** recipe commences before first target。 停止。
../configure.wps:61: *** recipe commences before first target。 停止。
../configure.wps:61: *** recipe commences before first target。 停止。
../configure.wps:61: *** recipe commences before first target。 停止。
../configure.wps:61: *** recipe commences before first target。 停止。
../configure.wps:61: *** recipe commences before first target。 停止。
../configure.wps:61: *** recipe commences before first target。 停止。

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

新浪微博达人勋

发表于 2017-11-16 17:34:07 | 显示全部楼层
请问你解决了吗。我也是出现missing separator
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-11-17 13:27:28 | 显示全部楼层
气象草鸟 发表于 2017-11-16 17:34
请问你解决了吗。我也是出现missing separator

把configure.wps里的空格都敲成了tab键
我是这样解决的,但是之前有大神跟我说这样是不对的,你可以多问问
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-17 18:33:16 | 显示全部楼层
骨头333 发表于 2017-11-17 13:27
把configure.wps里的空格都敲成了tab键
我是这样解决的,但是之前有大神跟我说这样是不对的,你可以多问 ...

感谢回答,我是因为环境变量设置错了,改正后就好了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-20 17:53:53 | 显示全部楼层
气象草鸟 发表于 2017-11-17 18:33
感谢回答,我是因为环境变量设置错了,改正后就好了

环境变量是怎么改的求问
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-20 17:55:48 | 显示全部楼层
气象草鸟 发表于 2017-11-17 18:33
感谢回答,我是因为环境变量设置错了,改正后就好了

我的安装完之后没有了Ungrib。EXE这个文件
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-21 11:55:12 | 显示全部楼层
良久 发表于 2017-11-20 17:53
环境变量是怎么改的求问

# for WPS
export JASPERLIB="${JASPERLIB} -L/usr/local/libpng/lib -L/usr/local/zlib/lib"
export JASPERINC="${JASPERINC} -I/usr/local/libpng/include -I/usr/local/zlib/include"
export LD_LIBRARY_PATH=/usr/local/jasper/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/libpng/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/zlib/lib:$LD_LIBRARY_PATH
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-10-12 19:52:48 | 显示全部楼层
气象草鸟 发表于 2017-11-16 17:34
请问你解决了吗。我也是出现missing separator

请问您的解决了吗?我现在也出现了您同样的问题。
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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