From: Grant M. <gme...@gm...> - 2015-10-15 14:13:39
|
it looks like the package *libhdf4-dev* is not being found. Can you paste where the installation of this is? Head over to the terminal and type *dpkg -L libhdf4-dev* If the package is not installed, install it and attempt to run again. However there is a possibility you have the package installed, but the setup.py list is not exhaustive and won't find it. In that case if you email back where the package files are located I can help you point setup.py to that location. On Thu, Oct 15, 2015 at 1:18 AM <jor...@cp...> wrote: > > > Hi, > > > I'm trying to install tje CCPLOT. I did: > > python setup.py build > > > > then I had: > > > running build > running build_py > running build_ext > skipping 'ccplot/hdf.c' Cython extension (up-to-date) > building 'ccplot.hdf' extension > gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches > -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe > -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches > -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/hdf > -I/usr/local/include/hdf -I/usr/include/x86_64-linux-gnu/hdf > -I/opt/local/include > -I/usr/lib64/python2.7/site-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/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, > from > > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > > /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, > from ccplot/hdf.c:242: > > /usr/lib64/python2.7/site-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/hdf.c:245:21: fatal error: hntdefs.h: Arquivo ou diretório não > encontrado > #include "hntdefs.h" > ^ > compilation terminated. > error: command 'gcc' failed with exit status 1 > > > Please what can I do to solve this error. > > > Thanks in advance, > > > Conrado > > > ------------------------------------------------------------------------------ > _______________________________________________ > ccplot-general mailing list > ccp...@li... > https://lists.sourceforge.net/lists/listinfo/ccplot-general > |