[erlang-questions] building erlang from source on raspbian

Karlo Kuna kuna.prime@REDACTED
Fri Feb 16 12:09:06 CET 2018


i'm currently trying kerl and i will report on ti later

however, it might be that my dir was not clean so i'll test that as well


On Fri, Feb 16, 2018 at 12:06 PM, Lothar Kaiser <
lkdeatour-erlangmailinglist@REDACTED> wrote:

> Hi,
>
> I'm using `kerl` to build Erlang right on my Raspberry Pi with great
> success. Works out of the box without any problem.
>
> cheers,
> Lothar
>
>
>
>
>
> Am Freitag, 16. Februar 2018, 11:50:40 MEZ hat Mikael Pettersson <
> mikpelinux@REDACTED> Folgendes geschrieben:
>
>
> 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
> >
> _______________________________________________
> 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/3885480e/attachment.htm>


More information about the erlang-questions mailing list