building SeaDAS 7.3.2 on CentOS 7.3
Posted: Mon Feb 06, 2017 2:01 pm America/New_York
Over at https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=5024, there's a discussion about building on CentOS 6.x.
Has anyone successfully built 7.3.2 on CentOS 7.3? My attempts fail in step 2, while trying to build the 3rd party libraries, specifically while building hdf4.
[bcb@modis hdf4]$ ./BuildIt
***********************************
********** Building hdf4 **********
***********************************
patching file hdf/src/hlimits.h
Hunk #1 succeeded at 92 (offset 3 lines).
patching file hdf/src/atom.c
patching file hdf/src/hdfi.h
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking shell variables initial values... done
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if basename works... yes
checking if xargs works... yes
checking for config x86_64-unknown-linux-gnu... no
checking for config x86_64-unknown-linux-gnu... no
checking for config unknown-linux-gnu... no
checking for config unknown-linux-gnu... no
checking for config x86_64-linux-gnu... no
checking for config x86_64-linux-gnu... no
checking for config x86_64-unknown... no
checking for config linux-gnu... found
gfortran: error: unrecognized command line option '-V'
gfortran: fatal error: no input files
compilation terminated.
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran... -L/seadas/lcl/ocssw/build/lib3/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lxdr -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in `/seadas/lcl/ocssw/build/lib3/src/hdf4/hdf-4.2.9':
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details
***** configure failed *****
[bcb@modis hdf4]$
I'm attaching config.log (too long to embed directly). As far as I know, all the required rpm's are installed.
Any ideas?attachment 1
Has anyone successfully built 7.3.2 on CentOS 7.3? My attempts fail in step 2, while trying to build the 3rd party libraries, specifically while building hdf4.
[bcb@modis hdf4]$ ./BuildIt
***********************************
********** Building hdf4 **********
***********************************
patching file hdf/src/hlimits.h
Hunk #1 succeeded at 92 (offset 3 lines).
patching file hdf/src/atom.c
patching file hdf/src/hdfi.h
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking shell variables initial values... done
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if basename works... yes
checking if xargs works... yes
checking for config x86_64-unknown-linux-gnu... no
checking for config x86_64-unknown-linux-gnu... no
checking for config unknown-linux-gnu... no
checking for config unknown-linux-gnu... no
checking for config x86_64-linux-gnu... no
checking for config x86_64-linux-gnu... no
checking for config x86_64-unknown... no
checking for config linux-gnu... found
gfortran: error: unrecognized command line option '-V'
gfortran: fatal error: no input files
compilation terminated.
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran... -L/seadas/lcl/ocssw/build/lib3/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lxdr -lgfortran -lm -lquadmath
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in `/seadas/lcl/ocssw/build/lib3/src/hdf4/hdf-4.2.9':
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details
***** configure failed *****
[bcb@modis hdf4]$
I'm attaching config.log (too long to embed directly). As far as I know, all the required rpm's are installed.
Any ideas?attachment 1