-Re: Error in first build : Cannot run program "protoc": CreateProcess error=2
So this is the JIRA for tracking the protoc 2.5 issue:
Regarding the msbuild trouble, your issue is simply that you perhaps
do not have Visual Studio 2010 Professional/Windows SDK installed?
Apache Hadoop trunk has Windows specific build profiles in it since it
now supports the Windows platform but it has its own requirements of
build. Check out the section "Building on Windows" under your
checkout/clone's BUILDING.txt or
I'm not currently sure how to turn the auto-detection off to make it
compile as it would on Linux minus natives (like how it used to,
before the feature drop), but perhaps there should be a way to allow
On Wed, Apr 3, 2013 at 8:16 PM, Chandrashekhar Kotekar
<[EMAIL PROTECTED]> wrote:
> Thanks a lot for your help.
> You were right. Problem was with Protoc version 1.5 only. I downloaded and
> added protoc 1.4 version and now that error is gone. However now I am stuck
> at this new error. Now maven is not able to find "msbuild". Error is as
> follows :
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec
> (compile-ms-winutils) on project hadoop-common: Command execution failed.
> Cannot run program "msbuild" (in directory
> CreateProcess error=2, The system cannot find the file specified -> [Help 1]
> Can you please help with this error? I googled for this kind of error but
> couldn't find anything related to this error.
> One more thing I would like to know, how to search into mailing list for
> this kind of errors?
> I think maybe many people before me must have faced these type of errors.
> If I could search into mailing list or some forum related to Hadoop then I
> do not need to disturb all the people in the mailing list for this kind of
> trivial errors and people can concentrate on more important stuff.
> Chandrash3khar K0tekar
> Mobile - 8884631122
> On Wed, Apr 3, 2013 at 7:21 PM, Harsh J <[EMAIL PROTECTED]> wrote:
>> I'm not sure if trunk works with 2.5.x protoc yet. Try again with
>> 2.4.1 please? I remember filing a JIRA for this, will hunt and send in
>> a bit.
>> On Wed, Apr 3, 2013 at 6:47 PM, Chandrashekhar Kotekar
>> <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> > Just now I have downloaded Hadoop source code. I have successfully run
>> > clean" target but while trying "mvn install" target I am getting
>> > error :
>> > *[INFO] Executed tasks
>> > [INFO]
>> > [INFO] --- hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc (compile-protoc) @
>> > hadoop-common ---
>> > [WARNING] [protoc,
>> > failed: java.io.IOException: Cannot run program "protoc": CreateProcess
>> > error=2, The system cannot find the file specified
>> > [ERROR] protoc compiler error
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Reactor Summary:*