我最初安装了protobuf 2.5.0但现在需要能够运行2.4.1。我已经安装了2.5.0,试图弄清楚如何安装2.4.1。我跑了
./configure --prefix=/usr
自2.5.0安装到/ usr / local但随后make
爆炸:
$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in .
Making all in src
2.4.1 -I. --cpp_out=. google/protobuf/unittest.proto google/protobuf/unittest_empty.proto google/protobuf/unittest_import.proto google/protobuf/unittest_mset.proto google/protobuf/unittest_optimize_for.proto google/protobuf/unittest_embed_optimize_for.proto google/protobuf/unittest_custom_options.proto google/protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto google/protobuf/unittest_lite_imports_nonlite.proto google/protobuf/unittest_no_generic_services.proto google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto
make[2]: 2.4.1: No such file or directory
make[2]: *** [unittest_proto_middleman] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
安装2.5.0时安装2.4.1的最佳方法是什么?