{"action":"closed","issue":{"url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/430","labels_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/430/comments","events_url":"https://api.github.com/repos/Unidata/netcdf4-python/issues/430/events","html_url":"https://github.com/Unidata/netcdf4-python/issues/430","id":85399140,"number":430,"title":"netcdf4-python does not build out of the box on a Debian (pip or from github master)","user":{"login":"jmp75","id":192096,"avatar_url":"https://avatars.githubusercontent.com/u/192096?v=3","gravatar_id":"","url":"https://api.github.com/users/jmp75","html_url":"https://github.com/jmp75","followers_url":"https://api.github.com/users/jmp75/followers","following_url":"https://api.github.com/users/jmp75/following{/other_user}","gists_url":"https://api.github.com/users/jmp75/gists{/gist_id}","starred_url":"https://api.github.com/users/jmp75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmp75/subscriptions","organizations_url":"https://api.github.com/users/jmp75/orgs","repos_url":"https://api.github.com/users/jmp75/repos","events_url":"https://api.github.com/users/jmp75/events{/privacy}","received_events_url":"https://api.github.com/users/jmp75/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T03:13:20Z","updated_at":"2015-10-06T22:40:26Z","closed_at":"2015-10-06T22:40:26Z","body":"Hi,\r\n\r\nI have I think all the prerequisites packages to build from source, including hdf5:\r\n```\r\npkg-config --cflags hdf5\r\n## -I/usr/include/hdf5/serial \r\n```\r\nbut `H5public.h` fails to be included:\r\n```\r\ncd ~/src/github_jm/netcdf4-python\r\npython3 setup.py build\r\n## snipped\r\n##creating build/temp.linux-x86_64-3.4/netCDF4\r\n##x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.4m -c netCDF4/_netCDF4.c -o build/temp.linux-x86_64-3.4/netCDF4/_netCDF4.o\r\nnetCDF4/_netCDF4.c:237:22: fatal error: H5public.h: No such file or directory\r\n## #include \"H5public.h\"\r\n##                      ^\r\n## compilation terminated.\r\n```\r\n\r\nFurther information below on the environment.\r\nHappy to submit a pull request if I find a proper fix, but am unfamiliar with python package build, so may not find my way around it.\r\nMay be a shortcoming of `nc-config` rather than netcdf4-python. \r\n\r\nDebian 3.16.7-ckt4-1 (2015-01-16) x86_64 GNU/Linux  \r\n(Debian \"unstable\")\r\n\r\n```\r\n$ aptitude show libnetcdf-dev\r\n# State: installed\r\n# Version: 1:4.1.3-7.2\r\n```\r\n```\r\n$ aptitude show libhdf5-dev\r\n# Version: 1.8.13+docs-15\r\n# Replaces: libhdf5-serial-dev (< 1.8.12-9~), libhdf5-serial-dev (< 1.8.12-9~)\r\n# Provides: libhdf5-serial-dev\r\n```\r\n\r\n"}}