-
Notifications
You must be signed in to change notification settings - Fork 387
Build errors
julienledem edited this page Mar 15, 2013
·
1 revision
- protoc version error:
Error message: Failed to execute goal com.github.igor-petruk.protobuf:protobuf-maven-plugin:0.4:run (default) on project elephant-bird-core: Protobuf installation version does not match Protobuf library version -> [Help 1]
In the logs above you will find:
[INFO] --- protobuf-maven-plugin:0.4:run (default) @ elephant-bird-core ---
[INFO] Protobuf dependency version 2.4.1
[INFO] 'protoc' executable version 2.3.0
You need to install the correct version of protoc: Download version 2.4.1 from http://code.google.com/p/protobuf/downloads/list then to compile and install without replacing your existing version:
./configure --prefix=/usr/local/protobuf-2.4.1 && make
sudo make install
update your PATH to have it first:
PATH=/usr/local/protobuf-2.4.1/bin:$PATH