Hi,
Thanks for providing such great documentation. May I ask how to fix a problem that I encountered when installing pssac2? Would appreciate any input.
I was following your post on installing pssac2, but during the step of configuration, an error popped out saying "NetCDF library not found"
I attach the terminal displays below:
(base) hbao@geo-workstation:~/Seis/software/pssac2_GMT4$ ./configure --with-gmt=/home2/hbao/Seis/software/GMT-4.5.18
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... 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... none
checking for library containing sin... -lm
checking for library containing nc_create...
netcdf
no
configure: error: NetCDF library not found
(base) hbao@geo-workstation:~/Seis/software/pssac2_GMT4$ nc-config --version
netCDF 4.7.3
(base) hbao@geo-workstation:~/Seis/software/pssac2_GMT4$ nc-config --all
This netCDF 4.7.3 has been built with the following features:
--cc -> /usr/bin/cc
--cflags -> -I/usr/include -I/usr/include/hdf5/serial
--libs -> -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lnetcdf
--static -> -lhdf5_hl -lhdf5 -lpthread -lsz -lz -ldl -lm -lcurl
--has-c++ -> no
--cxx ->
--has-c++4 -> no
--cxx4 ->
--has-fortran -> no
--has-dap -> yes
--has-dap2 -> yes
--has-dap4 -> yes
--has-nc2 -> yes
--has-nc4 -> yes
--has-hdf5 -> yes
--has-hdf4 -> no
--has-logging -> no
--has-pnetcdf -> no
--has-szlib -> no
--has-cdf5 -> yes
--has-parallel4 -> no
--has-parallel -> no
--prefix -> /usr
--includedir -> /usr/include
--libdir -> /usr/lib/x86_64-linux-gnu
--version -> netCDF 4.7.3
(base) hbao@geo-workstation:~/Seis/software/pssac2_GMT4$
Thanks for your help!
Best,
Han
Hi,
Thanks for providing such great documentation. May I ask how to fix a problem that I encountered when installing pssac2? Would appreciate any input.
I was following your post on installing pssac2, but during the step of configuration, an error popped out saying "NetCDF library not found"
I attach the terminal displays below:
Thanks for your help!
Best,
Han