Thread: HdfEosDef.h: No such file or directory
CloudSat and CALIPSO plotting tool
Brought to you by:
peterkuma
From: Luka I. <lu...@ip...> - 2015-02-26 16:25:18
|
Hello, I am having difficulties installing ccplot on ubuntu 14.04. Can someone help with this? Thank you, Luka Here is python setup.py build output: running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/ccplot copying ccplot/utils.py -> build/lib.linux-x86_64-2.7/ccplot copying ccplot/__init__.py -> build/lib.linux-x86_64-2.7/ccplot copying ccplot/config.py -> build/lib.linux-x86_64-2.7/ccplot running build_ext building 'ccplot.cctk' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/ccplot x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/cctk.c -o build/temp.linux-x86_64-2.7/ccplot/cctk.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/cctk.c:31: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/ccplot/cctk.o -o build/lib.linux-x86_64-2.7/ccplot/cctk.so cythoning ccplot/hdf.pyx to ccplot/hdf.c building 'ccplot.hdf' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/hdf -I/usr/local/include/hdf -I/opt/local/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/hdf.c -o build/temp.linux-x86_64-2.7/ccplot/hdf.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdf.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from ccplot/hdf.c:356:0: /usr/include/hdf/mfhdf.h:237:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] (); ^ In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:26:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdf.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: ‘_import_array’ defined but not used [-Wunused-function] _import_array(void) ^ In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ufuncobject.h:327:0, from ccplot/hdf.c:353: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__ufunc_api.h:241:1: warning: ‘_import_umath’ defined but not used [-Wunused-function] _import_umath(void) ^ ccplot/hdf.c: In function ‘__pyx_pf_6ccplot_3hdf_3HDF_22_getinfo.isra.31’: ccplot/hdf.c:7453:6: warning: ‘__pyx_v_res’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (__pyx_t_15) { ^ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/ccplot/hdf.o -L/opt/local/lib -lmfhdf -ldf -ljpeg -lz -o build/lib.linux-x86_64-2.7/ccplot/hdf.so cythoning ccplot/hdfeos.pyx to ccplot/hdfeos.c building 'ccplot.hdfeos' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/hdf -I/usr/local/include/hdf -I/opt/local/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c ccplot/hdfeos.c -o build/temp.linux-x86_64-2.7/ccplot/hdfeos.o In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from ccplot/hdfeos.c:352: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ ccplot/hdfeos.c:357:23: fatal error: HdfEosDef.h: No such file or directory #include "HdfEosDef.h" ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 |
From: Peter K. <pet...@wa...> - 2015-03-21 13:59:14
|
On 02/26/2015 05:05 PM, Luka Ilic wrote: > Hello, > > I am having difficulties installing ccplot on ubuntu 14.04. > Can someone help with this? > > Thank you, > Luka > > Here is python setup.py build output: > > [...] > ccplot/hdfeos.c:357:23: fatal error: HdfEosDef.h: No such file or directory > #include "HdfEosDef.h" > ^ > compilation terminated. > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 Dear Luka, Sorry I haven't replied to you sooner. The problem you describe is likely because of missing hdfeos library. Can you make sure the package is installed? Use this command to install all required packages: sudo apt-get install --no-install-recommends cython libhdf4-dev libhdfeos-dev python-imaging python-numpy python-matplotlib python-mpltoolkits.basemap ttf-bitstream-vera But I haven't tested with Ubuntu 14.04 specifically, so it might as well be a different problem. Regards, Peter |