libprotobuf error in "make runtest"
i am installing caffe in rhel6.2, an libprotobuf ERROR arised when i was running the "make runtest" i reinstalled protobuf*, but nothing changed,what's happened? how can i solve this libprotobuf error? I'm going to copy paste this below.
[ RUN ] NetTest/0.TestUnsharedWeightsDataNet libprotobuf ERROR google/protobuf/text_format.cc:169] Error parsing text-format caffe.NetParameter: 1:348: Expected identifier. F0827 18:10:03.513089 28999 test_net.cpp:27] Check failed: google::protobuf::TextFormat::ParseFromString(proto, ¶m) *** Check failure stack trace: *** @ 0x7f263752ea5d google::LogMessage::Fail() @ 0x7f2637532c57 google::LogMessage::SendToLog() @ 0x7f2637530ad9 google::LogMessage::Flush() @ 0x7f2637530ddd google::LogMessageFatal::~LogMessageFatal() @ 0x601a2d caffe::NetTest<>::InitNetFromProtoString() @ 0x61d460 caffe::NetTest<>::InitUnsharedWeightsNet() @ 0x612993 caffe::NetTest_TestUnsharedWeightsDataNet_Test<>::TestBody() @ 0x663dad testing::internal::HandleExceptionsInMethodIfSupported<>() @ 0x655b01 testing::Test::Run() @ 0x655be7 testing::TestInfo::Run() @ 0x655d27 testing::TestCase::Run() @ 0x65ac2f testing::internal::UnitTestImpl::RunAllTests() @ 0x66395d testing::internal::HandleExceptionsInMethodIfSupported<>() @ 0x65512a testing::UnitTest::Run() @ 0x4674a1 main @ 0x7f2633b5ad1d __libc_start_main @ 0x467209 (unknown) make: *** [runtest] Aborted (core dumped)
can somebody help me ...
Please ask on caffe-users. Issues are for development discussion. Thanks!
The core developers don't have RHEL machines, so I'm sorry we can't help with this question. Try installing protobuf from source?
@lixin7895123 I got the same error and google directed me here. Did you have any luck fixing this?
@Russell91 NO, I give up on fixing it. using another computer now.
@lixin7895123 The problem on my machine ended up being that the version of libprotobuf available through yum was out of date. I installed it by hand from https://github.com/google/protobuf/ using the simple instructions in the readme and got all the tests to pass.
I was just banging my head against this same problem. Maybe a minimum version of protobuf should be specified in the installation instructions? It will compile fine against v2.3.0, but apparently won't run with it.
When using protobuf version 2.3.1, I ran into the same problem. Then I compiled v2.6.1 and the problem solved.
The problem should be the old version of protobuf on RHEL. I have same issue and solved by compiling with a new version of protobuf.