Hi community,
I am trying to build ferret from the source. I have added the cc, fc, readline, netcdf, etc path as it was specified in the README_build_config. However, every time I tried to compile it, I have this error.
make[2]: Entering directory `/WORK/nuist_zmwang_1/estanis/Ferret-7.5.0/fer'
mv ferret_c ferret_c_`ls -l ferret_c | awk '{print $6"_"$7}' | tr [A-Z] [a-z]`
ls: cannot access ferret_c: No such file or directory
mv: cannot stat `ferret_c': No such file or directory
make[2]: [update] Error 1 (ignored)
make update_date DATE=`/bin/date +%D`
make[3]: Entering directory `/WORK/nuist_zmwang_1/estanis/Ferret-7.5.0/fer'
rm -f special/xmake_date_data.[Ffo]
sed "s&xxxxxxxx&07/30/19&" <special/xmake_date_data.template >special/xmake_date_data.F
make[3]: Leaving directory `/WORK/nuist_zmwang_1/estanis/Ferret-7.5.0/fer'
rm -f special/xrevision_type_data.[Ffo]
sed -e 's&mmmmmmmm&(optimized/)&' -e 's&(/&(&' -e 's&/)&)&' < special/xrevision_type_data.template > special/xrevision_type_data.F
rm -f special/xplatform_type_data.[Ffo]
sed -e 's&mmmmmmmm&Linux 2.6.32-431.TH.x86_64 64-bit&' -e 's&(/&(&' -e 's&/)&)&' < special/xplatform_type_data.template > special/xplatform_type_data.F
(cd special; make)
make[3]: Entering directory `/WORK/nuist_zmwang_1/estanis/Ferret-7.5.0/fer/special'
/WORK/app/gcc/5.4.0/bin/gcc -m64 -fPIC -Dcrptd_cat_argument -Ddouble_p -Dgfortran -Dreclen_in_bytes -Dunix -Dxgks -DG77 -DG77_SIGNAL -DINTERNAL_READ_FORMAT_BUG -DMANDATORY_FORMAT_WIDTHS -DNEED_IAND -DNO_DOUBLE_ESCAPE_SLASH -DNO_OPEN_CARRIAGECONTROL -DNO_OPEN_SHARED
-DNO_OPEN_READONLY -DNO_OPEN_RECORDTYPE -DNO_PASSED_CONCAT -DNO_PREPEND_STRING -DSTAR_1_SUPPORTED -DX_REFRESH -I. -I/WORK/nuist_zmwang_1/estanis/readline8/lib/../include -I/WORK/app/netcdf/4.6.2-gcc-5.4.0/lib/../include -I/WORK/nuist_zmwang_1/estanis/Ferret/Ferret-7.5.0/fer/common
-I/WORK/nuist_zmwang_1/estanis/Ferret/Ferret-7.5.0/fmt/cmn -I/WORK/nuist_zmwang_1/estanis/Ferret/Ferret-7.5.0/ppl/tmap_inc -I/WORK/nuist_zmwang_1/estanis/Ferret/Ferret-7.5.0/ppl/include -I/WORK/nuist_zmwang_1/estanis/Ferret/Ferret-7.5.0/xgks/src/lib -I/WORK/nuist_zmwang_1/estanis/Ferret/Ferret-7.5.0/xgks/port
-O -DNDEBUG -c -o FerMem_routines.o FerMem_routines.c
FerMem_routines.c:4:20: fatal error: FerMem.h: No such file or directory
compilation terminated.
make[3]: *** [FerMem_routines.o] Error 1
make[3]: Leaving directory `/WORK/nuist_zmwang_1/estanis/Ferret-7.5.0/fer/special'
make[2]: *** [update] Error 2
make[2]: Leaving directory `/WORK/nuist_zmwang_1/estanis/Ferret-7.5.0/fer'
make[1]: *** [ncdf4] Error 2
make[1]: Leaving directory `/WORK/nuist_zmwang_1/estanis/Ferret-7.5.0/fer'
make: *** [optimized] Error 2
Kind regards,
Estanis
|