whyrusleeping / ipns-pub

a command line tool to publish ipns entries using a passed in private key
MIT License
50 stars 6 forks source link

installation failure #4

Open reit-c opened 8 years ago

reit-c commented 8 years ago

I've been trying to install this one for a while, lots of gx problems that I manually resolved and a few other issues, but now I'm really stuck

github.com/whyrusleeping/ipns-pub ./main.go:117: cannot use dstore (type "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore".MapDatastore) as type repo.Datastore in argument to spawnDHT: "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore".MapDatastore does not implement repo.Datastore (wrong type for Batch method) have Batch() ("github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore".Batch, error) want Batch() ("gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore".Batch, error) ./main.go:122: cannot use dstore (type "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore".MapDatastore) as type "gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore".Datastore in argument to namesys.NewRoutingPublisher: "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore".MapDatastore does not implement "gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore".Datastore (wrong type for Delete method) have Delete("github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore".Key) error want Delete("gx/ipfs/QmZ6A6P6AMo8SR3jXAwzTuSU6B9R2Y4eqW2yW9VvfUayDN/go-datastore".Key) error ./main.go:125: cannot use priv (type "gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto".PrivKey) as type "gx/ipfs/QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP/go-libp2p-crypto".PrivKey in argument to nsys.Publish: "gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto".PrivKey does not implement "gx/ipfs/QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP/go-libp2p-crypto".PrivKey (wrong type for Equals method) have Equals("gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto".Key) bool want Equals("gx/ipfs/QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP/go-libp2p-crypto".Key) bool ./main.go:137: cannot use priv (type "gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto".PrivKey) as type "gx/ipfs/QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP/go-libp2p-crypto".PrivKey in argument to nsys.Publish: "gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto".PrivKey does not implement "gx/ipfs/QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP/go-libp2p-crypto".PrivKey (wrong type for Equals method) have Equals("gx/ipfs/QmUEUu1CM8bxBJxc3ZLojAi8evhTr4byQogWstABet79oY/go-libp2p-crypto".Key) bool want Equals("gx/ipfs/QmUWER4r4qMvaCnX5zREcfyiWN7cXN9g3a7fkRqNz8qWPP/go-libp2p-crypto".Key) bool ./main.go:210: cannot use host (type basichost.BasicHost) as type "gx/ipfs/QmZ8bCZpMWDbFSh6h2zgTYwrhnjrGM5c9WCzw72SU8p63b/go-libp2p/p2p/host".Host in argument to dht.NewDHT: basichost.BasicHost does not implement "gx/ipfs/QmZ8bCZpMWDbFSh6h2zgTYwrhnjrGM5c9WCzw72SU8p63b/go-libp2p/p2p/host".Host (wrong type for Connect method) have Connect(context.Context, "gx/ipfs/QmZ62t46e9p7vMYqCmptwQC1RhRv5cpQ5cwoqYspedaXyq/go-libp2p-peerstore".PeerInfo) error want Connect(context.Context, "gx/ipfs/QmQdnfvZQuhdT93LNc5bos52wAmdr3G2p6G8teLJMEN32P/go-libp2p-peerstore".PeerInfo) error ./main.go:241: cannot use iaddr.ID() (type "gx/ipfs/QmRBqJF7hb8ZSpRcMwUt8hNhydWcxGEhtk81HKq6oUwKvs/go-libp2p-peer".ID) as type "gx/ipfs/QmQGwpJy9P4yXZySmqkZEXCmbBpJUb8xntCv8Ca4taZwDC/go-libp2p-peer".ID in argument to bh.Peerstore().AddAddr ./main.go:246: cannot use iaddr.ID() (type "gx/ipfs/QmRBqJF7hb8ZSpRcMwUt8hNhydWcxGEhtk81HKq6oUwKvs/go-libp2p-peer".ID) as type "gx/ipfs/QmQGwpJy9P4yXZySmqkZEXCmbBpJUb8xntCv8Ca4taZwDC/go-libp2p-peer".ID in argument to bh.Peerstore().PeerInfo