holder66

holder66

I am attempting to install Elixir on an Nvidia Jetson Nano development board. This board runs ubuntu 18.04 LTS, on a 4-core ARMv8 rev 1 (v8l) processor. I’ve attempted to install using the distributions, then precompiled packages, and then compiling from source. Erlang/OTP 20 seems to install OK, following the instructions for the ubuntu distribution, but then continuing it installs elixir 1.3.3. iex works, but elixir --version terminates abnormally.
Any help appreciated!

Showing Posts 1 to 7

lpil

lpil

Creator of Gleam

Could you share any error message printed please? :slight_smile:

outlog

outlog

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

Elixir 1.3 is definitely not compatible with OTP 20. Weird that that’s the version that’s showing up. I’d consider using asdf as suggested by @outlog to a modern version of the language.

gentprog

gentprog

@lpil I’m just trying this now using the Raspberry Pi instructions from the elixir-lang.org site. I get the following when I try to get the elixir and iex versions:

$ elixir -v
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [kernel-poll:false]

{"init terminating in do_boot",{{badmatch,error},[{'Elixir.System',build,0,[{file,"lib/system.ex"},{line,172}]},{'Elixir.System',build_info,0,[{file,"lib/system.ex"},{line,164}]},{'Elixir.Kernel.CLI',parse_shared,2,[{file,"lib/kernel/cli.ex"},{line,153}]},{'Elixir.Kernel.CLI','shared_option?',3,[{file,"lib/kernel/cli.ex"},{line,113}]},{'Elixir.Kernel.CLI',main,1,[{file,"lib/kernel/cli.ex"},{line,14}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({{badmatch,error},[{Elixir.System,build,0,[{_},{_}]},{Elixir.System,build_info,0,[{_},{_}]},{Elixir.Kernel.CLI,parse_shared,2,[{_},{_}]},{Elixir.Kernel.CLI,shared_option?,

Crash dump is being written to: erl_crash.dump...done
$ iex -v
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [kernel-poll:false]

*** Shell process terminated! (^G to start new job) ***

$time $metadata[$level] $levelpad$message
 
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution
greghgradwell

greghgradwell

I was able to install Elixir using the Nerves installation instructions. I’m running Ubuntu 18.04.
https://github.com/nerves-project/nerves/blob/master/docs/Installation.md

holder66

holder66 OP

@greghgradwell what version of elixir and OTP did you install (and on the Nvidia Jetson Nano, right?)

greghgradwell

greghgradwell

@holder66 Yes, this is on the Nano, with L4T 32.1.0 (I haven’t updated to 32.2 yet). I just used the same commands as the ones in the document, so I’m assuming it’s Erlang 22.0.7, and Elixir 1.9.1.

It definitely takes a while to install Erlang on the Nano. When it was building the source code I got a couple warnings about some Docs not being available, and then it appears to be unresponsive, but just let it keep running. Had all 4 CPUs maxed out for like 30 minutes (or at least it felt that long).

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
ryanwinchester
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted” Version...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews