You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.
Installation from source: go get -u github.com/deroproject/derosuite/... does not compile.
Here is Dockerfile :
FROM archlinux:latest
RUN echo 2022-01-08 # you can update this line to enforce refresh instead of using --no-cache
RUN pacman -Syyu --noconfirm && \
pacman -S --noconfirm \
git base-devel \
screen tmux \
go go-tools \
aria2 htop
RUN useradd -m -G tty,users,wheel -s /bin/bash --user-group -u 1532 dero
USER dero
RUN go get -u github.com/deroproject/derosuite/...
Building with: docker build -m 8096m . -t arch_dero fails with following output:
(...)
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/iancoleman/orderedmap v0.0.0-20190318233801-ac98e3ecb4b0
go: downloading github.com/iancoleman/orderedmap v0.2.0
go: downloading github.com/golang/glog v1.0.0
go get: installing executables with 'go get' in module mode is deprecated.
Use 'go install pkg@version' instead.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
# github.com/deroproject/derosuite/cmd/explorer
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/cmd/explorer/explorer.go:104:14: undefined: jsonrpc.NewRPCClient
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/cmd/explorer/explorer.go:119:28: rpcClient.Call undefined (type *jsonrpc.RPCClient is pointer to interface, not interface)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/cmd/explorer/explorer.go:226:29: rpcClient.CallNamed undefined (type *jsonrpc.RPCClient is pointer to interface, not interface)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/cmd/explorer/explorer.go:239:29: rpcClient.CallNamed undefined (type *jsonrpc.RPCClient is pointer to interface, not interface)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/cmd/explorer/explorer.go:599:28: rpcClient.Call undefined (type *jsonrpc.RPCClient is pointer to interface, not interface)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/cmd/explorer/explorer.go:679:28: rpcClient.Call undefined (type *jsonrpc.RPCClient is pointer to interface, not interface)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/cmd/explorer/explorer.go:750:28: rpcClient.Call undefined (type *jsonrpc.RPCClient is pointer to interface, not interface)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/cmd/explorer/explorer.go:846:28: rpcClient.Call undefined (type *jsonrpc.RPCClient is pointer to interface, not interface)
# github.com/deroproject/derosuite/walletapi
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/walletapi/daemon_communication.go:110:14: undefined: "github.com/ybbus/jsonrpc".NewRPCClient
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/walletapi/daemon_communication.go:113:28: rpcClient.Call undefined (type *"github.com/ybbus/jsonrpc".RPCClient is pointer to interface, not interface)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/walletapi/daemon_communication.go:223:28: rpcClient.CallNamed undefined (type *"github.com/ybbus/jsonrpc".RPCClient is pointer to interface, not interface)
# github.com/deroproject/derosuite/storage
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/storage/badgerdb.go:62:6: opts.Dir undefined (type func(string) badger.Options has no field or method Dir)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/storage/badgerdb.go:63:6: opts.ValueDir undefined (type func(string) badger.Options has no field or method ValueDir)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/storage/badgerdb.go:67:7: opts.TableLoadingMode undefined (type func(string) badger.Options has no field or method TableLoadingMode)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/storage/badgerdb.go:68:7: opts.ValueLogLoadingMode undefined (type func(string) badger.Options has no field or method ValueLogLoadingMode)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/storage/badgerdb.go:70:7: opts.TableLoadingMode undefined (type func(string) badger.Options has no field or method TableLoadingMode)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/storage/badgerdb.go:71:7: opts.ValueLogLoadingMode undefined (type func(string) badger.Options has no field or method ValueLogLoadingMode)
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/storage/badgerdb.go:75:24: cannot use opts (type func(string) badger.Options) as type badger.Options in argument to badger.Open
home/dero/go/pkg/mod/github.com/deroproject/derosuite@v2.1.5+incompatible/storage/badgerdb.go:120:20: too many arguments in call to b.tx.Commit
have (nil)
want ()
(...)
The text was updated successfully, but these errors were encountered:
gwpl
changed the title
Installation from source: go get -u github.com/deroproject/derosuite/... does not compile
Installation from source: go get -u github.com/deroproject/derosuite/... does not compile on Arch Linux
Jan 8, 2022
FIXED - applied advice from #37 (comment) to add export GO111MODULE="off"
and builds for Dockerfile :
FROM archlinux:latest
RUN echo 2022-01-08 # you can update this line to enforce refresh instead of using --no-cache
RUN pacman -Syyu --noconfirm && \
pacman -S --noconfirm \
git base-devel \
screen tmux \
go go-tools \
aria2 htop
RUN useradd -m -G tty,users,wheel -s /bin/bash --user-group -u 1532 dero
USER dero
RUN export GO111MODULE="off" && go get -u github.com/deroproject/derosuite/...
later
# builds with:
$ docker build -m 8096m . -t arch_dero
# so I can run with
$ docker run -m 8096m -it arch_dero /bin/bash
# and inside docker
$ cd /home/dero/go/bin && ls
derod dero-miner dero-wallet-cli explorer
# we see executables we are looking for
Installation from source:
go get -u github.com/deroproject/derosuite/...
does not compile.Here is
Dockerfile
:Building with:
docker build -m 8096m . -t arch_dero
fails with following output:The text was updated successfully, but these errors were encountered: