Comments (9)
You‘re apparently running 0.6.0 which is really old? Could you run current git version and check again?
from gosdm630.
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.
from gosdm630.
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.
Du brauchst mitdestens go 1.11- leider von Hand zu isntallieren :/
from gosdm630.
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.
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.
Wie gesagt:
Du brauchst mitdestens go 1.11- leider von Hand zu isntallieren :/
Einfach auf der go Seite schauen, ist nicht schwierig ;)
from gosdm630.
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)
- Unpublish homie meters/nodes/properties when closing HOT 1
- Problem building from source HOT 7
- Connect few meters to one dongle HOT 6
- SMA Current not properly decoded
- Failed to connect: no such file or directory HOT 5
- ModBus Adaptor error rate HOT 2
- precompiled 0.7.0 and 0.6.0 are the same (=0.6.09 HOT 2
- GPIO to switch between RX/TX HOT 2
- Divide by zero panic
- Building on RPi fails HOT 2
- mqtt Power(Watt) total and 1messageblock every 30sec? HOT 4
- [RFC] performance improvements HOT 2
- Need testers for Saia Burgess ALE3 implementation HOT 1
- Add new precompiled release HOT 22
- detect broken on master HOT 1
- Release 0.6.0 mqtt disconnected HOT 9
- Add more DVG4013 features HOT 4
- Implement MQTT discovery HOT 1
- Binary =/= 0.7.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gosdm630.