- 积分
- 1455
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-11-23
- 最后登录
- 1970-1-1
![[Oneday_gone] 粉丝数:59 微博数:154 新浪微博达人勋](source/plugin/sina_login/img/light.png)
|
发表于 2016-8-23 17:36:48
|
显示全部楼层
我在装netcdf3.6.3的时候make不成功 出现如下错误
make[2]: Leaving directory '/home/yhliu/Downloads/netcdf-3.6.3/nf_test'
make[1]: Leaving directory '/home/yhliu/Downloads/netcdf-3.6.3/nf_test'
Making check in cxx
make[1]: Entering directory '/home/yhliu/Downloads/netcdf-3.6.3/cxx'
source='netcdf.cpp' object='netcdf.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -DNDEBUG -DFile_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DpgiFortran -c -o netcdf.lo netcdf.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -DNDEBUG -DFile_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DpgiFortran -c netcdf.cpp
../libtool: line 851: g++: command not found
Makefile:433: recipe for target 'netcdf.lo' failed
make[1]: *** [netcdf.lo] Error 1
make[1]: Leaving directory '/home/yhliu/Downloads/netcdf-3.6.3/cxx'
Makefile:362: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
请问该怎么解决啊 版主你是一次性就make成功了吗 |
|