You are not logged in.

#1 2015-04-22 12:55:53

forkdbloke
Member
Registered: 2015-04-22
Posts: 5

How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

Am looking for installing protobuf 2.5.0 on Arch Linux, so that protoc-2.5.0.so is installed on the OS, so that i can go ahead with building hadoop 2.6.0 from source and make my life easy! :)

BTW, protobuf 2.6.0 does not compile when hadoop is built from source i have tried that as well. Ubuntu 14.04 comes with protoc 2.5.0. I DO NOT want to use Ubuntu.

Please check the screenshot first (there is no protobuf 2.5.0), since the problem lies there.. i guess am getting the following exception, i am aware that protoc is not installed in arch linux currently.

[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:2.6.0:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: 'protoc --version' did not return a version -> [Help 1]

Please help me out, since, i have spent 4 hours every day from two days, with no luck.

PS: I have installed arch linux from scratch.. i.e followed installation guide

Last edited by forkdbloke (2015-04-22 12:56:40)

Offline

#2 2015-04-22 13:18:55

c3kay
Member
From: New Zealand
Registered: 2015-04-19
Posts: 61

Re: How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

Have you tried searching the AUR?

Offline

#3 2015-04-22 13:25:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,559
Website

Re: How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

Why do you think protobuf is needed for hadoop?  Hadoop 2.6 is in the AUR and protobuf is not a dependency.  I just installed hadoop 2.6 without protobuf.

Last edited by Trilby (2015-04-22 13:31:07)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2015-04-22 13:26:28

forkdbloke
Member
Registered: 2015-04-22
Posts: 5

Re: How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

Thanks for the reply

➜  hadoop-2.6.0-src  yaourt protobuf                           
1 extra/protobuf 2.6.1-1
    Protocol Buffers - Google's data interchange format
2 extra/protobuf-c 1.1.0-1
    Protocol Buffers implementation in C
3 extra/python2-protobuf 2.6.1-1
    Python 2 bindings for Google Protocol Buffers
4 aur/emacs-protobuf-mode 0.3-3 (3)
    Emacs mode for Google protobuf
5 aur/mingw-w64-protobuf 2.6.1-1 (2)
    Protocol Buffers - Google's data interchange format
6 aur/protobuf-java 2.6.1-1 (5)
    Google's data interchange format utility (java API).
7 aur/protobuf-net 668-3 (4)
    Fast, portable, binary serialization for .NET
8 aur/protobuf-vala 0.1.0-1 (0)
    A plugin for the Google protocol buffer compiler to generate Vala code.
9 aur/protobuf3 3.0.0_alpha_2-1 (0)
    Protocol Buffers - Google's data interchange format
10 aur/protoc-gen-lisp 0.0.1-1 (0)
    A protobuf-compiler plugin for Common Lisp
11 aur/pypy-protobuf 2.5.0-1 (0)
    A way of encoding structured data in an efficient yet extensible format (python API for pypy)
12 aur/python-protobuf 3.0.0-1 (0)
    Python 3 bindings to Google's Protocol Buffers
13 aur/python-protobuf3 3.0.0_alpha_2-1 (0)
    Python 3 bindings for Google Protocol Buffers
14 aur/python2-palm 0.1.7-2 (0)
    Fast protocol buffer library for Python (Protobufs Are Lightweight Messages)
15 aur/python2-protobuf3 3.0.0_alpha_2-1 (0)
    Python 2 bindings for Google Protocol Buffers
16 aur/python2-riak-protobuf 2.0.0.14-1 (0)
    Protobuf definitions for the Riak NoSQL store.
17 aur/ruby-beefcake 1.0.0-1 (0)
    A sane protobuf library for Ruby
18 aur/ruby-beefcake-0.3 0.3.7-1 (0)
    A sane protobuf library for Ruby
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==>

Offline

#5 2015-04-22 13:28:12

forkdbloke
Member
Registered: 2015-04-22
Posts: 5

Re: How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

I do not see protobuf 2.5.0 here, am i doing something wrong! Please let me know

Offline

#6 2015-04-22 13:56:44

forkdbloke
Member
Registered: 2015-04-22
Posts: 5

Re: How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

Trilby wrote:

Why do you think protobuf is needed for hadoop?  Hadoop 2.6 is in the AUR and protobuf is not a dependency.  I just installed hadoop 2.6 without protobuf.

I do not want to install hadoop 2.6.0 from AUR directly and start running hadoop on Arch.
Am compiling hadoop 2.6.0 from source because i can modify the same and hence, want to build it myself. After i build it, i want to run it  on Arch.

Offline

#7 2015-04-22 14:02:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

I don't understand what you mean. Why not create a PKGBUILD that suits you?

Offline

#8 2015-04-22 14:23:08

forkdbloke
Member
Registered: 2015-04-22
Posts: 5

Re: How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

I got the above question answered
http://stackoverflow.com/questions/2979 … -using-mav

Thank you everyone for assisting me in finding the solution. As a newbie to Arch i have had good experience so far. Thank you once again.

Offline

#9 2015-04-22 18:09:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How do i install protobuf 2.5 on Arch Linux for compiling hadoop 2.6.0

You shouldn't install packages in Arch w/o a PKGBUILD.

Offline

Board footer

Powered by FluxBB