py-faster-rcnn icon indicating copy to clipboard operation
py-faster-rcnn copied to clipboard

make: protoc: Command not found

Open ZhangXinNan opened this issue 6 years ago • 6 comments

root@5b1e58e4ea08:~/.cache/Detect/py-faster-rcnn/caffe-fast-rcnn# make
PROTOC src/caffe/proto/caffe.proto
make: protoc: Command not found
Makefile:620: recipe for target '.build_release/src/caffe/proto/caffe.pb.cc' failed
make: *** [.build_release/src/caffe/proto/caffe.pb.cc] Error 127

ZhangXinNan avatar Jul 25 '17 04:07 ZhangXinNan

There is a library "libprotobuf.so.x" (depends on your Python verision). You must include the path of this library in your Makefile.config. PYTHON_LIB := /usr/lib/x86_64-linux-gnu/ If you have installed the library then you can generally find in /usr/lib/x86_64-linux-gnu/

surajitsaikia27 avatar Jul 28 '17 09:07 surajitsaikia27

make is not working in windows. is there someone who can help.

(C:\Users\RAJ\Anaconda2) C:\Users\RAJ\fast-rcnn\caffe-fast-rcnn>make 0 [main] make 6236 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list [email protected] make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found make: /bin/sh: Command not found CXX .build_release/src/caffe/proto/caffe.pb.cc make: /bin/sh: Command not found Makefile:508: recipe for target `.build_release/src/caffe/proto/caffe.pb.o' failed make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 127

sajanraj avatar Sep 18 '17 11:09 sajanraj

This was fixed for me by installing protobuf-compiler.

Evidlo avatar Sep 01 '19 01:09 Evidlo

root@5b1e58e4ea08:~/.cache/Detect/py-faster-rcnn/caffe-fast-rcnn# make
PROTOC src/caffe/proto/caffe.proto
make: protoc: Command not found
Makefile:620: recipe for target '.build_release/src/caffe/proto/caffe.pb.cc' failed
make: *** [.build_release/src/caffe/proto/caffe.pb.cc] Error 127

I met the same problem, how did you solve it?

WW2401 avatar Oct 19 '19 03:10 WW2401

PROTOC src/caffe/proto/caffe.proto make: protoc: Command not found Makefile:640: recipe for target '.build_release/src/caffe/proto/caffe.pb.cc' failed make: *** [.build_release/src/caffe/proto/caffe.pb.cc] Error 127

同样的问题

gaojulong avatar Dec 04 '19 08:12 gaojulong

#For Centos 8: yum config-manager --set-enabled PowerTools yum install protobuf-compiler yum install protobuf-devel yum install boost-devel yum install gflags-devel yum install glog-devel

rzorger avatar May 08 '20 19:05 rzorger