{"action":"created","issue":{"url":"https://api.github.com/repos/gnunn1/terminix/issues/405","repository_url":"https://api.github.com/repos/gnunn1/terminix","labels_url":"https://api.github.com/repos/gnunn1/terminix/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/gnunn1/terminix/issues/405/comments","events_url":"https://api.github.com/repos/gnunn1/terminix/issues/405/events","html_url":"https://github.com/gnunn1/terminix/issues/405","id":166461900,"number":405,"title":"[Autotools] Can't build without $DC set to a path","user":{"login":"Tinche","id":1909233,"avatar_url":"https://avatars.githubusercontent.com/u/1909233?v=3","gravatar_id":"","url":"https://api.github.com/users/Tinche","html_url":"https://github.com/Tinche","followers_url":"https://api.github.com/users/Tinche/followers","following_url":"https://api.github.com/users/Tinche/following{/other_user}","gists_url":"https://api.github.com/users/Tinche/gists{/gist_id}","starred_url":"https://api.github.com/users/Tinche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tinche/subscriptions","organizations_url":"https://api.github.com/users/Tinche/orgs","repos_url":"https://api.github.com/users/Tinche/repos","events_url":"https://api.github.com/users/Tinche/events{/privacy}","received_events_url":"https://api.github.com/users/Tinche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-19T23:26:40Z","updated_at":"2016-07-20T15:52:03Z","closed_at":null,"body":"While trying to build terminix using autotools (actually, playing around trying to fit it into a snap, this is one of the steps), I've found I can't actually get it to build unless I have the env var `DC` set to the exact path of dmd. Just having dmd in the path (like mentioned on the wiki page) isn't enough.\r\n\r\n`make` fails because the Makefile contains this snippet:\r\n\r\n```\r\nCYGPATH_W = echo\r\nDC = \r\nDCFLAGS = -O\r\n```\r\n(the DC isn't set.) \r\n\r\nThere is a related error while running `configure`:\r\n\r\n```\r\nchecking where the gettext function comes from... libc\r\nbasename: missing operand\r\nTry 'basename --help' for more information.\r\nchecking for DEPS... yes\r\n```\r\n(again, because $DC doesn't get set.)\r\n\r\nThis is on Ubuntu 16.04. If I set $DC to \"/usr/bin/dmd\" the build works. If I set it to just \"dmd\" or erase it, no dice."},"comment":{"url":"https://api.github.com/repos/gnunn1/terminix/issues/comments/233992941","html_url":"https://github.com/gnunn1/terminix/issues/405#issuecomment-233992941","issue_url":"https://api.github.com/repos/gnunn1/terminix/issues/405","id":233992941,"user":{"login":"dsboger","id":2356842,"avatar_url":"https://avatars.githubusercontent.com/u/2356842?v=3","gravatar_id":"","url":"https://api.github.com/users/dsboger","html_url":"https://github.com/dsboger","followers_url":"https://api.github.com/users/dsboger/followers","following_url":"https://api.github.com/users/dsboger/following{/other_user}","gists_url":"https://api.github.com/users/dsboger/gists{/gist_id}","starred_url":"https://api.github.com/users/dsboger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsboger/subscriptions","organizations_url":"https://api.github.com/users/dsboger/orgs","repos_url":"https://api.github.com/users/dsboger/repos","events_url":"https://api.github.com/users/dsboger/events{/privacy}","received_events_url":"https://api.github.com/users/dsboger/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T15:52:03Z","updated_at":"2016-07-20T15:52:03Z","body":"Looks like I made a mistake in `configure.ac`. The line that reads: `AC_PATH_PROG([DC], [ldmd dmd gdmd])` should be `AC_PATH_PROGS([DC], [ldmd dmd gdmd])` (notice the missing `S` in `PROGS`). I'll make a quick PR, but until it is merged you can workaround the issue fixing `configure.ac` and restarting the build from `autogen.sh` onwards. Thanks for reporting!"}}
{"actor":{"display_login":"dsboger"}}