[erlang-questions] building erlang from source on raspbian

Karlo Kuna kuna.prime@REDACTED
Fri Feb 16 08:26:38 CET 2018


command that i have run are form github page

git clone https://github.com/erlang/otp.git
cd otp
./otp_build autoconf
./configure
make
make install

i'm compiling directly on target and yes i'm building form armv6l  as far
as i know


On Fri, Feb 16, 2018 at 8:07 AM, Dmitry Kolesnikov <dmkolesnikov@REDACTED>
wrote:

> 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
>
> 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
> 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: 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/c455d25d/attachment.htm>


More information about the erlang-questions mailing list