SeaDAS 7.5 Build from source code
Posted: Wed May 23, 2018 11:45 pm America/New_York
Sean,
....
+-------------------------------------------------------------+
| Congratulations! You have successfully installed the netCDF |
| Fortran libraries. |
| |
| You can use script "nf-config" to find out the relevant |
| compiler options to build your application. Enter |
| |
| nf-config --help |
| |
| for additional information. |
| |
| CAUTION: |
| |
| If you have not already run "make check", then we strongly |
| recommend you do so. It does not take very long. |
| |
| Before using netCDF to store important data, test your |
| build with "make check". |
| |
| NetCDF is tested nightly on many platforms at Unidata |
| but your platform is probably different in some ways. |
| |
| If any tests fail, please see the netCDF web site: |
| http://www.unidata.ucar.edu/software/netcdf/ |
| |
| NetCDF is developed and maintained at the Unidata Program |
| Center. Unidata provides a broad array of data and software |
| tools for use in geoscience education and research. |
| http://www.unidata.ucar.edu |
+-------------------------------------------------------------+
make[3]: Leaving directory `/usr/local/seadas-7.4/ocssw/opt/src/netcdf/netcdf-fortran-4.4.4'
make[2]: Leaving directory `/usr/local/seadas-7.4/ocssw/opt/src/netcdf/netcdf-fortran-4.4.4'
make[1]: Leaving directory `/usr/local/seadas-7.4/ocssw/opt/src/netcdf/netcdf-fortran-4.4.4'
./BuildIt: 17: [: linux_64: unexpected operator
***********************************
********* Building SDPTK **********
***********************************
patching file bin/INSTALL
patching file bin/INSTALL-Toolkit
patching file include/libxml/Makefile
patching file include/libxml/xmlversion.h
patching file include/PGS_SMF.f
patching file include/PGS_SMF.h
patching file src/EPH/orbsim/makefile
patching file src/XML/xml/Makefile
Toolkit Installation starting at 2018? 05? 24? ??? 11:01:36 CST
Note: If your system is CentOS linux, you may need -fPIC compilation flag.
If that is the case you better quit here (using Ctrl-c) and re-start
installation with additional arguments -cc_flags "-fPIC" and/or
-cpp_flags "-fPIC" and -fc_flags "-fPIC" if you have not done so.
You may type bin/INSTALL -h to see notes on how to add additional
compilation flags
The default Toolkit LINUX installation for this machine is 64 bit. Other
available Toolkit LINUX installation mode is 32 bit Mode
Installing in (64 bit) mode...
./makefile.cpp
...file modified
include/makefile.cpp
...file modified
include/CUC/makefile.cpp
...file modified
include/DCW/makefile.cpp
...file modified
include/FF/makefile.cpp
...file modified
include/FW/makefile.cpp
...file modified
src/makefile.cpp
...file modified
src/AA/makefile.cpp
...file modified
src/AA/DCW/makefile.cpp
...file modified
src/AA/VPF/makefile.cpp
...file modified
src/AA/freeform/makefile.cpp
...file modified
src/AA/generic/makefile.cpp
...file modified
src/CBP/makefile.cpp
...file modified
src/CSC/makefile.cpp
...file modified
src/CUC/makefile.cpp
...file modified
src/CUC/ODL/makefile.cpp
...file modified
src/CUC/UDUNITS/makefile.cpp
...file modified
src/EPH/makefile.cpp
...file modified
src/EPH/orbsim/makefile.cpp
...file modified
src/EPH/gbadsim/makefile.cpp
...file modified
src/GCT/makefile.cpp
...file modified
src/GCT/freeware/makefile.cpp
...file modified
src/IO/makefile.cpp
...file modified
src/IO/GEN/makefile.cpp
...file modified
src/IO/L0/makefile.cpp
...file modified
src/IO/L0/L0sim/makefile.cpp
...file modified
src/MEM/makefile.cpp
...file modified
src/MET/makefile.cpp
...file modified
src/MET/support/makefile.cpp
...file modified
src/MET/tools/makefile.cpp
...file modified
src/PC/makefile.cpp
...file modified
src/SMF/makefile.cpp
...file modified
src/TD/makefile.cpp
...file modified
src/DEM/makefile.cpp
...file modified
src/TSF/makefile.cpp
...file modified
src/XML/makefile.cpp
...file modified
src/XML/xml/Makefile.cpp
...file modified
src/XML/xsl/Makefile.cpp
...file modified
message/makefile.cpp
...file modified
Setting ZLIB home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
Setting JPEG home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
Setting SZIP home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
Setting LD_LIBRARY_PATH to /usr/local/seadas-7.4/ocssw/build/lib3/lib
Setting HDF home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
***** Copying JPEG, ZLIB and SZIP header and library *********
********** files to relevant directories in HDF. **********
Setting HDF5 home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
Adding /usr/local/seadas-7.4/ocssw/build/lib3/lib to LD_LIBRARY_PATH
Setting HDFEOS home directory to: /usr/local/seadas-7.4/ocssw/build/lib3/EOS
Setting HDFEOS5 home directory to: /usr/local/seadas-7.4/ocssw/build/lib3/EOS
Running the Toolkit Installation Script ...
Running the Toolkit Installation Script without AA Tool.
bin/INSTALL: 3190: bin/INSTALL: /usr/local/seadas-7.4/ocssw/opt/src/sdptk/TOOLKIT/bin/INSTALL-Toolkit: not found
bin/INSTALL: 3192: bin/INSTALL: cannot create /usr/local/seadas-7.4/ocssw/opt/src/sdptk/TOOLKIT/bin/linux64/pgs-env.csh: Directory nonexistent
INSTALL: Error: The Toolkit Installation Script failed or had errors.
SDP Toolkit installation cancelled
***** INSTALL failed *****
***** BuildIt (sdptk) failed *****
My env: OS: Ubuntu: 14.04
gcc/g++/gfortran: v5.5.0
cmake: 3.11.2
the source code was downloaded from your provided website, and I run the ./BuildIt, after a long time compiling, installation failed. How should I solve this problem?
....
+-------------------------------------------------------------+
| Congratulations! You have successfully installed the netCDF |
| Fortran libraries. |
| |
| You can use script "nf-config" to find out the relevant |
| compiler options to build your application. Enter |
| |
| nf-config --help |
| |
| for additional information. |
| |
| CAUTION: |
| |
| If you have not already run "make check", then we strongly |
| recommend you do so. It does not take very long. |
| |
| Before using netCDF to store important data, test your |
| build with "make check". |
| |
| NetCDF is tested nightly on many platforms at Unidata |
| but your platform is probably different in some ways. |
| |
| If any tests fail, please see the netCDF web site: |
| http://www.unidata.ucar.edu/software/netcdf/ |
| |
| NetCDF is developed and maintained at the Unidata Program |
| Center. Unidata provides a broad array of data and software |
| tools for use in geoscience education and research. |
| http://www.unidata.ucar.edu |
+-------------------------------------------------------------+
make[3]: Leaving directory `/usr/local/seadas-7.4/ocssw/opt/src/netcdf/netcdf-fortran-4.4.4'
make[2]: Leaving directory `/usr/local/seadas-7.4/ocssw/opt/src/netcdf/netcdf-fortran-4.4.4'
make[1]: Leaving directory `/usr/local/seadas-7.4/ocssw/opt/src/netcdf/netcdf-fortran-4.4.4'
./BuildIt: 17: [: linux_64: unexpected operator
***********************************
********* Building SDPTK **********
***********************************
patching file bin/INSTALL
patching file bin/INSTALL-Toolkit
patching file include/libxml/Makefile
patching file include/libxml/xmlversion.h
patching file include/PGS_SMF.f
patching file include/PGS_SMF.h
patching file src/EPH/orbsim/makefile
patching file src/XML/xml/Makefile
Toolkit Installation starting at 2018? 05? 24? ??? 11:01:36 CST
Note: If your system is CentOS linux, you may need -fPIC compilation flag.
If that is the case you better quit here (using Ctrl-c) and re-start
installation with additional arguments -cc_flags "-fPIC" and/or
-cpp_flags "-fPIC" and -fc_flags "-fPIC" if you have not done so.
You may type bin/INSTALL -h to see notes on how to add additional
compilation flags
The default Toolkit LINUX installation for this machine is 64 bit. Other
available Toolkit LINUX installation mode is 32 bit Mode
Installing in (64 bit) mode...
./makefile.cpp
...file modified
include/makefile.cpp
...file modified
include/CUC/makefile.cpp
...file modified
include/DCW/makefile.cpp
...file modified
include/FF/makefile.cpp
...file modified
include/FW/makefile.cpp
...file modified
src/makefile.cpp
...file modified
src/AA/makefile.cpp
...file modified
src/AA/DCW/makefile.cpp
...file modified
src/AA/VPF/makefile.cpp
...file modified
src/AA/freeform/makefile.cpp
...file modified
src/AA/generic/makefile.cpp
...file modified
src/CBP/makefile.cpp
...file modified
src/CSC/makefile.cpp
...file modified
src/CUC/makefile.cpp
...file modified
src/CUC/ODL/makefile.cpp
...file modified
src/CUC/UDUNITS/makefile.cpp
...file modified
src/EPH/makefile.cpp
...file modified
src/EPH/orbsim/makefile.cpp
...file modified
src/EPH/gbadsim/makefile.cpp
...file modified
src/GCT/makefile.cpp
...file modified
src/GCT/freeware/makefile.cpp
...file modified
src/IO/makefile.cpp
...file modified
src/IO/GEN/makefile.cpp
...file modified
src/IO/L0/makefile.cpp
...file modified
src/IO/L0/L0sim/makefile.cpp
...file modified
src/MEM/makefile.cpp
...file modified
src/MET/makefile.cpp
...file modified
src/MET/support/makefile.cpp
...file modified
src/MET/tools/makefile.cpp
...file modified
src/PC/makefile.cpp
...file modified
src/SMF/makefile.cpp
...file modified
src/TD/makefile.cpp
...file modified
src/DEM/makefile.cpp
...file modified
src/TSF/makefile.cpp
...file modified
src/XML/makefile.cpp
...file modified
src/XML/xml/Makefile.cpp
...file modified
src/XML/xsl/Makefile.cpp
...file modified
message/makefile.cpp
...file modified
Setting ZLIB home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
Setting JPEG home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
Setting SZIP home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
Setting LD_LIBRARY_PATH to /usr/local/seadas-7.4/ocssw/build/lib3/lib
Setting HDF home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
***** Copying JPEG, ZLIB and SZIP header and library *********
********** files to relevant directories in HDF. **********
Setting HDF5 home directory to: /usr/local/seadas-7.4/ocssw/build/lib3
Adding /usr/local/seadas-7.4/ocssw/build/lib3/lib to LD_LIBRARY_PATH
Setting HDFEOS home directory to: /usr/local/seadas-7.4/ocssw/build/lib3/EOS
Setting HDFEOS5 home directory to: /usr/local/seadas-7.4/ocssw/build/lib3/EOS
Running the Toolkit Installation Script ...
Running the Toolkit Installation Script without AA Tool.
bin/INSTALL: 3190: bin/INSTALL: /usr/local/seadas-7.4/ocssw/opt/src/sdptk/TOOLKIT/bin/INSTALL-Toolkit: not found
bin/INSTALL: 3192: bin/INSTALL: cannot create /usr/local/seadas-7.4/ocssw/opt/src/sdptk/TOOLKIT/bin/linux64/pgs-env.csh: Directory nonexistent
INSTALL: Error: The Toolkit Installation Script failed or had errors.
SDP Toolkit installation cancelled
***** INSTALL failed *****
***** BuildIt (sdptk) failed *****
My env: OS: Ubuntu: 14.04
gcc/g++/gfortran: v5.5.0
cmake: 3.11.2
the source code was downloaded from your provided website, and I run the ./BuildIt, after a long time compiling, installation failed. How should I solve this problem?