Giter VIP home page Giter VIP logo

Comments (9)

andig avatar andig commented on June 12, 2024

You‘re apparently running 0.6.0 which is really old? Could you run current git version and check again?

from gosdm630.

RubberDucky007 avatar RubberDucky007 commented on June 12, 2024

I believed i got the latest 0.7.0 here, but also believe it shows itself as 0.6.0. Could it be the error is with packaging for arm-platform? I will test again with an fresh downloaded 0.7.0.

from gosdm630.

andig avatar andig commented on June 12, 2024

from gosdm630.

RubberDucky007 avatar RubberDucky007 commented on June 12, 2024

Hallo. Ich wechsele mal auf Deutsch weil es einfacher ist. Ja, ich hab den aktuellen master branch geklont aber auf dem raspi 1b hier fehlen wohl tools zum kompilieren. zip konnte ich noch nachinstallieren doch jetzt bekomme ich beim aufruf von ./build.sh

`Building for ...
... Linux/32bit
can't load package: package /home/pi/gosdm630/cmd/sdm: cannot find package "/home/pi/gosdm630/cmd/sdm" in any of:
/usr/lib/go-1.7/src/_/home/pi/gosdm630/cmd/sdm (from $GOROOT)
($GOPATH not set)
zip warning: name not matched: /home/pi/gosdm630/bin/*

zip error: Nothing to do! (/home/pi/gosdm630/release/sdm-linux-386.zip)
... Linux/64bit
can't load package: package /home/pi/gosdm630/cmd/sdm: cannot find package "/home/pi/gosdm630/cmd/sdm" in any of:
/usr/lib/go-1.7/src/_/home/pi/gosdm630/cmd/sdm (from $GOROOT)
($GOPATH not set)
zip warning: name not matched: /home/pi/gosdm630/bin/*

zip error: Nothing to do! (/home/pi/gosdm630/release/sdm-linux-amd64.zip)
... Raspberry Pi/Linux
can't load package: package /home/pi/gosdm630/cmd/sdm: cannot find package "/home/pi/gosdm630/cmd/sdm" in any of:
/usr/lib/go-1.7/src/_/home/pi/gosdm630/cmd/sdm (from $GOROOT)
($GOPATH not set)
zip warning: name not matched: /home/pi/gosdm630/bin/*

zip error: Nothing to do! (/home/pi/gosdm630/release/sdm-linux-arm.zip)
... MacOS/64bit
can't load package: package /home/pi/gosdm630/cmd/sdm: cannot find package "/home/pi/gosdm630/cmd/sdm" in any of:
/usr/lib/go-1.7/src/_/home/pi/gosdm630/cmd/sdm (from $GOROOT)
($GOPATH not set)
zip warning: name not matched: /home/pi/gosdm630/bin/*

zip error: Nothing to do! (/home/pi/gosdm630/release/sdm-darwin-amd64.zip)
... Windows/32bit
can't load package: package /home/pi/gosdm630/cmd/sdm: cannot find package "/home/pi/gosdm630/cmd/sdm" in any of:
/usr/lib/go-1.7/src/_/home/pi/gosdm630/cmd/sdm (from $GOROOT)
($GOPATH not set)
zip warning: name not matched: /home/pi/gosdm630/bin/*

zip error: Nothing to do! (/home/pi/gosdm630/release/sdm-windows-386.zip)
... Windows/64bit
can't load package: package /home/pi/gosdm630/cmd/sdm: cannot find package "/home/pi/gosdm630/cmd/sdm" in any of:
/usr/lib/go-1.7/src/_/home/pi/gosdm630/cmd/sdm (from $GOROOT)
($GOPATH not set)
zip warning: name not matched: /home/pi/gosdm630/bin/*

zip error: Nothing to do! (/home/pi/gosdm630/release/sdm-windows-amd64.zip)
`

Wobei ich leider noch nicht mal eine Ahnung habe was ich da starte. Dem Output nach will das alle ziele bauen, obwohl ich nur linux-arm6 brauche (Raspi 1b).

Ein fertiges binary wäre wirklich einfacher für mich. Leider weiß ich nicht wie ich hier eine PM sende. Bin erst seit Gestern hier drin und fand keine PM-Funktion.

from gosdm630.

andig avatar andig commented on June 12, 2024

Du brauchst mitdestens go 1.11- leider von Hand zu isntallieren :/

from gosdm630.

RubberDucky007 avatar RubberDucky007 commented on June 12, 2024

Ist installiert.

pi@rpi1b:~ $ apt show golang Package: golang Version: 2:1.7~5 Priority: optional Section: devel Source: golang-defaults Maintainer: Go Compiler Team <[email protected]> Installed-Size: 10,2 kB Depends: golang-1.7, golang-doc (>= 2:1.7~5), golang-go (>= 2:1.7~5), golang-src (>= 2:1.7~5) Homepage: https://golang.org Download-Size: 3.538 B APT-Manual-Installed: yes
keine broken dependencies, golang[-go|src] sind auch installiert.
Ist der aufruf von ./build.sh denn richtig oder wie starte ich das kompilieren für arm im verzeichnis?

from gosdm630.

RubberDucky007 avatar RubberDucky007 commented on June 12, 2024

Sorry, hab erst jetzt README.md gefunden wo es heißt ich brauche auch noch go-dep und embed. Doch leider ist das hier ein volkszähler-image das man nicht einfach so updaten soll (heißt es) und go-dep braucht golang 1.9 und ich hab hier 1.7. Im raspian repo sind beide nicht und kompilieren scheitert. Damit bin ich am ende meiner Weisheit und kann dies vermutlich zu den akten legen.

from gosdm630.

andig avatar andig commented on June 12, 2024

Wie gesagt:

Du brauchst mitdestens go 1.11- leider von Hand zu isntallieren :/

Einfach auf der go Seite schauen, ist nicht schwierig ;)

from gosdm630.

frankrichter avatar frankrichter commented on June 12, 2024

Notizen von meiner Go-Installation vor ein paar Wochen:

cd ~
sudo apt remove golang
sudo apt autoremove
wget https://dl.google.com/go/go1.11.4.linux-armv6l.tar.gz
sudo tar -C /usr/local -xvf go1.11.4.linux-armv6l.tar.gz
mkdir go
echo 'export GOPATH=$HOME/go' >> ~/.profile
echo 'PATH="$PATH:/usr/local/go/bin:$GOPATH/bin"' >> ~/.profile
source .profile

from gosdm630.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.