Closed marcheschi closed 2 years ago
Hi I'm trying to compile haproxy dataplaneapi in illumos but I have this error:
[root@sunbuild ~/dataplaneapi]# export GOOS=illumos [root@sunbuild ~/dataplaneapi]# make build mkdir -p /root/dataplaneapi/build CGO_ENABLED=0 go build -trimpath -ldflags "-X \"main.GitRepo=https://github.com/haproxytech/dataplaneapi.git\" -X main.GitTag=v2.5.0 -X main.GitCommit=3ce6624 -X main.GitDirty=.dev.dirty -X main.BuildTime=2022-03-24T10:27:37Z" -o /root/dataplaneapi/build/dataplaneapi /root/dataplaneapi/cmd/dataplaneapi/ # github.com/nathanaelle/syslog5424/v2 ../go/pkg/mod/github.com/nathanaelle/syslog5424/v2@v2.0.5/connector-local_other.go:10:14: undefined: ErrorNoConnecion make: *** [Makefile:24: build] Error 2
I think this is related to this code that does not recognize GOOS=illumos.
Do you have any advice on how to solve this problem ? Thank you Paolo
Hi,
there was a typo and I forgot illumos.
illumos
so I've pushed a patch.
Hi Nathanaelle Thank you It works now !!
Hi I'm trying to compile haproxy dataplaneapi in illumos but I have this error:
I think this is related to this code that does not recognize GOOS=illumos.
Do you have any advice on how to solve this problem ? Thank you Paolo