Elephant-Bird Build Error
(thrift, protoc) on Mac OS X
https://github.com/kevinweil/elephant-bird.git
Errors
• Failed to execute goal com.github.igorpetruk.protobuf:protobuf-maven-

plugin:0.4:run (default) on project elepha...
Required Versions

• Protoc 2.4.1
• Thrift 0.7.0
Brew
• Latest brew formula support updated versions of
pr0toc and thrift.
• How to change brew formula to older versions?
...
Brew contd…
• Change your directory to /usr/local

• protoc
– git checkout 544209f /usr/local/Library/Formula/protobuf.rb
...
Contd….
• Setting up path
– PATH=/usr/local/Cellar/protobuf/2.4.1/bin:$PATH
– PATH=/usr/local/Cellar/thrift/0.7.0/bin:$PAT...
References
• https://github.com/kevinweil/elephantbird/wiki/Build-errors

• https://coderwall.com/p/lqphzg
• Switching bet...
Thank You !!!
Upcoming SlideShare
Loading in …5
×

Elephant bird build Error

1,107 views
980 views

Published on

Lot of people having issue while building elephant bird twitter package. I hope this would help.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,107
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Elephant bird build Error

  1. 1. Elephant-Bird Build Error (thrift, protoc) on Mac OS X https://github.com/kevinweil/elephant-bird.git
  2. 2. Errors • Failed to execute goal com.github.igorpetruk.protobuf:protobuf-maven- plugin:0.4:run (default) on project elephantbird-core: Unable to find 'protoc’ • package org.apache.thrift.scheme does not exist
  3. 3. Required Versions • Protoc 2.4.1 • Thrift 0.7.0
  4. 4. Brew • Latest brew formula support updated versions of pr0toc and thrift. • How to change brew formula to older versions? • cmd – brew versions protoc – brew versions thrift
  5. 5. Brew contd… • Change your directory to /usr/local • protoc – git checkout 544209f /usr/local/Library/Formula/protobuf.rb • Thrift – git checkout 141ddb6 /usr/local/Library/Formula/thrift.rb • brew install protoc • brew install thrift
  6. 6. Contd…. • Setting up path – PATH=/usr/local/Cellar/protobuf/2.4.1/bin:$PATH – PATH=/usr/local/Cellar/thrift/0.7.0/bin:$PATH • Finally, – mvn package
  7. 7. References • https://github.com/kevinweil/elephantbird/wiki/Build-errors • https://coderwall.com/p/lqphzg • Switching between formulas – http://stackoverflow.com/questions/3987683/hom ebrew-install-specific-version-of-formula
  8. 8. Thank You !!!

×