1

When I try to use Hipe to compile a module from the Erlang shell, I get:

3> hipe:c(erlangmodules2,[native]).
** exception error: undefined function hipe:c/2
4> hipe:help().
** exception error: undefined function hipe:help/0

Isn't Hipe part of standard Erlang? I'm running R18 from Eshell V7.2 on Ubuntu 14.04 LTS.

ElToro1966
  • 831
  • 1
  • 8
  • 20

1 Answers1

2

You should install erlang-base-hipe package for that.

mynameisdaniil
  • 1,106
  • 8
  • 10
  • That worked. That piece of essential information was missing from [Learn You Some Erlang for Great Good - Modules](http://learnyousomeerlang.com/modules), thus the confusion. – ElToro1966 May 18 '16 at 18:04
  • Hipe is part of the standard release so there is generally no need to mention it. It is Ubuntu which doesn't give you everything which means you have to know these things. Blame them. Everything referenced in LYSE is part of the standard release. – rvirding May 19 '16 at 15:19
  • There is no need to blame anyone. Its just the way it works. There are good reasons for them to make it into separate package. – mynameisdaniil May 19 '16 at 15:22