[erlang-questions] building erlang from source on raspbian

Mikael Pettersson mikpelinux@REDACTED
Fri Feb 16 11:50:21 CET 2018


Did you build in a clean directory?  There's no reference to
"benchmark.h" anywhere in current otp.git sources.
FWIW, I just did a native build on armv7l-unknown-linux-gnueabihf
(quad-core Cortex A9 running Fedora) using
the usual native build steps (./otp_build autoconf; ./configure; make)
-- no issue.

On Fri, Feb 16, 2018 at 8:26 AM, Karlo Kuna <kuna.prime@REDACTED> wrote:
> 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
>>
>>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list