biokoda / actordb

ActorDB distributed SQL database
Mozilla Public License 2.0
1.9k stars 71 forks source link

No match of right hand side value #17

Closed atomi closed 8 years ago

atomi commented 8 years ago

On building I get the error

./priv/mkconsole.escript
escript: exception error: no match of right hand side value error

I made a Dockerfile the reproduces the error. https://github.com/atomi/dockerfiles/blob/master/alpine-x86_64/actordb/Dockerfile

SergejJurecko commented 8 years ago

I committed a fix that will return the reason for error. I'm quite sure alpine packs a very old versions of Erlang. Instead of default erlang from apt, I would recommend installing these pre-built erlang packages: https://www.erlang-solutions.com/resources/download.html

SergejJurecko commented 8 years ago

Quite likely it is a missing wx library issue, which is only used in windows so that actordb_console runs with a GUI. I moved that code to another module that will only be used on Windows. Try now please.

djustinek commented 8 years ago

Additional note:

If you want to build a release (make rel) add erlang-os-mon package.

djustinek commented 8 years ago

A prebuilt package is available here for the latest version:

https://s3-eu-west-1.amazonaws.com/biokoda/actordb-alpine-linux-0.10.14.tar.gz

atomi commented 8 years ago

Yeah. It's building now. Thanks.