i also had to install the m4 package (sudo apt-get install m4)
i also had to install python pip (sudo apt-get install python-pip)
using pip i needed to install numpy (sudo pip install numpy)
after compiling all the libraries i tried to import cmor and got following error:*
_Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/CMOR-3.2-py2.7-linux-x86_64.egg/cmor/init.py", line 7, in
from cmor_const import
File "/usr/local/lib/python2.7/dist-packages/CMOR-3.2-py2.7-linux-x86_64.egg/cmor/cmor_const.py", line 1, in
import cmor
ImportError: libnetcdf.so.11: cannot open shared object file: No such file or directory
To solve this issue i had to add the path to die shared lib to LD_LIBRARY_PATH! (in my case: export LD_LIBRARY_PATH=$HOME/build/lib)
maybe this could be mentioned in the installation guide!
Hi, i have every step of your installation guide (using the github source) but i was facing some issues:
**1. i also had to install zlibrary form http://zlib.net/
To solve this issue i had to add the path to die shared lib to LD_LIBRARY_PATH! (in my case: export LD_LIBRARY_PATH=$HOME/build/lib)
maybe this could be mentioned in the installation guide!
Also most links to the dependencies are broken! HDF5: https://www.hdfgroup.org/downloads/hdf5/source-code/ UDUNITS2: ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-2.2.25.tar.gz
i used a Ubuntu 16.04 LTS VM for compiling CMOR
best regards, Florian