{"action":"created","issue":{"url":"https://api.github.com/repos/hightman/scws/issues/1","labels_url":"https://api.github.com/repos/hightman/scws/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/hightman/scws/issues/1/comments","events_url":"https://api.github.com/repos/hightman/scws/issues/1/events","html_url":"https://github.com/hightman/scws/issues/1","id":10422109,"number":1,"title":"编译出错，rules.ini: 未找到命令","user":{"login":"grick","id":711635,"avatar_url":"https://avatars.githubusercontent.com/u/711635?v=3","gravatar_id":"","url":"https://api.github.com/users/grick","html_url":"https://github.com/grick","followers_url":"https://api.github.com/users/grick/followers","following_url":"https://api.github.com/users/grick/following{/other_user}","gists_url":"https://api.github.com/users/grick/gists{/gist_id}","starred_url":"https://api.github.com/users/grick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grick/subscriptions","organizations_url":"https://api.github.com/users/grick/orgs","repos_url":"https://api.github.com/users/grick/repos","events_url":"https://api.github.com/users/grick/events{/privacy}","received_events_url":"https://api.github.com/users/grick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-01-29T16:05:05Z","updated_at":"2015-01-21T04:20:21Z","closed_at":"2013-04-19T05:24:57Z","body":"1. git clone file\r\n2. run acprep\r\n3. ./configure\r\n4. sudo make install\r\n\r\n结果出现错误\r\n```bash\r\nMaking install in etc\r\nmake[1]: 正在进入目录 `/home/abc/documents/C/scws/etc'\r\nmake[2]: 正在进入目录 `/home/abc/documents/C/scws/etc'\r\ntest -z \"/usr/local/etc\" || /bin/mkdir -p \"/usr/local/etc\"\r\n  'rules.ini' '/usr/local/etc/f=rules.ini'\r\n/bin/bash: 行 6: rules.ini: 未找到命令\r\n  'rules.utf8.ini' '/usr/local/etc/f=rules.utf8.ini'\r\n/bin/bash: 行 6: rules.utf8.ini: 未找到命令\r\n  'rules_cht.utf8.ini' '/usr/local/etc/f=rules_cht.utf8.ini'\r\n/bin/bash: 行 6: rules_cht.utf8.ini: 未找到命令\r\nmake[2]: *** [install-sysconfDATA] 错误 127\r\nmake[2]:正在离开目录 `/home/abc/documents/C/scws/etc'\r\nmake[1]: *** [install-am] 错误 2\r\nmake[1]:正在离开目录 `/home/abc/documents/C/scws/etc'\r\nmake: *** [install-recursive] 错误 1\r\n```\r\n\r\n从网站下载 bzip 包编译没问题。"},"comment":{"url":"https://api.github.com/repos/hightman/scws/issues/comments/70782418","html_url":"https://github.com/hightman/scws/issues/1#issuecomment-70782418","issue_url":"https://api.github.com/repos/hightman/scws/issues/1","id":70782418,"user":{"login":"rngadam","id":538542,"avatar_url":"https://avatars.githubusercontent.com/u/538542?v=3","gravatar_id":"","url":"https://api.github.com/users/rngadam","html_url":"https://github.com/rngadam","followers_url":"https://api.github.com/users/rngadam/followers","following_url":"https://api.github.com/users/rngadam/following{/other_user}","gists_url":"https://api.github.com/users/rngadam/gists{/gist_id}","starred_url":"https://api.github.com/users/rngadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rngadam/subscriptions","organizations_url":"https://api.github.com/users/rngadam/orgs","repos_url":"https://api.github.com/users/rngadam/repos","events_url":"https://api.github.com/users/rngadam/events{/privacy}","received_events_url":"https://api.github.com/users/rngadam/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T04:20:21Z","updated_at":"2015-01-21T04:20:21Z","body":"Still a problem.\r\n\r\nOn Ubuntu 14.04.1 LTS, I'm getting the same error referencing these non-existing rules.ini files.\r\n\r\n```\r\n~/scws-1.2.2$ automake --version\r\nautomake (GNU automake) 1.14.1\r\n```\r\n\r\nand\r\n\r\n```\r\n~/scws-1.2.2$ bash --version\r\nGNU bash, version 4.3.11(1)-release (i686-pc-linux-gnu)\r\n```\r\n\r\n```\r\n\r\nwith this etc/Makefile:\r\n\r\n```\r\n# install sysconf_DATA\r\ninstall-sysconfDATA:\r\n        @$(NORMAL_INSTALL)\r\n        test -z \"$(sysconfdir)\" || $(MKDIR_P) \"$(DESTDIR)$(sysconfdir)\"\r\n        @list='$(sysconf_DATA)'; for p in $$list; do \\\r\n          if test -f \"$$p\"; then d=; else d=\"$(srcdir)/\"; fi; \\\r\n          f=$(am__strip_dir) \\\r\n          if test \"$(DESTDIR)$(sysconfdir)/$$f\" -nt \"$$d$$p\"; then \\\r\n            echo \" Ignore exists sysconf data file '$$p'\"; else \\\r\n            echo \" $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'\"; \\\r\n            $(sysconfDATA_INSTALL) \"$$d$$p\" \"$(DESTDIR)$(sysconfdir)/$$f\"; \\\r\n          fi; \\\r\n        done  \r\n```"}}