ipfs / iptb

InterPlanetary TestBed 🌌🛌
MIT License
163 stars 39 forks source link

plugin not found #96

Open LastExile16 opened 5 years ago

LastExile16 commented 5 years ago

when I try to run iptb I get plugin not fount error: $ iptb auto testbed nodes already exist, overwrite? [y/n] Could not find plugin and when I try to run the make plugins command I get this error:

[done] [install] 1ms   QmeFPvhFJGXGiXAc9zunNxZjCaWgYQpcsdwip2NWLcccyw GoEndian
gx-go rw90] 0s
(cd local; go build -buildmode=plugin -o ../../localipfs.so)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmYyFh6g1C9uieTpH8CR8PpWBUQjvMDJTsRhJWx5qkXy39/go-ipfs-config/bootstrap_peers.go:7:2: cannot find package "github.com/ipfs/go-ipfs-addr" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/ipfs/go-ipfs-addr (vendor tree)
    /usr/local/go/src/github.com/ipfs/go-ipfs-addr (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/ipfs/go-ipfs-addr (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/options.go:13:2: cannot find package "github.com/libp2p/go-libp2p-circuit" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-libp2p-circuit (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-libp2p-circuit (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-libp2p-circuit (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/libp2p.go:8:2: cannot find package "github.com/libp2p/go-libp2p-host" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-libp2p-host (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-libp2p-host (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-libp2p-host (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/options.go:15:2: cannot find package "github.com/libp2p/go-libp2p-interface-connmgr" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-libp2p-interface-connmgr (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-libp2p-interface-connmgr (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-libp2p-interface-connmgr (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/options.go:16:2: cannot find package "github.com/libp2p/go-libp2p-interface-pnet" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-libp2p-interface-pnet (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-libp2p-interface-pnet (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-libp2p-interface-pnet (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/defaults.go:9:2: cannot find package "github.com/libp2p/go-libp2p-peerstore" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-libp2p-peerstore (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-libp2p-peerstore (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-libp2p-peerstore (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/defaults.go:10:2: cannot find package "github.com/libp2p/go-libp2p-secio" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-libp2p-secio (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-libp2p-secio (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-libp2p-secio (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/libp2p.go:6:2: cannot find package "github.com/libp2p/go-libp2p/config" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-libp2p/config (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-libp2p/config (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-libp2p/config (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/options.go:11:2: cannot find package "github.com/libp2p/go-libp2p/p2p/host/basic" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-libp2p/p2p/host/basic (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-libp2p/p2p/host/basic (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-libp2p/p2p/host/basic (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/options.go:19:2: cannot find package "github.com/libp2p/go-maddr-filter" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-maddr-filter (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-maddr-filter (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-maddr-filter (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/defaults.go:11:2: cannot find package "github.com/libp2p/go-tcp-transport" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-tcp-transport (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-tcp-transport (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-tcp-transport (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/defaults.go:12:2: cannot find package "github.com/libp2p/go-ws-transport" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/libp2p/go-ws-transport (vendor tree)
    /usr/local/go/src/github.com/libp2p/go-ws-transport (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/libp2p/go-ws-transport (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmYyFh6g1C9uieTpH8CR8PpWBUQjvMDJTsRhJWx5qkXy39/go-ipfs-config/bootstrap_peers.go:10:2: cannot find package "github.com/multiformats/go-multiaddr-dns" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/multiformats/go-multiaddr-dns (vendor tree)
    /usr/local/go/src/github.com/multiformats/go-multiaddr-dns (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/multiformats/go-multiaddr-dns (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmYVNvtQkeZ6AKSwDrjQTs432QtL6umrrK41EBq3cu7iSP/go-cid/cid.go:30:2: cannot find package "github.com/multiformats/go-multibase" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/multiformats/go-multibase (vendor tree)
    /usr/local/go/src/github.com/multiformats/go-multibase (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/multiformats/go-multibase (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/defaults.go:13:2: cannot find package "github.com/whyrusleeping/go-smux-multiplex" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/whyrusleeping/go-smux-multiplex (vendor tree)
    /usr/local/go/src/github.com/whyrusleeping/go-smux-multiplex (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/whyrusleeping/go-smux-multiplex (from $GOPATH)
../../../../../ipfs/iptb/plugins/ipfs/vendor/gx/ipfs/QmY51bqSM5XgxQZqsBrQcRkKTnCb8EKpJpR9K6Qax7Njco/go-libp2p/defaults.go:14:2: cannot find package "github.com/whyrusleeping/go-smux-yamux" in any of:
    /sehome/home/nawras/go/src/github.com/ipfs/iptb/plugins/ipfs/vendor/github.com/whyrusleeping/go-smux-yamux (vendor tree)
    /usr/local/go/src/github.com/whyrusleeping/go-smux-yamux (from $GOROOT)
    /sehome/home/nawras/go/src/github.com/whyrusleeping/go-smux-yamux (from $GOPATH)
Makefile:7: recipe for target 'ipfslocal' failed
make[2]: *** [ipfslocal] Error 1
make[2]: Leaving directory '/sehome/home/nawras/go/src/github.com/whyrusleeping/iptb/plugins/ipfs'
Makefile:10: recipe for target 'ipfs' failed
make[1]: *** [ipfs] Error 2
make[1]: Leaving directory '/sehome/home/nawras/go/src/github.com/whyrusleeping/iptb/plugins'
Makefile:9: recipe for target 'plugins' failed
make: *** [plugins] Error 2

and iptb --version outputs the following iptb version 0.0.0

(edit: format code)

travisperson commented 5 years ago

What version of gx and gx-go are you running? The install to the vendor directory does not look correct. If you are not using the latest versions of gx and gx-go you might try updating those first.

LastExile16 commented 5 years ago

I'm using the latest version of both $ gx -version gx version 0.14.0 $ gx-go -version gx-go version 1.9.0 and my $IPTB_ROOT variable is empty

LastExile16 commented 5 years ago

I have removed the iptb, gx and gx-go package and reinstalled them. at the same time my ipfs daemon is running now, I was able to run the make plugins and make install_plugins successfully. But still I get the Could not find plugin error. any idea please?

travisperson commented 5 years ago

Okay, if everything is building correctly now, then the issue is just some missing information in the README (updating soon). You will need to specify the type on the command (for auto and testbed create).

The example auto command in the README should be

iptb auto -type localipfs -count 5