[erlang-questions] building erlang from source on raspbian

Dmitry Kolesnikov dmkolesnikov@REDACTED
Fri Feb 16 08:07:16 CET 2018


Hello,

You are building for armv6l. 
Do you make it as cross-platform build or directly on the target!

I’d advise you to use xcomp to build it.
Please check this tutorial 
https://github.com/erlang/otp/blob/master/HOWTO/INSTALL-ANDROID.md <https://github.com/erlang/otp/blob/master/HOWTO/INSTALL-ANDROID.md>

This is a way, how I’ve been building Erlang R16 to Android and Rasberry Pi.

Best Regards, 
Dmitry


> On 16 Feb 2018, at 0.24, Karlo Kuna <kuna.prime@REDACTED> wrote:
> 
> i got build error
> 
> MAKE   depend
> make[2]: Entering directory '/var/erlang-src/otp/erts/emulator'
>  GEN    armv6l-unknown-linux-gnueabihf/gen_git_version.mk <http://gen_git_version.mk/>
> make[2]: *** No rule to make target 'beam/benchmark.h', needed by 'obj/armv6l-unknown-linux-gnueabihf/opt/smp/hipe_mkliterals.o'.  Stop.
> make[2]: Leaving directory '/var/erlang-src/otp/erts/emulator'
> /var/erlang-src/otp/make/run_make.mk:42 <http://run_make.mk:42/>: recipe for target 'depend' failed
> make[1]: *** [depend] Error 2
> make[1]: Leaving directory '/var/erlang-src/otp/erts/emulator'
> Makefile:500: recipe for target 'depend' failed
> make: *** [depend] Error 2
> 
> i have run ./configure but can't complete make step 
> it seams that Makefile for erts/emulator is not properly generated
> 
> please help
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180216/24e25f56/attachment.htm>


More information about the erlang-questions mailing list