- 论坛徽章:
- 27
|
If you install R16*, I know this is the case for source with hipe
disabled and the Erlang Solutions deb package which doesn't include
hipe, it installs a hipe app: erlang/lib/hipe-3.10.2.1/
This "app" contains some beam files and hipe.app. BUT hipe.app lists
modules that don't exist, like hipe.beam!
If hipe is enabled when you compile/install the hipe app is not broken
like this. Same with if you install the erlang-hipe package from Erlang
Solutions along with the erlang package.
Why is this the case? This breaks relx because it expects all apps it
searches (even if it is not including that app in the release) to be a
proper OTP app. I think it may be an issue with reltool as well, but
"fixed" by "{app, hipe, [{incl_cond, exclude}]}," which is a horrific
solution.
--
Tristan Sloughter
在打升级包的时候在注意这个。- ==> rel (generate-upgrade)
- ERROR: Systools [systools:make_tar/2] aborted with: [{error_add_appl,
- {hipe,
- {tar_error,
- {add,
- "c:/Users/Administrator
- /Desktop/live_data/rel/live_data_v2/lib/hipe-3.11.3/ebin/elf_format.beam",
- {"c:/Users/Administrato
- r/Desktop/live_data/rel/live_data_v2/lib/hipe-3.11.3/ebin/elf_format.beam",
- enoent}}}}}]
- ERROR: 'generate-upgrade' failed while processing C:/Users/Administrator/Desktop
- /live_data/rel: rebar_abort
复制代码 |
|