Decided I'd try and build it all, since I may want to do more than l2gen later.
CentOS 7.5
Figured I probably didn't need to do any of the 3rd party stuff so jumped right to
Create build directory and run cmake CMake allows for out-of-source-tree builds. Make a directory for this and run cmake within it, e.g.:
$ cd <ocssw source directory> (e.g. $OCSSWROOT/ocssw-src)
$ mkdir build
$ cd build
$ cmake ..
which gets me...
[bcb@modis build]$ cmake ..
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.5")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Jansson (missing: JANSSON_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
oel_util/cmake/Modules/FindJansson.cmake:61 (find_package_handle_standard_args)
oel_util/libgenutils/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also "/seadas/lcl/ocssw/ocssw-src/build/CMakeFiles/CMakeOutput.log".
[bcb@modis build]$
What's next?
attachment 1