[ 
https://issues.apache.org/jira/browse/HADOOP-9882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986552#comment-13986552
 ] 

Ritesh Kalra commented on HADOOP-9882:
--------------------------------------

Hi Jean

you already must have protoc-2.4.1 installed. (protoc --version). Try upgrading 
to 2.5.0

1. Download protocol buffer. 
2. Check if g++ compiler is installed on box. Protocol buffer needs g++ 
compiler to be present on your box before it can be builded. This is a crisp 
post on how to install g++ compiler on your box. Install g++ compiler.
3. Extract the protocol buffer archive and switch to the extracted directory.
4. Inside the extracted directory hit the below commands to install protocol 
buffer. These may take a while, kindly be patient.

$ sudo ./configure
$ sudo make
$ sudo make check
$ sudo make install
$ protoc --version

> Trunk doesn't compile
> ---------------------
>
>                 Key: HADOOP-9882
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9882
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Jean-Baptiste Onofré
>
> Currently, trunk does not compile (in hadoop-common-project/hadoop-common 
> module):
> [ERROR] Failed to execute goal 
> org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc (compile-protoc) 
> on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: 
> protoc version is 'libprotoc 2.4.1', expected version is '2.5.0' -> [Help 1]
> I gonna fix that.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to