Git Product home page Git Product logo

Comments (3)

carlosedp avatar carlosedp commented on September 14, 2024

Fixed in 2d042dc.

Now the Makefile installs the required utilities (jsonnet, jsonner-bundler, gojsontoyaml) if not present.

You need Go installed.

from cluster-monitoring.

GeiserX avatar GeiserX commented on September 14, 2024

Same error, latest commit pulled, Go installed too.
Tested on a Raspbian 10 Lite.
make vendor fails, so jsonnet fails to build. So when I execute "make deploy" it errors with ./scripts/build.sh: line 23: jsonnet: command not found

Sorry: I had to do this earlier:

export PATH=$PATH:$(go env GOPATH)/bin
export GOPATH=$(go env GOPATH)

from cluster-monitoring.

fufiderheld avatar fufiderheld commented on September 14, 2024

I am having a problem with the make vendor command. I am getting the message
root@k3sserverpi:/home/pi/cluster-monitoring# make vendor
Installing jsonnet-bundler
package github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest: can only use path@version syntax with 'go get' make: *** [Makefile:52: /bin/go/bin/jb] Error 1
I installed go and try to install it on PI 4 bullseye
I have K3S installed and in the vars.jsonnet k3s is enabled, also maste rIP and SuffixDomain is entered.
What am I missing?
With the command go env the GOPATH is set correctly i guess
Here is the output:
root@k3sserverpi:/# go env
GO111MODULE="on" GOARCH="arm64" GOBIN="" GOCACHE="/root/.cache/go-build" GOENV="/root/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/bin/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/bin/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go-1.15" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go-1.15/pkg/tool/linux_arm64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/dev/null" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build434279315=/tmp/go-build -gno-record-gcc-switches"

Any help appreciated. Wolfgang

from cluster-monitoring.

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.