Open mtiger2k opened 3 years ago
I think this is an issue with Go build system. I believe adding this line after line 18 in the go.mod
file should fix it.
github.com/Geo25rey/go-dag-jose-ipfs-plugin master => .
do you mean: replace github.com/Geo25rey/go-dag-jose v0.0.0 => ../go-dag-jose github.com/Geo25rey/go-dag-jose-ipfs-plugin master => .
but it reports: go: errors parsing go.mod: /Users/shaoqintian/dids/go-dag-jose-ipfs-plugin/go.mod:18: unknown directive: github.com/Geo25rey/go-dag-jose-ipfs-plugin go: errors parsing go.mod:
thx
Not sure why I missed this message years ago, but here is a build for MacOS 12 Intel (I assume GitHub isn't doing arm yet) and Ubuntu 22.04
https://github.com/Geo25rey/go-dag-jose-ipfs-plugin/actions/runs/7211484953
./install-ipfs-and-plugin.sh
Downloading IPFS go: found github.com/ipfs/go-ipfs/cmd/ipfs in github.com/ipfs/go-ipfs v0.9.0-rc2 go build github.com/lucas-clemente/quic-go/internal/qtls: build constraints exclude all Go files in /Users/shaoqintian/go/pkg/mod/github.com/lucas-clemente/quic-go@v0.21.0-rc.2/internal/qtls Building the IPFS plugin go build github.com/lucas-clemente/quic-go/internal/qtls: build constraints exclude all Go files in /Users/shaoqintian/go/pkg/mod/github.com/lucas-clemente/quic-go@v0.21.0-rc.2/internal/qtls Marking the IPFS plugin as executable chmod: build/plugin.so: No such file or directory Installing the IPFS plugin cp: build/plugin.so: No such file or directory
no plugin.so build. My env: OS: mac go version: go version go1.14.2 darwin/amd64
Can you include build plugin.so (for mac and linux) in source code?
thanks.