-
Notifications
You must be signed in to change notification settings - Fork 64
Description
hello,
Today 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/).
I 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.
I 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 :-)
Log on the error
pi@raspberrypi ~/ethrbh/temp/erlang-ale $ make all
make[1]: Entering directory '/home/pi/ethrbh/temp/erlang-ale/deps/gproc'
./rebar get-deps
==> gproc (get-deps)
./rebar compile
==> gproc (compile)
make[1]: Leaving directory '/home/pi/ethrbh/temp/erlang-ale/deps/gproc'
make[1]: Entering directory '/home/pi/ethrbh/temp/erlang-ale/deps/meck'
/bin/sh: 1: ./rebar: not found
/bin/sh: 1: compile: not found
Makefile:6: recipe for target 'compile' failed
make[1]: *** [compile] Error 127
make[1]: Leaving directory '/home/pi/ethrbh/temp/erlang-ale/deps/meck'
make[1]: Entering directory '/home/pi/ethrbh/temp/erlang-ale/deps/pihwm'
OS on raspberry pi:
pi@raspberrypi ~/ethrbh/temp/erlang-ale $ uname -a
Linux raspberrypi 3.18.5-v7+ #225 SMP PREEMPT Fri Jan 30 18:53:55 GMT 2015 armv7l GNU/Linux
Solution what is working (for me at least)
Use the master branch of meck when clone in the erlang_ale/Makefile
old line:
dep_meck = https://github.com/eproxus/meck.git 0.7.2
new line:
dep_meck = https://github.com/eproxus/meck.git master
thanks for your help,
/Robi