- 积分
- 10
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-7-8
- 最后登录
- 1970-1-1
|
发表于 2015-7-8 16:03:56
|
显示全部楼层
我ZLIB安装成功的,在安装hdf5的时候遇到了下列问题,不知道应该如何解决?请教大牛
if [ -f hdf5-1.8.8/hdf5-1.8.8.install ] ; then \
echo '====> HDF5 has already been installed'; \
else \
if [ -f zlib-1.2.6/zlib-1.2.6.install ] ; then \
cd hdf5-1.8.8 &&\
./configure \
--prefix=GEOS-Chem-Libraries/opt/ifort/nc4/ \
--disable-shared \
--with-zlib=GEOS-Chem-Libraries/opt/ifort/nc4/ \
FC=ifort FCFLAGS="-fpic -mcmodel=medium" \
CC=icc CFLAGS="-fpic -mcmodel=medium" \
CXX=icpc CXXFLAGS=-IGEOS-Chem-Libraries/opt/ifort/nc4//include \
CPP="icc -c -E" LDFLAGS=-LGEOS-Chem-Libraries/opt/ifort/nc4//lib &&\
touch hdf5-1.8.8.config &&\
make &&\
make install &&\
touch hdf5-1.8.8.install &&\
echo '====> HDF5 was installed successfully!'; \
else \
echo '====> ERROR: ZLIB has not been installed!'; \
exit; \
fi; \
fi
configure: error: expected an absolute directory name for --prefix: GEOS-Chem-Libraries/opt/ifort/nc4
make[1]: *** [hdf5] Error 1
make[1]: Leaving directory `/home/ireneliang2010/GEOS-Chem-Libraries/src'
make: *** [all] Error 2 |
|