{"action":"created","issue":{"url":"https://api.github.com/repos/esl/erlang_ale/issues/16","labels_url":"https://api.github.com/repos/esl/erlang_ale/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/esl/erlang_ale/issues/16/comments","events_url":"https://api.github.com/repos/esl/erlang_ale/issues/16/events","html_url":"https://github.com/esl/erlang_ale/issues/16","id":57362572,"number":16,"title":"Failed to compile erlang_ale","user":{"login":"ethrbh","id":1833048,"avatar_url":"https://avatars.githubusercontent.com/u/1833048?v=3","gravatar_id":"","url":"https://api.github.com/users/ethrbh","html_url":"https://github.com/ethrbh","followers_url":"https://api.github.com/users/ethrbh/followers","following_url":"https://api.github.com/users/ethrbh/following{/other_user}","gists_url":"https://api.github.com/users/ethrbh/gists{/gist_id}","starred_url":"https://api.github.com/users/ethrbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethrbh/subscriptions","organizations_url":"https://api.github.com/users/ethrbh/orgs","repos_url":"https://api.github.com/users/ethrbh/repos","events_url":"https://api.github.com/users/ethrbh/events{/privacy}","received_events_url":"https://api.github.com/users/ethrbh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-11T19:15:28Z","updated_at":"2015-02-11T20:33:13Z","closed_at":null,"body":"hello,\r\n\r\nToday I have started to learn and play with Erlang on Rasperry Pi B 1G RAM (http://www.raspberrypi.org/products/raspberry-pi-2-model-b/).\r\n\r\nI have installed the latest erlang-mini, than I cloned the Erlang-ALE project from GitHub. I followed the instruction to compile the project. Unfortunately there are few errors when compile meck application what is one of the deps. project of Erlang-ALE.\r\n\r\nI could fix it on my local copy, but for same reason I cannot able to push the changes in the git repo. See details below. I would be happy if someone could push the fix :-)\r\n\r\nLog on the error\r\n---------------------------------\r\npi@raspberrypi ~/ethrbh/temp/erlang-ale $ make all\r\nmake[1]: Entering directory '/home/pi/ethrbh/temp/erlang-ale/deps/gproc'\r\n./rebar get-deps\r\n==> gproc (get-deps)\r\n./rebar compile\r\n==> gproc (compile)\r\nmake[1]: Leaving directory '/home/pi/ethrbh/temp/erlang-ale/deps/gproc'\r\nmake[1]: Entering directory '/home/pi/ethrbh/temp/erlang-ale/deps/meck'\r\n/bin/sh: 1: ./rebar: not found\r\n/bin/sh: 1: compile: not found\r\nMakefile:6: recipe for target 'compile' failed\r\nmake[1]: *** [compile] Error 127\r\nmake[1]: Leaving directory '/home/pi/ethrbh/temp/erlang-ale/deps/meck'\r\nmake[1]: Entering directory '/home/pi/ethrbh/temp/erlang-ale/deps/pihwm'\r\n\r\nOS on raspberry pi:\r\n----------------------------------\r\npi@raspberrypi ~/ethrbh/temp/erlang-ale $ uname -a\r\nLinux raspberrypi 3.18.5-v7+ #225 SMP PREEMPT Fri Jan 30 18:53:55 GMT 2015 armv7l GNU/Linux\r\n\r\nSolution what is working (for me at least)\r\n----------------------------------------------------\r\nUse the master branch of meck when clone in the erlang_ale/Makefile\r\nold line:\r\n     dep_meck = https://github.com/eproxus/meck.git 0.7.2\r\nnew line:\r\n     dep_meck = https://github.com/eproxus/meck.git master\r\n\r\nthanks for your help,\r\n/Robi"},"comment":{"url":"https://api.github.com/repos/esl/erlang_ale/issues/comments/73958987","html_url":"https://github.com/esl/erlang_ale/issues/16#issuecomment-73958987","issue_url":"https://api.github.com/repos/esl/erlang_ale/issues/16","id":73958987,"user":{"login":"ethrbh","id":1833048,"avatar_url":"https://avatars.githubusercontent.com/u/1833048?v=3","gravatar_id":"","url":"https://api.github.com/users/ethrbh","html_url":"https://github.com/ethrbh","followers_url":"https://api.github.com/users/ethrbh/followers","following_url":"https://api.github.com/users/ethrbh/following{/other_user}","gists_url":"https://api.github.com/users/ethrbh/gists{/gist_id}","starred_url":"https://api.github.com/users/ethrbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethrbh/subscriptions","organizations_url":"https://api.github.com/users/ethrbh/orgs","repos_url":"https://api.github.com/users/ethrbh/repos","events_url":"https://api.github.com/users/ethrbh/events{/privacy}","received_events_url":"https://api.github.com/users/ethrbh/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T20:33:12Z","updated_at":"2015-02-11T20:33:12Z","body":"hello Josh,\r\n\r\nI had to install autoconf tool to the Pi:\r\n\tpi@raspberrypi ~/ethrbh/temp/erlang.mk/deps/pihwm $ config_data ,../cls -la\r\n\ttotal 44\r\n\tdrwxr-xr-x 6 pi pi 4096 Feb 11 19:55 .\r\n\tdrwxr-xr-x 8 pi pi 4096 Feb 11 19:56 ..\r\n\t-rwxr-xr-x 1 pi pi 2298 Feb 11 19:55 autogen.sh\r\n\t-rw-r--r-- 1 pi pi 3658 Feb 11 19:55 configure.ac\r\n\tdrwxr-xr-x 2 pi pi 4096 Feb 11 19:55 demo\r\n\tdrwxr-xr-x 2 pi pi 4096 Feb 11 19:55 doc\r\n\tdrwxr-xr-x 8 pi pi 4096 Feb 11 19:55 .git\r\n\t-rw-r--r-- 1 pi pi  408 Feb 11 19:55 .gitignore\r\n\tdrwxr-xr-x 2 pi pi 4096 Feb 11 19:55 lib\r\n\t-rw-r--r-- 1 pi pi 1011 Feb 11 19:55 Makefile.am\r\n\t-rw-r--r-- 1 pi pi  855 Feb 11 19:55 README.md\r\n\tpi@raspberrypi ~/ethrbh/temp/erlang.mk/deps/pihwm $ ./autogen.sh \r\n\r\n\tYou must have autoconf installed to compile pihwm.\r\n\tDownload the appropriate package for your distribution,\r\n\tor get the source tarball at ftp://ftp.gnu.org/pub/gnu/\r\n\r\n\tYou must have automake installed to compile pihwm.\r\n\tGet ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz\r\n\t(or a newer version if it is available)\r\n\tpi@raspberrypi ~/ethrbh/temp/erlang.mk/deps/pihwm $ apt-sudo apt-get install autoconf\r\n\r\nbut this does not solved all the issues. There is one left (or maybe more):\r\n\tCompiled src/meck_proc.erl\r\n\tmake[1]: Leaving directory '/home/pi/ethrbh/temp/erlang_ale_ethrbh/erlang_ale/deps/meck'\r\n\tmake[1]: Entering directory '/home/pi/ethrbh/temp/erlang_ale_ethrbh/erlang_ale/deps/pihwm'\r\n\tmake[1]: *** No targets specified and no makefile found.  Stop.\r\n\tmake[1]: Leaving directory '/home/pi/ethrbh/temp/erlang_ale_ethrbh/erlang_ale/deps/pihwm'\r\n\r\nIt looks pihwm project uses automake, and maybe this does not looks good for the make system.\r\n\tpi@raspberrypi ~/ethrbh/temp/erlang_ale_ethrbh/erlang_ale $ ls deps/gproc/pihwm/\r\n\tautogen.sh  configure.ac  demo  doc  lib  Makefile.am  README.md\r\n\tpi@raspberrypi ~/ethrbh/temp/erlang_ale_ethrbh/erlang_ale $ \r\n\tpi@raspberrypi ~/ethrbh/temp/erlang_ale_ethrbh/erlang_ale $ \r\n\r\nI tried install the newest automake, but I have the latest:\r\n\tpi@raspberrypi ~/ethrbh/temp/erlang_ale_ethrbh/erlang_ale $ sudo apt-get install automake \r\n\tautomake is already the newest version.\r\n\tautomake set to manually installed.\r\n\t0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.\r\n\tpi@raspberrypi ~/ethrbh/temp/erlang_ale_ethrbh/erlang_ale $ \r\n\r\nRight now I don't know what should be the next step. I hope you can turn on the light in my head :-)\r\n\r\nthanks for your help,\r\n/Robi"}}