{"action":"created","issue":{"url":"https://api.github.com/repos/openvenues/pypostal/issues/2","repository_url":"https://api.github.com/repos/openvenues/pypostal","labels_url":"https://api.github.com/repos/openvenues/pypostal/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/openvenues/pypostal/issues/2/comments","events_url":"https://api.github.com/repos/openvenues/pypostal/issues/2/events","html_url":"https://github.com/openvenues/pypostal/issues/2","id":137318775,"number":2,"title":"Setup problem","user":{"login":"robbarry","id":3950328,"avatar_url":"https://avatars.githubusercontent.com/u/3950328?v=3","gravatar_id":"","url":"https://api.github.com/users/robbarry","html_url":"https://github.com/robbarry","followers_url":"https://api.github.com/users/robbarry/followers","following_url":"https://api.github.com/users/robbarry/following{/other_user}","gists_url":"https://api.github.com/users/robbarry/gists{/gist_id}","starred_url":"https://api.github.com/users/robbarry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbarry/subscriptions","organizations_url":"https://api.github.com/users/robbarry/orgs","repos_url":"https://api.github.com/users/robbarry/repos","events_url":"https://api.github.com/users/robbarry/events{/privacy}","received_events_url":"https://api.github.com/users/robbarry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-29T17:29:03Z","updated_at":"2016-02-29T17:42:20Z","closed_at":null,"body":"Hi there: I hit a snag when trying to follow the setup instructions. At the \"python setup.py install\" step, I got an error message that indicates the compiler can't find libpostal/libpostal.h.\r\n\r\nlibpostal itself seems to be correctly installed and I'm able to run it from the command line.\r\n\r\nI'm running the OSX system version of Python 2.7.10. Before I go mucking with new Python installations or moving directories around, thought I'd post this here. Since no one else has reported this issue, it's probably something stupid on my end...\r\n\r\nHere's what I see when I try to run setup.py. It's the same error regardless of whether I preface with `sudo`:\r\n\r\n```\r\nrob$ python setup.py install\r\nrunning install\r\nChecking .pth file support in /Library/Python/2.7/site-packages/\r\n/usr/bin/python -E -c pass\r\nTEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files\r\nrunning bdist_egg\r\nrunning egg_info\r\nwriting requirements to pypostal.egg-info/requires.txt\r\nwriting pypostal.egg-info/PKG-INFO\r\nwriting top-level names to pypostal.egg-info/top_level.txt\r\nwriting dependency_links to pypostal.egg-info/dependency_links.txt\r\nreading manifest file 'pypostal.egg-info/SOURCES.txt'\r\nwriting manifest file 'pypostal.egg-info/SOURCES.txt'\r\ninstalling library code to build/bdist.macosx-10.11-intel/egg\r\nrunning install_lib\r\nrunning build_py\r\nrunning build_ext\r\nbuilding 'postal._expand' extension\r\ncc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c postal/pyexpand.c -o build/temp.macosx-10.11-intel-2.7/postal/pyexpand.o -std=c99 -Wno-unused-function\r\npostal/pyexpand.c:2:10: fatal error: 'libpostal/libpostal.h' file not found\r\n#include <libpostal/libpostal.h>\r\n         ^\r\n1 error generated.\r\nerror: command 'cc' failed with exit status 1\r\n```"},"comment":{"url":"https://api.github.com/repos/openvenues/pypostal/issues/comments/190305574","html_url":"https://github.com/openvenues/pypostal/issues/2#issuecomment-190305574","issue_url":"https://api.github.com/repos/openvenues/pypostal/issues/2","id":190305574,"user":{"login":"thatdatabaseguy","id":238455,"avatar_url":"https://avatars.githubusercontent.com/u/238455?v=3","gravatar_id":"","url":"https://api.github.com/users/thatdatabaseguy","html_url":"https://github.com/thatdatabaseguy","followers_url":"https://api.github.com/users/thatdatabaseguy/followers","following_url":"https://api.github.com/users/thatdatabaseguy/following{/other_user}","gists_url":"https://api.github.com/users/thatdatabaseguy/gists{/gist_id}","starred_url":"https://api.github.com/users/thatdatabaseguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatdatabaseguy/subscriptions","organizations_url":"https://api.github.com/users/thatdatabaseguy/orgs","repos_url":"https://api.github.com/users/thatdatabaseguy/repos","events_url":"https://api.github.com/users/thatdatabaseguy/events{/privacy}","received_events_url":"https://api.github.com/users/thatdatabaseguy/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T17:42:19Z","updated_at":"2016-02-29T17:42:19Z","body":"Hey Rob. Are you running Yosemite/El Cap?\r\n\r\nIf you have pkg-config installed (if not ```brew install pkg-config``` and reinstall libpostal), can you post the output of ```pkg-config --cflags libpostal```?"}}