agl / pond

Pond
BSD 3-Clause "New" or "Revised" License
911 stars 109 forks source link

cannot install on Raspberry Pi #214

Open robotsandcake opened 8 years ago

robotsandcake commented 8 years ago

Hello, After successfully installing Go on the latest version of Rasbian, followed by all of the other dependencies and packages the instructions suggest I am running into the following error whenever I run: go get github.com/agl/pond/client I've also tried running go get -tags ubuntu github.com/agl/pond/client just to see if that would work as well.

The error is:

exit status 1
# golang.org/x/crypto/poly1305
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:26 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:29 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:34 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:61 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:74 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:111 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:123 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:124 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:139 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:140 syntax error, last name: R9
gopkg/src/golang.org/x/crypto/poly1305/poly1305_arm.s:149 syntax error, last name: R9
too many errors

I'm not a coder but I've managed to get Pond working on OS X successfully and would really like to get it running on one of my Raspberry pi's, does anybody have any idea what the problem might be?

Thanks in advance

david415 commented 8 years ago

i built and tested Pond on a Raspberry Pi2 with arm arch linux. built and worked fine. perhaps something changed?

robotsandcake commented 8 years ago

Did you follow any specific instructions, and if so would you mind sharing them with me please?

burdges commented 8 years ago

Also, when did you do that @david415 ? git log .../poly1305_arm.s says arm assembly was added 6 May 2015. If you built it before that, then maybe it just worked.

Another commit there indicates that changes to go broke it @escapologyBB so maybe try compiling with an older version of go.

In any case, this sounds like a problem with go crypto, not pond per se, so maybe raising the issue there, or emailing the two people who worked on this file, will get this addressed faster.

ETeissonniere commented 8 years ago

If you use raspbian, golang version is 1.3.3, see my blog to compile the latest version

david415 commented 8 years ago

raspbian doesn't sign packages.

ETeissonniere commented 8 years ago

@david415 doesn't mater