{"action":"created","issue":{"url":"https://api.github.com/repos/commx/python-rrdtool/issues/5","labels_url":"https://api.github.com/repos/commx/python-rrdtool/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/commx/python-rrdtool/issues/5/comments","events_url":"https://api.github.com/repos/commx/python-rrdtool/issues/5/events","html_url":"https://github.com/commx/python-rrdtool/issues/5","id":111649102,"number":5,"title":"Where is HAVE_RRD_GRAPH defined?","user":{"login":"denilsonsa","id":121676,"avatar_url":"https://avatars.githubusercontent.com/u/121676?v=3","gravatar_id":"","url":"https://api.github.com/users/denilsonsa","html_url":"https://github.com/denilsonsa","followers_url":"https://api.github.com/users/denilsonsa/followers","following_url":"https://api.github.com/users/denilsonsa/following{/other_user}","gists_url":"https://api.github.com/users/denilsonsa/gists{/gist_id}","starred_url":"https://api.github.com/users/denilsonsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denilsonsa/subscriptions","organizations_url":"https://api.github.com/users/denilsonsa/orgs","repos_url":"https://api.github.com/users/denilsonsa/repos","events_url":"https://api.github.com/users/denilsonsa/events{/privacy}","received_events_url":"https://api.github.com/users/denilsonsa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T15:58:25Z","updated_at":"2015-11-26T15:56:22Z","closed_at":null,"body":"I have Lubuntu 15.04, with `librrd-dev` package already installed.\r\n\r\nI used a Python 2.7 virtualenv and then tried installing this module using `pip install rrdtool`. The resulting module, however, did not have `graph` support.\r\n\r\nI then manually cloned the repository, manually edited the C source file to include `#define HAVE_RRD_GRAPH`, and then used `setup.py` to build and install it in the virtualenv. The module worked fine afterwards, WITH `graph` support.\r\n\r\nSo… Where is `HAVE_RRD_GRAPH` defined? After a quick look, I believe it gets defined only in `rrd_config.h`, which is only available during the compilation of `rrdtool`, which means this C definition is not exported anywhere. If this is the case, maybe we should open an issue at https://github.com/oetiker/rrdtool-1.x asking to expose this definition. Alternatively, we can work around it in this module source code or in this module build logic."},"comment":{"url":"https://api.github.com/repos/commx/python-rrdtool/issues/comments/159946989","html_url":"https://github.com/commx/python-rrdtool/issues/5#issuecomment-159946989","issue_url":"https://api.github.com/repos/commx/python-rrdtool/issues/5","id":159946989,"user":{"login":"bobdoah","id":1266467,"avatar_url":"https://avatars.githubusercontent.com/u/1266467?v=3","gravatar_id":"","url":"https://api.github.com/users/bobdoah","html_url":"https://github.com/bobdoah","followers_url":"https://api.github.com/users/bobdoah/followers","following_url":"https://api.github.com/users/bobdoah/following{/other_user}","gists_url":"https://api.github.com/users/bobdoah/gists{/gist_id}","starred_url":"https://api.github.com/users/bobdoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobdoah/subscriptions","organizations_url":"https://api.github.com/users/bobdoah/orgs","repos_url":"https://api.github.com/users/bobdoah/repos","events_url":"https://api.github.com/users/bobdoah/events{/privacy}","received_events_url":"https://api.github.com/users/bobdoah/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T15:56:22Z","updated_at":"2015-11-26T15:56:22Z","body":"@denilsonsa Same issue on Debian 8, python 2.7.9 and `pip install rrdtool` in the global dist-packages"}}