The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Bibek Pandey (7) [Avatar] Offline
#1
Hello again Sasa,

I'm trying to run my application on an iMac, my dev version was on Xubuntu

I did the standard steps to compile a release for this new target architecture but I am getting a strange error. (I'm using the instructions to include exrm as a compile time dependency to be able to use the mix release task)

$ mix deps.get
$ mix local.hex
$ MIX_ENV=prod mix compile --no-debug-info
$ MIX_ENV=prod mix release
$ rel/game/bin/game console

readlink: illegal option -- f
usage: readlink [-n] [file ...]
usage: dirname path
cat: //releases/start_erl.data: No such file or directory
cat: //releases/start_erl.data: No such file or directory
Using //releases//game.sh
rel/game/bin/game: line 11: //releases//game.sh: No such file or directory
rel/game/bin/game: line 11: exec: //releases//game.sh: cannot execute: No such file or directory

I'm not sure what's happening here? Could this be related to the versions of my dep packages no quite working on Mac as they did before?

Cheers ~ Bibek
sjuric (109) [Avatar] Offline
#2
It seems this is a known issue on OS X. Strangely I never encountered this myself (and I've been using OS X continuously). Anyway, it looks like the issue is fixed recently. I suggest you try with the most recent version of exrm, and open an issue on the project repo if it still doesn't work.
Bibek Pandey (7) [Avatar] Offline
#3
Awesome! Thanks so much -- Have a good weekend