Hello, how to possible create http request with joker?
Ok, I see here is joker.http.
sorry I see now, here is a docs map
Possible compile to rpi3? I got this
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
<http://github.com/candid82/joker/core.extractInt(...)|github.com/candid82/joker/core.extractInt(...)>
/Users/sb/Downloads/joker-master/core/pack.go:199
<http://github.com/candid82/joker/core.UnpackHeader(0x0|github.com/candid82/joker/core.UnpackHeader(0x0>, 0x0, 0x0, 0xc7a100, 0xc9a360, 0xccc0b0, 0x6f, 0x415070)
/Users/sb/Downloads/joker-master/core/pack.go:102 +0x634
<http://github.com/candid82/joker/core.processData(0x0|github.com/candid82/joker/core.processData(0x0>, 0x0, 0x0)
/Users/sb/Downloads/joker-master/core/procs.go:1711 +0xc0
<http://github.com/candid82/joker/core.ProcessCoreData(...)|github.com/candid82/joker/core.ProcessCoreData(...)>
/Users/sb/Downloads/joker-master/core/procs.go:1721
main.main()
/Users/sb/Downloads/joker-master/main.go:653 +0x39c
Ok I try find somebody who solved! Thx
i used this command env GOOS=linux GOARCH=arm GOARM=5 go build -o clj
Try rm -f core/a_*.go
and rebuild, in case you had stale data files.
ok, thanks!
I wasn’t lucky. I tried with native build too.. on rpi3 with go 1.7, but I got
# <http://github.com/pkg/profile|github.com/pkg/profile>
../../pkg/profile/profile.go:198: undefined: runtime.SetMutexProfileFraction
../../pkg/profile/profile.go:205: undefined: runtime.SetMutexProfileFraction
# <http://github.com/candid82/joker/core|github.com/candid82/joker/core>
core/numbers.go:57: r.Num().IsInt64 undefined (type *big.Int has no field or method IsInt64)
Hmm, that looks like an issue with the profiling code that is included with Joker but unnecessary and, I think, rarely used. Maybe you can edit main.go and remove it, at least temporarily, until this is addressed?
Ok I check it!
Also, I think README.md has cross-compilation info, if you haven't already found that.
Yes, I read. I tried with many options.
GOARM 5..6..7 etc
Please do Issue any problems or ideas for improving the docs then!
Oh, go 1.7 is probably way too old anyway. Try upgrading to 1.13, or at least 1.12, before proceeding.
Ok! Yes, that is true.. I try to do on arm
thanks!!
Yes, with 1.13 works.. I got back like the first cross compiled version error.
:face_with_rolling_eyes:
I try to clean
Ok.
I will check tomorrow on arm64. Did you try with arm/ raspberry pi?
Maybe Im not so expert in Golang.
I got same error on scaleway 64 server..
with arm64 config
Using the latest master
(though the latest release should probably work fine), I didn't run into any troubles building Juoker per instructions on my Mac OS X laptop just now:
$ ./run.sh -e '(loaded-libs)'
#{joker.base64 joker.core joker.html joker.http joker.json <http://joker.io|joker.io> joker.math joker.os joker.string joker.time joker.url joker.yaml joker.strconv joker.crypto joker.hex joker.filepath joker.csv}
$ GOOS=linux GOARCH=arm GOARM=6 go build
$ file joker
joker: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=IEx-v-Gz7Md3-jn608rx/RV8Pe-XEJ76dYrKCZ5YY/sKdgj6f44rxQ23mGYf5_/pBpxeWaDXxOkec_ZY-hC, not stripped
$
I dont enough Golang know-how.. but I learn the lang, really cool project. If I will find out what is the problem, then I drop to you
That is my first post
Oh. Well, I don't have an ARM machine to run that executable on, so can't test that....
Np. I hope .. me or somebody found out. Really great job! That work on my Mac, really cool job! 👍👍👍 therefore i want to use on my rpi too
Thing is, IIRC, some others have cross-build Joker to run on ARM machines before (maybe even a Raspberry PI?). Maybe search Issues (on Joker's GitHub) for past mentions and reach out to people who've talked about ARM support, to see if they've got success and maybe recipes?