t3rm1n4l / megacmd

A command-line client for mega.co.nz storage service
456 stars 74 forks source link

Error launching megacmd #32

Closed stranno closed 10 years ago

stranno commented 10 years ago

I'm trying to run the program over Raspberry Pi (in Windows it works perfectly).

I have installed golang and compiled megacmd without problems (from your sources on zip and using git command) but everytime i launch it i get this error.

root@raspberrypi:/# megacmd SIGILL: illegal instruction PC=0x3b9f4

math.init·1() /usr/lib/go/src/pkg/math/pow10.go:34 +0x28 math.init() /usr/lib/go/src/pkg/math/unsafe.go:21 +0x70 strconv.init() /usr/lib/go/src/pkg/strconv/quote.go:441 +0x70 os/user.init() /usr/lib/go/src/pkg/os/user/user.go:41 +0x70 main.init() /megacmd/main.go:206 +0x7c

goroutine 2 [runnable]: created by runtime.main /golang-1.0.2/src/pkg/runtime/proc.c:221

trap 0x6 error 0x0 oldmask 0x0 r0 0x7358a8 r1 0x0 r2 0x0 r3 0x0 r4 0x823f0 r5 0x0 r6 0x0 r7 0x0 r8 0x0 r9 0x3275d4 r10 0x1083f000 fp 0x735494 ip 0xcafebabe sp 0xb6ee4f84 lr 0x3bf88 pc 0x3b9f4 cpsr 0x20000010 fault 0x0

Maybe goland is not updated but i have ran the update command and no error was given when megacmd was compiled ...

Any advice?

Thanks!

stranno commented 10 years ago

Finally fixed it installing golang through the jessie repo instead of wheezy. It seems the stable repo of golang have some problems.

Maybe the ARM version but i dont think so coz its on 5, needed for Raspberry PI.

Dont know, anyway, working now.

Thanks t3rm1n4l, great app.