-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build a binary for linux #16
Comments
Same here, I was able to pass a value to the script however this then asks for fpm. Very new to all things go and I am finding it very painful to deal with. |
Not a problem. I have been interested in dumping to InfluxDB and this looks like one of the easier methods. I stumbled trying to build a binary for Linux. |
Gotcha. The RPM that was build could be installed as is if your distro can support rpms. The build script should also build a dep file for debian based distros. As for building the executable itself, do you know how to build in golang? You can checkout the build.sh file. Specifically this line will build from source for linux on amd64. the -o specifies the location the binary will be created and the name. So feel free to change that as needed. env GOOS=linux GOARCH=amd64 go build -o ./install/usr/bin/slurp-rtl_433 |
Please forgive my ignorance. I am unable to figure out how to build a binary for Linux. The build.sh file creates an rpm file but no executable. The only binary I found was for Windows. (slurp-rtl_433.exe)
The text was updated successfully, but these errors were encountered: