family
family

Reputation: 1

hyperledger fabric make peer make: *** No rule to make target `peer'. Stop

I try to build hyperledger fabric,I have installed the project as the guide devenv.md, but when I try to mak peer as the guide build.md ,it has the tips as above, vagrant@ubuntu-1404:/opt/gopath/src/github.com/hyperledger/fabric/devenv$ make peer make: *** No rule to make target `peer'. Stop.

How to Solve This Problem?

Upvotes: 0

Views: 2587

Answers (1)

Pabs
Pabs

Reputation: 46

Do you have a Makefile on your folder? If I recall correclty the makefile is on /opt/gopath/src/github.com/hyperledger/fabric , not on the /devenv/.

You might still get an error from that folder (I recall) but you could try doing make first.

Edit:

Indeed, http://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/build/ states just that:

cd $GOPATH/src/github.com/hyperledger/fabric
make peer

Upvotes: 1

Related Questions