So, first I must build the third party sources at occsw/opt/src (doing this with OCSSW_DEBUG=OFF).
I am following the build instructions at https://oceancolor.gsfc.nasa.gov/docs/ocssw/
1. I downloaded the latest code
$ cd $OCSSWROOT/opt
$ wget https://oceandata.sci.gsfc.nasa.gov/ocssw/opt-src.tar
$ tar -xvf opt-src.tar
2. When I do ./BuildIt from ocssw/opt/src/BuildIt, the compiler hangs on ocssw/opt/src/sdptk/TOOLKIT/obj/macintel64/CUC/prtlabel.c
/usr/bin/gcc -fPIC -c -DMACINTEL -O -DSUN_UNIX -I. -I/Applications/seadas-7.5.1/ocssw/opt/src/sdptk/TOOLKIT/include -I/Applications/seadas-7.5.1/ocssw/opt/src/sdptk/TOOLKIT/include/CUC prtlabel.c -o /Applications/seadas-7.5.1/ocssw/opt/src/sdptk/TOOLKIT/obj/macintel64/CUC/prtlabel.o
prtlabel.c:325:22: warning: enumeration value 'TV_NULL' not handled in switch [-Wswitch]
(Hangs here ...have to ctrl-c to interrupt)
Details:
- MacOS 10.14.5 (Mojave)
- gcc / g++
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1xx.xxx.xx.xx)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin