{"action":"created","issue":{"url":"https://api.github.com/repos/wkz/ply/issues/1","repository_url":"https://api.github.com/repos/wkz/ply","labels_url":"https://api.github.com/repos/wkz/ply/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wkz/ply/issues/1/comments","events_url":"https://api.github.com/repos/wkz/ply/issues/1/events","html_url":"https://github.com/wkz/ply/issues/1","id":137419276,"number":1,"title":"build docs","user":{"login":"brendangregg","id":1101211,"avatar_url":"https://avatars.githubusercontent.com/u/1101211?v=3","gravatar_id":"","url":"https://api.github.com/users/brendangregg","html_url":"https://github.com/brendangregg","followers_url":"https://api.github.com/users/brendangregg/followers","following_url":"https://api.github.com/users/brendangregg/following{/other_user}","gists_url":"https://api.github.com/users/brendangregg/gists{/gist_id}","starred_url":"https://api.github.com/users/brendangregg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendangregg/subscriptions","organizations_url":"https://api.github.com/users/brendangregg/orgs","repos_url":"https://api.github.com/users/brendangregg/repos","events_url":"https://api.github.com/users/brendangregg/events{/privacy}","received_events_url":"https://api.github.com/users/brendangregg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-01T00:04:19Z","updated_at":"2016-03-01T00:28:59Z","closed_at":null,"body":"I got this far:\r\n\r\n```\r\n./autogen.sh\r\n./configure\r\nmake\r\n```\r\n\r\nBut then it can't find bpf.h:\r\n\r\n```\r\nroot@bgregg-build-i-xxxxxxxx:/mnt/src/ply# make\r\nMaking all in src\r\nmake[1]: Entering directory `/mnt/src/ply/src'\r\nmake  all-am\r\nmake[2]: Entering directory `/mnt/src/ply/src'\r\n  CC       lang/ply-parse.o\r\nIn file included from lang/parse.y:25:0:\r\nlang/ast.h:29:23: fatal error: linux/bpf.h: No such file or directory\r\ncompilation terminated.\r\nmake[2]: *** [lang/ply-parse.o] Error 1\r\nmake[2]: Leaving directory `/mnt/src/ply/src'\r\nmake[1]: *** [all] Error 2\r\nmake[1]: Leaving directory `/mnt/src/ply/src'\r\nmake: *** [all-recursive] Error 1\r\n```\r\n\r\nI have linux/bpf.h in my kernel build directory, and it's also under /lib/modules/`uname -r`/source/include\r\n\r\nBut it isn't under /usr/include. And \"make headers_install\" doesn't put it there..."},"comment":{"url":"https://api.github.com/repos/wkz/ply/issues/comments/190467663","html_url":"https://github.com/wkz/ply/issues/1#issuecomment-190467663","issue_url":"https://api.github.com/repos/wkz/ply/issues/1","id":190467663,"user":{"login":"wkz","id":574546,"avatar_url":"https://avatars.githubusercontent.com/u/574546?v=3","gravatar_id":"","url":"https://api.github.com/users/wkz","html_url":"https://github.com/wkz","followers_url":"https://api.github.com/users/wkz/followers","following_url":"https://api.github.com/users/wkz/following{/other_user}","gists_url":"https://api.github.com/users/wkz/gists{/gist_id}","starred_url":"https://api.github.com/users/wkz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkz/subscriptions","organizations_url":"https://api.github.com/users/wkz/orgs","repos_url":"https://api.github.com/users/wkz/repos","events_url":"https://api.github.com/users/wkz/events{/privacy}","received_events_url":"https://api.github.com/users/wkz/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T00:28:59Z","updated_at":"2016-03-01T00:28:59Z","body":"Ahh, right you're getting kernel headers included in your build. Try:\r\n\r\n`CFLAGS=\"-I /path/to/kernel/include/uapi\" ./configure`\r\n\r\n"}}