SeaDas 7.5: BuildIt Failed (HDF4&5)
SeaDas 7.5: BuildIt Failed (HDF4&5)
Hi,
I am using Ubuntu 16.04 LTS and tried to install Seadas 7.5.
While doing BuildIt,I am getting following error.
[ 0%] Generating ../H5fortran_detect.f90
/home/hk/seadas/ocssw/opt/src/hdf5/hdf5-1.8.18/build/bin/H5test_FortranHavekind: /home/hk/seadas/ocssw/opt/lib/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by /home/hk/seadas/ocssw/opt/src/hdf5/hdf5-1.8.18/build/bin/H5test_FortranHavekind)
fortran/src/CMakeFiles/H5fortran_detect.dir/build.make:61: recipe for target 'fortran/H5fortran_detect.f90' failed
make[2]: *** [fortran/H5fortran_detect.f90] Error 1
make[2]: *** Deleting file 'fortran/H5fortran_detect.f90'
CMakeFiles/Makefile2:1661: recipe for target 'fortran/src/CMakeFiles/H5fortran_detect.dir/all' failed
make[1]: *** [fortran/src/CMakeFiles/H5fortran_detect.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 0%] Linking C executable ../bin/H5detect
[ 0%] Built target H5detect
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
***** make failed *****
***** BuildIt (hdf5) failed *****
hk@hk:~/seadas/ocssw/opt/src$
Kindly provide the possible solution for the above issue.
I am using Ubuntu 16.04 LTS and tried to install Seadas 7.5.
While doing BuildIt,I am getting following error.
[ 0%] Generating ../H5fortran_detect.f90
/home/hk/seadas/ocssw/opt/src/hdf5/hdf5-1.8.18/build/bin/H5test_FortranHavekind: /home/hk/seadas/ocssw/opt/lib/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by /home/hk/seadas/ocssw/opt/src/hdf5/hdf5-1.8.18/build/bin/H5test_FortranHavekind)
fortran/src/CMakeFiles/H5fortran_detect.dir/build.make:61: recipe for target 'fortran/H5fortran_detect.f90' failed
make[2]: *** [fortran/H5fortran_detect.f90] Error 1
make[2]: *** Deleting file 'fortran/H5fortran_detect.f90'
CMakeFiles/Makefile2:1661: recipe for target 'fortran/src/CMakeFiles/H5fortran_detect.dir/all' failed
make[1]: *** [fortran/src/CMakeFiles/H5fortran_detect.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 0%] Linking C executable ../bin/H5detect
[ 0%] Built target H5detect
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
***** make failed *****
***** BuildIt (hdf5) failed *****
hk@hk:~/seadas/ocssw/opt/src$
Kindly provide the possible solution for the above issue.
Filters:
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
SeaDas 7.5: BuildIt Failed (HDF4&5)
First of all, is there a reason you are building the software?
I am working on better instructions for building the code on various OSs.
To fix you problem do this:
That should make the build of the third party libs work.
don
I am working on better instructions for building the code on various OSs.
To fix you problem do this:
$ cd $OCSSWROOT/opt
$ rm -rf bin include lib share
$ cd src
$ ./BuildIt
That should make the build of the third party libs work.
don
SeaDas 7.5: BuildIt Failed (HDF4&5)
Implementing the above steps, it shows "Everything BuildIt Successfully".
But while doing make in hk@hk:~/seadas/ocssw/ocssw-src/cocssw-src/src/l2gen$.It show following error:
[ 20%] Building C object src/l2gen/CMakeFiles/l1det2det.dir/l1_viirs_nc.c.o
/home/hk/seadas/ocssw/ocssw-src/src/l2gen/l1_viirs_nc.c:12:39: fatal error: Calibrate_Viirs_Connector.h: No such file or directory
compilation terminated.
src/l2gen/CMakeFiles/l1det2det.dir/build.make:974: recipe for target 'src/l2gen/CMakeFiles/l1det2det.dir/l1_viirs_nc.c.o' failed
make[2]: *** [src/l2gen/CMakeFiles/l1det2det.dir/l1_viirs_nc.c.o] Error 1
CMakeFiles/Makefile2:2276: recipe for target 'src/l2gen/CMakeFiles/l1det2det.dir/all' failed
make[1]: *** [src/l2gen/CMakeFiles/l1det2det.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
But while doing make in hk@hk:~/seadas/ocssw/ocssw-src/cocssw-src/src/l2gen$.It show following error:
[ 20%] Building C object src/l2gen/CMakeFiles/l1det2det.dir/l1_viirs_nc.c.o
/home/hk/seadas/ocssw/ocssw-src/src/l2gen/l1_viirs_nc.c:12:39: fatal error: Calibrate_Viirs_Connector.h: No such file or directory
compilation terminated.
src/l2gen/CMakeFiles/l1det2det.dir/build.make:974: recipe for target 'src/l2gen/CMakeFiles/l1det2det.dir/l1_viirs_nc.c.o' failed
make[2]: *** [src/l2gen/CMakeFiles/l1det2det.dir/l1_viirs_nc.c.o] Error 1
CMakeFiles/Makefile2:2276: recipe for target 'src/l2gen/CMakeFiles/l1det2det.dir/all' failed
make[1]: *** [src/l2gen/CMakeFiles/l1det2det.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
SeaDas 7.5: BuildIt Failed (HDF4&5)
On Ubuntu 16.04 you need to be using gcc-5 for the viirs libs to link.
You need to download this tar file to $OCSSWROOT
https://oceandata.sci.gsfc.nasa.gov/ocssw/viirs.ubuntu16.04.gcc5.tar.gz
Now everything should build.
I am working on build instructions for the different OS distributions, but it is not on the website yet.
You need to download this tar file to $OCSSWROOT
https://oceandata.sci.gsfc.nasa.gov/ocssw/viirs.ubuntu16.04.gcc5.tar.gz
$ cd $OCSSWROOT
$ tar xzf viirs.ubuntu16.04.gcc5.tar.gz
Now everything should build.
I am working on build instructions for the different OS distributions, but it is not on the website yet.
SeaDas 7.5: BuildIt Failed (HDF4&5)
Ya now working fine. Thank you very much for your valuable guidance at shortest time span.