Answer the question
In order to leave comments, you need to log in
How to compile grafana (go language) with all its packages for linux?
Hello
There is a Grafana program - an open program, the source code is in github. Developed in the go language .
Packages for its operation are downloaded separately.
Now, you need to recompile the sources with packages (OS Astra Linux). When trying to compile, it turned out:
"there are dependencies, dependencies need to be worked out in terms of porting, for example, the golang.org/x/sys/unix package".
The instruction from the github does not help:((
Dear comrades, tell me how to compile the Grafana program for Linux?
Answer the question
In order to leave comments, you need to log in
It is already built: dl.astralinux.ru/astra/stable/orel/repository/pool...
Install go1.15. Clone project from github. Go to the project folder and run go run build-srv . But something tells me that this won't solve your problem. I don’t know what Astra is, but if docker can be installed in it, then I would use grafana in docker. But of course it's up to you to decide how to be
It turns out an interesting paradox.
If grafana is not in the Astra repositories, then it is not certified. If it is not certified, then its installation puts a stake on everything for which, in fact, Astra is needed (by someone) against the background of other, normal Linux. On the other hand, if you need software that has not been certified, you do not need Astra, but any other normal Linux, where this and much more is out of the box.
So decide - checkers or go :)
Do you need to compile from source, not install from dpkg?
If so, please show me what instructions did you do?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question