{"action":"created","issue":{"url":"https://api.github.com/repos/casacore/casacore/issues/382","repository_url":"https://api.github.com/repos/casacore/casacore","labels_url":"https://api.github.com/repos/casacore/casacore/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/casacore/casacore/issues/382/comments","events_url":"https://api.github.com/repos/casacore/casacore/issues/382/events","html_url":"https://github.com/casacore/casacore/issues/382","id":144955654,"number":382,"title":"Build failure: missing arrayobject.h","user":{"login":"keflavich","id":143715,"avatar_url":"https://avatars.githubusercontent.com/u/143715?v=3","gravatar_id":"","url":"https://api.github.com/users/keflavich","html_url":"https://github.com/keflavich","followers_url":"https://api.github.com/users/keflavich/followers","following_url":"https://api.github.com/users/keflavich/following{/other_user}","gists_url":"https://api.github.com/users/keflavich/gists{/gist_id}","starred_url":"https://api.github.com/users/keflavich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keflavich/subscriptions","organizations_url":"https://api.github.com/users/keflavich/orgs","repos_url":"https://api.github.com/users/keflavich/repos","events_url":"https://api.github.com/users/keflavich/events{/privacy}","received_events_url":"https://api.github.com/users/keflavich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-31T16:51:00Z","updated_at":"2016-04-02T20:17:25Z","closed_at":null,"body":"I tried building casacore and received the following error:\r\n```\r\nIn file included from /Users/adam/repos/casacore/casacore/python/Converters/PycArray.tcc:32:0,\r\n                 from /Users/adam/repos/casacore/python/Converters/PycArray.cc:30:\r\n/Users/adam/repos/casacore/casacore/python/Converters/PycArrayNP.h:38:31: fatal error: numpy/arrayobject.h: No such file or directory\r\n #include <numpy/arrayobject.h>\r\n                               ^\r\ncompilation terminated.\r\nmake[2]: *** [python/CMakeFiles/casa_python.dir/Converters/PycArray.cc.o] Error 1\r\nmake[1]: *** [python/CMakeFiles/casa_python.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n\r\nAny suggestions?  I may not have flex or bison, but this looks like a numpy issue and I certainly have numpy installed."},"comment":{"url":"https://api.github.com/repos/casacore/casacore/issues/comments/204796275","html_url":"https://github.com/casacore/casacore/issues/382#issuecomment-204796275","issue_url":"https://api.github.com/repos/casacore/casacore/issues/382","id":204796275,"user":{"login":"alxames","id":1284064,"avatar_url":"https://avatars.githubusercontent.com/u/1284064?v=3","gravatar_id":"","url":"https://api.github.com/users/alxames","html_url":"https://github.com/alxames","followers_url":"https://api.github.com/users/alxames/followers","following_url":"https://api.github.com/users/alxames/following{/other_user}","gists_url":"https://api.github.com/users/alxames/gists{/gist_id}","starred_url":"https://api.github.com/users/alxames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxames/subscriptions","organizations_url":"https://api.github.com/users/alxames/orgs","repos_url":"https://api.github.com/users/alxames/repos","events_url":"https://api.github.com/users/alxames/events{/privacy}","received_events_url":"https://api.github.com/users/alxames/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T20:17:25Z","updated_at":"2016-04-02T20:17:25Z","body":"An oversight in casacore cmake scripts on Mac OS; not a user error.\r\n\r\nOn a proper system, casacore cmake scripts should detect all required dependencies and either exit non-0 with actionable error messages, or exit 0 and then build and install should work.\r\nThe right package name is python-numpy (or python3-numpy) (Debian and derivatives) or numpy (Red Hat and derivatives); -devel does not exist here.\r\n\r\nWhether it's worth it to spend a lot of time on cmake scripts to catch all these corner cases is something else. But maybe it's a matter of updating to the latest FindNUMPY.cmake?"}}