hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Silvina Caíno Lores <silvi.ca...@gmail.com>
Subject Re: Building Hadoop 2.2.0 On Windows 7 64-bit
Date Fri, 17 Jan 2014 14:41:33 GMT
Hey again,

I'm not a Windows user so I'm not very familiar with these issues. However,
I recall this link<http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os>as
a useful source for installation problems I've had on my own, since
it's
for Windows it might help you even further.

The error

stdint.h: No such file or directory

is causing your build to fail, it seems like you don't have the headers
installed or they aren't properly referenced. Sorry that I can't be of more
help, I'm not sure how MinGW handles these includes.

Good luck :D



On 17 January 2014 15:18, Jian Feng JF She <shejianf@cn.ibm.com> wrote:

> I have the same the environment,Window 7(64bit) hadoop 2.2 ,yes I have
> installed the protocbuf previously,and according to the guide, put
> protoc.exe and
>
> libprotobuf.lib,libprotobuf-lite.lib,libprotoc.lib into PATH.
>
> run "protoc --version" will get output libprotoc 2.5.0
>
> Now it seems everything ready, but when run mvn install -DskipTests -e
> will get an error message:
>
> can not execute: compile-ms-native-dll in
> ..\hadoop-common-project\hadoop-common\pom.xml
>
> do you have any suggestions?
>
> Thanks.
>
> Nikshe
>
>
> [image: Inactive hide details for Silvina Caíno Lores ---01/17/2014
> 06:43:00 PM---'protoc --version' did not return a version Are you s]Silvina
> Caíno Lores ---01/17/2014 06:43:00 PM---'protoc --version' did not return a
> version Are you sure that you have Protocol Buffers installed?
>
> From: Silvina Caíno Lores <silvi.caino@gmail.com>
> To: user@hadoop.apache.org,
> Date: 01/17/2014 06:43 PM
>
> Subject: Re: Building Hadoop 2.2.0 On Windows 7 64-bit
> ------------------------------
>
>
>
> 'protoc --version' did not return a version
>
> Are you sure that you have Protocol Buffers installed?
>
>
>
> On 17 January 2014 11:29, Nirmal Kumar <*nirmal.kumar@impetus.co.in*<nirmal.kumar@impetus.co.in>>
> wrote:
>
>    Hi All,
>
>
>
>    I am trying to build Hadoop 2.2.0 On Windows 7 64-bit env.
>
>
>
>    Can you let me know what else is needed for building Hadoop 2.2.0 On
>    Windows platform?
>
>
>
>    I am getting the following error building **hadoop-common** project:
>
>
>
>    [INFO]
>    ------------------------------------------------------------------------
>
>    [INFO] Building Apache Hadoop Common 2.2.0
>
>    [INFO]
>    ------------------------------------------------------------------------
>
>    [INFO]
>
>    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
>    hadoop-common ---
>
>    [INFO] Deleting
>    D:\YARN_Setup\hadoop-2.2.0-src\hadoop-common-project\hadoop-common\target
>
>    [INFO]
>
>    [INFO] --- maven-antrun-plugin:1.6:run (create-testdirs) @
>    hadoop-common ---
>
>    [INFO] Executing tasks
>
>
>
>    main:
>
>        [mkdir] Created dir:
>    D:\YARN_Setup\hadoop-2.2.0-src\hadoop-common-project\hadoop-common\target\test-dir
>
>        [mkdir] Created dir:
>    D:\YARN_Setup\hadoop-2.2.0-src\hadoop-common-project\hadoop-common\target\test\data
>
>    [INFO] Executed tasks
>
>    [INFO]
>
>    [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-os) @
>    hadoop-common ---
>
>    [INFO]
>
>    [INFO] --- hadoop-maven-plugins:2.2.0:protoc (compile-protoc) @
>    hadoop-common ---
>
>    [WARNING] [protoc, --version] failed: java.io.IOException: Cannot run
>    program "protoc": CreateProcess error=2, The system cannot find the file
>    specified
>
>    [ERROR] stdout: []
>
>    [INFO]
>    ------------------------------------------------------------------------
>
>    [INFO] BUILD FAILURE
>
>    [INFO]
>    ------------------------------------------------------------------------
>
>    [INFO] Total time: 1.153s
>
>    [INFO] Finished at: Fri Jan 17 15:55:10 IST 2014
>
>    [INFO] Final Memory: 7M/18M
>
>    [INFO]
>    ------------------------------------------------------------------------
>
>    [ERROR] Failed to execute goal
>    org.apache.hadoop:hadoop-maven-plugins:2.2.0:protoc (compile-protoc) on
>    project hadoop-common: org.apache.maven.plugin.MojoExecutionException:
>    'protoc --version' did not return a version -> [Help 1]
>
>    [ERROR]
>
>    [ERROR] To see the full stack trace of the errors, re-run Maven with
>    the -e switch.
>
>    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
>    [ERROR]
>
>    [ERROR] For more information about the errors and possible solutions,
>    please read the following articles:
>
>    [ERROR] [Help 1]
>    *http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException*<http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException>
>
>    D:\YARN_Setup\hadoop-2.2.0-src\hadoop-common-project\hadoop-common>
>
>
>
>    Thanks,
>
>    -Nirmal
>
>    ------------------------------
>
>
>
>
>
>
>    NOTE: This message may contain information that is confidential,
>    proprietary, privileged or otherwise protected by law. The message is
>    intended solely for the named addressee. If received in error, please
>    destroy and notify the sender. Any use of this email is prohibited when
>    received in error. Impetus does not represent, warrant and/or guarantee,
>    that the integrity of this communication has been maintained nor that the
>    communication is free of errors, virus, interception or interference.
>
>
>
>

Mime
View raw message