building erlang from source on raspbian

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

building erlang from source on raspbian

Karlo Kuna
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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: building erlang from source on raspbian

Pierre Fenoll-2
Could you provide the whole actual list of commands you ran?
Could you try building Erlang with https://github.com/kerl/kerl?

OT: maybe it’s time for Kerl to be part of the erlang github organisation?

On Thu 15 Feb 2018 at 18:24, Karlo Kuna <[hidden email]> 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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
--

Cheers,
-- 
Pierre Fenoll


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: building erlang from source on raspbian

Dmitry Kolesnikov-2
In reply to this post by Karlo Kuna
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 

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 <[hidden email]> 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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: building erlang from source on raspbian

Karlo Kuna
command that i have run are form github page

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 <[hidden email]> 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 

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 <[hidden email]> 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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions



_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: building erlang from source on raspbian

Dmitry Kolesnikov-2
I would suggest you to make cross-platform build instead of building it on the target.

- Dmitry


On 16 Feb 2018, at 9.26, Karlo Kuna <[hidden email]> wrote:

command that i have run are form github page

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 <[hidden email]> 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 

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 <[hidden email]> 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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions




_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: building erlang from source on raspbian

Mikael Pettersson-5
In reply to this post by Karlo Kuna
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 <[hidden email]> 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 <[hidden email]>
> 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 <[hidden email]> 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
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
>
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: building erlang from source on raspbian

Lothar Kaiser
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 <[hidden email]> 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 <[hidden email]> wrote:
> command that i have run are form github page
>
> 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 <[hidden email]>
> 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
>>
>> 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 <[hidden email]> 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 mailing list
>
_______________________________________________
erlang-questions mailing list

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: building erlang from source on raspbian

Karlo Kuna
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
> command that i have run are form github page
>
> 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 <[hidden email]>
> 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
>>
>> 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 <[hidden email]> 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 mailing list
>
_______________________________________________
erlang-questions mailing list


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions