-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Building Netdata v1.45.3 from Source and Packaging into Debian Package #17421
Comments
See https://github.com/netdata/netdata/releases/tag/v1.45.0#v1450-new-build-infra https://github.com/netdata/netdata/releases/tag/v1.45.0#v1450-go-plugin-moved is probably also of particular interest to you (you won’t need any of the special handling for the Go plugin anymore, just a Go toolchain supporting Go 1.21 or newer). It is highly recommended that anybody trying to build things themselves read the release notes, even aside from this specific case. |
I tried building myself for archlinux, initially thought it would be easy to change this outdated |
@Ferroin Sir, Followed steps :
|
FYI here's how NixOS builds it NixOS/nixpkgs#298641 |
Bug description
We are looking to upgrade Netdata with a build from source code from version 1.31.0 to version 1.45.3 and then package it into a Debian package (.deb).
We are following the below netdata build process documentation:
https://learn.netdata.cloud/docs/developer-and-contributor-corner/build-the-netdata-agent-yourself/compile-from-source-code
We have successfully accomplished this task for Netdata v1.31.0, but I'm encountering some challenges when attempting to adapt it for the newer version. Specifically, I'm unsure about the necessary adjustments required for the new version, such as changes in dependencies, build processes, or configuration options.
And the following files and directories are not available in the latest version:
Please check here for the directory list available in the v1.45.3 source code.
And here is the directory list available in the v1.31.0 source code.
Here, most of the files are available that we used to perform build and make purposes. I tried to find these directories and files.
inside the latest v1.31.0 source code but was unable to find out.
Issue :
Expected behavior
autoreconf -fi must be executed :
time make must be executed :
Steps to reproduce
1.Installed required dependencies
2. Git Clone https://github.com/netdata/netdata
3. Checkout tag v1.45.3
Steps :
Installation method
from source
System info
Netdata build info
Additional info
We have prepared a one-shell script to build netdata from source and package it into the Debian package.
Please note that it works perfectly for v1.31.0 but does not work for the latest source code, v1.45.3.
I have added complete successful installation logs for the following script.
Building_Netdata _from v1.31.0 Installation_logs.txt
If anyone has experience with building Netdata from source or packaging software into Debian packages, I would greatly appreciate any insights, tips, or guidance you can provide.
The text was updated successfully, but these errors were encountered: