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.

1 Answer 1

2

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

3
  • That worked. That piece of essential information was missing from Learn You Some Erlang for Great Good - Modules, thus the confusion.
    – ElToro1966
    May 18, 2016 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, 2016 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. May 19, 2016 at 15:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.