{"action":"created","issue":{"url":"https://api.github.com/repos/rsyslog/rsyslog/issues/300","repository_url":"https://api.github.com/repos/rsyslog/rsyslog","labels_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/300/comments","events_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/300/events","html_url":"https://github.com/rsyslog/rsyslog/issues/300","id":67743536,"number":300,"title":"If flex is not installed, build fails during make, instead of during configure.","user":{"login":"zlisinski","id":619807,"avatar_url":"https://avatars.githubusercontent.com/u/619807?v=3","gravatar_id":"","url":"https://api.github.com/users/zlisinski","html_url":"https://github.com/zlisinski","followers_url":"https://api.github.com/users/zlisinski/followers","following_url":"https://api.github.com/users/zlisinski/following{/other_user}","gists_url":"https://api.github.com/users/zlisinski/gists{/gist_id}","starred_url":"https://api.github.com/users/zlisinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zlisinski/subscriptions","organizations_url":"https://api.github.com/users/zlisinski/orgs","repos_url":"https://api.github.com/users/zlisinski/repos","events_url":"https://api.github.com/users/zlisinski/events{/privacy}","received_events_url":"https://api.github.com/users/zlisinski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rsyslog/rsyslog/labels/small","name":"small","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-04-11T06:37:59Z","updated_at":"2016-07-03T12:44:28Z","closed_at":null,"body":"configure or autogen.sh should fail if flex is not installed. Instead it reports 'no' for flex/lex and continues. You will then get an error that lexer.c can't be found when compiling. The file lexer.c isn't in git, and I assume it is created by flex from grammar/lexer.l.\r\n\r\nOutput from `configure` or `autogen.sh`:\r\n    `checking for flex... no`\r\n    `checking for lex... no`\r\n\r\nOutput from make:\r\n`    make[3]: Entering directory '/root/rsyslog/grammar'`\r\n`      LEX      lexer.c`\r\n`      CC       libgrammar_la-lexer.lo`\r\n`    gcc: error: ./lexer.c: No such file or directory`\r\n`    gcc: fatal error: no input files`\r\n`    compilation terminated.`\r\n\r\nMy autotools knowledge isn't that great, so I'm submitting this in the hopes that someone else can fix it."},"comment":{"url":"https://api.github.com/repos/rsyslog/rsyslog/issues/comments/230151685","html_url":"https://github.com/rsyslog/rsyslog/issues/300#issuecomment-230151685","issue_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/300","id":230151685,"user":{"login":"rgerhards","id":1482123,"avatar_url":"https://avatars.githubusercontent.com/u/1482123?v=3","gravatar_id":"","url":"https://api.github.com/users/rgerhards","html_url":"https://github.com/rgerhards","followers_url":"https://api.github.com/users/rgerhards/followers","following_url":"https://api.github.com/users/rgerhards/following{/other_user}","gists_url":"https://api.github.com/users/rgerhards/gists{/gist_id}","starred_url":"https://api.github.com/users/rgerhards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgerhards/subscriptions","organizations_url":"https://api.github.com/users/rgerhards/orgs","repos_url":"https://api.github.com/users/rgerhards/repos","events_url":"https://api.github.com/users/rgerhards/events{/privacy}","received_events_url":"https://api.github.com/users/rgerhards/received_events","type":"User","site_admin":false},"created_at":"2016-07-03T12:44:28Z","updated_at":"2016-07-03T12:44:28Z","body":"As far as I know, everything related to flex is done in autoconf.ac. So the problem looks unavoidable to me. If someone has a patch, a PR is most welcome."}}
{"actor":{"display_login":"rgerhards"}}