Fork me on GitHub
#joker
<
2019-09-23
>
maio06:09:51

I'm trying to compile joker, but getting this error:

src/github.com/candid82/joker $ ./run.sh --version && go install
/Users/maio/go/src/github.com/candid82/joker/std
Unable to generate fresh library files; exiting.

maio06:09:20

joker ./generate-std.joke 
/Users/maio/go/src/github.com/candid82/joker/std/json.joke:6:7: Parse warning: WARNING: read-string already refers to: #'joker.core/read-string in namespace json, being replaced by: #'json/read-string ...

jcburley15:09:58

Not sure what’s going on in the first snippet, but the warning(s) in the latter are expected.

jcburley15:09:15

Could you post your architecture/OS info?

maio17:09:41

macOS 10.14.6 (18G95) - go version go1.13 darwin/amd64

jcburley17:09:37

Hmm, I haven't tried go 1.13 yet. Might try it soon, as I have my Mac with me here in CO; or when I'm back Friday. I'm guessing it's the new version of Go, as 1.12 works fine for me.

jcburley04:09:50

Just installed Go 1.13 on my Mac; Joker seems to build just fine for me using it. This is on uname -a yielding:

Darwin pony 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64

jcburley04:09:12

Maybe try ../joker generate-std.joke instead, to see the output? I.e. use the just-built Joker instead of whatever version is installed?

jcburley04:09:42

I wonder if this line is the culprit, causing run.sh to believe the generate-std.joke script failed, because it was output while running that script?

/Users/maio/go/src/github.com/candid82/joker/std
Can you try to track down what is causing that line to be output?