{"action":"created","issue":{"url":"https://api.github.com/repos/lfe/lfetool/issues/161","labels_url":"https://api.github.com/repos/lfe/lfetool/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/lfe/lfetool/issues/161/comments","events_url":"https://api.github.com/repos/lfe/lfetool/issues/161/events","html_url":"https://github.com/lfe/lfetool/issues/161","id":54685343,"number":161,"title":"Unable to start a repl using lfetool or make commands.","user":{"login":"iambumblehead","id":2058705,"avatar_url":"https://avatars.githubusercontent.com/u/2058705?v=3","gravatar_id":"","url":"https://api.github.com/users/iambumblehead","html_url":"https://github.com/iambumblehead","followers_url":"https://api.github.com/users/iambumblehead/followers","following_url":"https://api.github.com/users/iambumblehead/following{/other_user}","gists_url":"https://api.github.com/users/iambumblehead/gists{/gist_id}","starred_url":"https://api.github.com/users/iambumblehead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambumblehead/subscriptions","organizations_url":"https://api.github.com/users/iambumblehead/orgs","repos_url":"https://api.github.com/users/iambumblehead/repos","events_url":"https://api.github.com/users/iambumblehead/events{/privacy}","received_events_url":"https://api.github.com/users/iambumblehead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-18T03:59:27Z","updated_at":"2015-01-18T04:50:15Z","closed_at":null,"body":"Unable to start a repl using lfetool or make commands. What I see:\r\n\r\n```\r\n~/Software/my-test-lib$ lfetool -v\r\n1.4.0\r\n~/Software/my-test-lib$ lfetool repl\r\n\r\nIn order to run the LFE REPL from this script, it has to\r\nbe executed in its uncompressed form. For your convenience,\r\nthe script has just been uncompressed. Please re-execute\r\nthe same command to start the REPL.\r\n~/Software/my-test-lib$ lfetool repl\r\n\r\nIn order to run the LFE REPL from this script, it has to\r\nbe executed in its uncompressed form. For your convenience,\r\nthe script has just been uncompressed. Please re-execute\r\nthe same command to start the REPL.\r\n~/Software/my-test-lib$ make shell\r\nGetting dependencies ...\r\n==> lfe (get-deps)\r\n==> ltest (get-deps)\r\n==> lutil (get-deps)\r\n==> my-test-lib (get-deps)\r\nCleaning ebin dir ...\r\nCompiling project code and dependencies ...\r\n==> lfe (compile)\r\n==> ltest (compile)\r\n==> lutil (compile)\r\n==> my-test-lib (compile)\r\nCompiled src/my-test-lib.lfe\r\nCompiled src/my-test-lib-util.lfe\r\n\u001B[3;J\r\nStarting an Erlang shell ...\r\nErlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]\r\n\r\nEshell V6.0  (abort with ^G)\r\n1> (+ 1 1)\r\n1> .\r\n* 1: syntax error before: 1\r\n1> ItIsErlang = true.\r\ntrue\r\n2> q().\r\nok\r\n3> ~/Software/my-test-lib$ \r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/lfe/lfetool/issues/comments/70396508","html_url":"https://github.com/lfe/lfetool/issues/161#issuecomment-70396508","issue_url":"https://api.github.com/repos/lfe/lfetool/issues/161","id":70396508,"user":{"login":"oubiwann","id":894251,"avatar_url":"https://avatars.githubusercontent.com/u/894251?v=3","gravatar_id":"","url":"https://api.github.com/users/oubiwann","html_url":"https://github.com/oubiwann","followers_url":"https://api.github.com/users/oubiwann/followers","following_url":"https://api.github.com/users/oubiwann/following{/other_user}","gists_url":"https://api.github.com/users/oubiwann/gists{/gist_id}","starred_url":"https://api.github.com/users/oubiwann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oubiwann/subscriptions","organizations_url":"https://api.github.com/users/oubiwann/orgs","repos_url":"https://api.github.com/users/oubiwann/repos","events_url":"https://api.github.com/users/oubiwann/events{/privacy}","received_events_url":"https://api.github.com/users/oubiwann/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T04:50:15Z","updated_at":"2015-01-18T04:50:15Z","body":"Ohhhh, that's what I think is happening: some people aren't sudo chown'ing\r\nlfetool after install, so it *can't* self-extract.\r\n\r\nI'll go ahead and fix it to self-extract, but also update the instructions\r\nto basically say: \"always install with ``sudo`` and always ``chown`` to\r\n``$USER`` ... then we should have more consistency across the community\r\n(and with bug reports).\r\n\r\nThanks again :-)\r\n\r\n\r\nOn Sat, Jan 17, 2015 at 10:24 PM, iambumblehead <notifications@github.com>\r\nwrote:\r\n\r\n> Thanks. That's the trick. To setup lfetool I followed this:\r\n> https://github.com/lfe/lfetool#stable\r\n>\r\n> Should we close the issue?\r\n>\r\n> 3> ~/Software/my-test-lib$ lfetool -x\r\n>\r\n> Extracting file ...\r\n> mv: replace ‘/usr/local/bin/lfetool’, overriding mode 0755 (rwxr-xr-x)? Yes\r\n> mv: cannot move ‘/tmp/20151701201956_lfetool’ to ‘/usr/local/bin/lfetool’: Permission denied\r\n> Done.\r\n> ~/Software/my-test-lib$ sudo lfetool -x\r\n> [sudo] password for duko:\r\n>\r\n> Extracting file ...\r\n> Done.\r\n> ~/Software/my-test-lib$ lfetool repl\r\n> Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]\r\n>\r\n> LFE Shell V6.0 (abort with ^G)\r\n> > (+ 2 2)\r\n> 4\r\n> >\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/lfe/lfetool/issues/161#issuecomment-70396065>.\r\n>"}}