Skip to content

Oneliner fails in Ubuntu 12.04 #282

@mmacedo

Description

@mmacedo

I installed the erlang package, then tried to install agner.

Oneliner output:

➜  ~  curl https://raw.github.com/agner/agner/master/scripts/oneliner | sh     
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   295  100   295    0     0    262      0  0:00:01  0:00:01 --:--:--   395
Cloning into '/tmp/agner.x5Llzj'...
remote: Counting objects: 1813, done.
remote: Compressing objects: 100% (630/630), done.
remote: Total 1813 (delta 1271), reused 1710 (delta 1175)
Receiving objects: 100% (1813/1813), 8.16 MiB | 1.13 MiB/s, done.
Resolving deltas: 100% (1271/1271), done.

=ERROR REPORT==== 4-Sep-2012::15:56:52 ===
Loading of /tmp/agner.x5Llzj/rebar/rebar/ebin/rebar.beam failed: badfile
escript: exception error: undefined function rebar:main/1
  in function  escript:run/2
  in call from escript:start/1
  in call from init:start_it/1
  in call from init:start_em/1

=ERROR REPORT==== 4-Sep-2012::15:56:52 ===
beam/beam_load.c(1365): Error loading module rebar:
  use of opcode 153; this emulator supports only up to 152

make: *** [deps] Error 127

Other information:

➜  ~  erl
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:0] [kernel-poll:false]

Eshell V5.8.5  (abort with ^G)
1> 

I may be missing something, I know nothing about Erlang yet, but either it is a bug or the documentation is missing a step or requirement (or I didn't see it).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions