grapherl icon indicating copy to clipboard operation
grapherl copied to clipboard

compile error pc plugin

Open truyet opened this issue 9 years ago • 8 comments

I compile sources on Ubuntu 16.04 and throw errors:

./rebar3 compile ===> Verifying dependencies... ===> Fetching cowboy ({git,"https://github.com/ninenines/cowboy.git", {ref, "5ff3fdd91e20a137b6378c7271826c1d94d4e3d2"}}) ===> Fetching eleveldb ({git,"https://github.com/basho/eleveldb.git", {ref, "8af5f299a787a4e4ae888ece097f5247576add0c"}}) ===> Plugin pc not available. It will not be used.

............

===> Unable to run post hooks for 'compile', command 'compile' in namespace 'pc' not found. Makefile:8: recipe for target 'compile' failed make: *** [compile] Error 1

truyet avatar Aug 10 '16 09:08 truyet

Could you switch to dev branch, delete the _build directory and try make again.

kansi avatar Aug 10 '16 09:08 kansi

Another error: ===> Compiling c_src/eleveldb.cc ===> Compiling c_src/refobjects.cc ===> Compiling c_src/workitems.cc ===> Linking priv/eleveldb.so ===> Compiling ranch ===> Compiling cowboy ===> Compiling graph_web ===> Compiling graph_db ===> Compiling grapherl ./rebar3 release ===> Verifying dependencies... ===> Compiling graph_web ===> Compiling graph_db ===> Compiling grapherl ===> Starting relx build process ... ===> Resolving OTP Applications from directories: /home/truyet/software/grapherl/grapherl/_build/default/lib /home/truyet/software/grapherl/grapherl/apps /usr/lib/erlang/lib ===> Missing beam file elf_format <<"/usr/lib/erlang/lib/hipe-3.15/ebin/elf_format.beam">> Failed to solve release: Dependency observer is specified as a dependency but is not reachable by the system.

Makefile:11: recipe for target 'release' failed make: *** [release] Error 127

truyet avatar Aug 10 '16 10:08 truyet

Seems like you don't observer. So delete the following line https://github.com/processone/grapherl/blob/master/grapherl/apps/grapherl/src/grapherl.app.src#L10 and recompile.

kansi avatar Aug 10 '16 11:08 kansi

I tried to do that. But error is the same above.

truyet avatar Aug 10 '16 11:08 truyet

You mean to say it still says Dependency observer is specified as a dependency but is not reachable by the system. ?

kansi avatar Aug 10 '16 11:08 kansi

Oops sorry, I have a different error: Failed to solve release: Dependency wx is specified as a dependency but is not reachable by the system.

May I delete that ?

truyet avatar Aug 10 '16 11:08 truyet

yup !

kansi avatar Aug 10 '16 11:08 kansi

Thanks, that's work.

truyet avatar Aug 10 '16 11:08 truyet