Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4C8E4200BD2 for ; Sat, 3 Dec 2016 14:38:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4B713160B28; Sat, 3 Dec 2016 13:38:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8FF29160B0E for ; Sat, 3 Dec 2016 14:37:59 +0100 (CET) Received: (qmail 83615 invoked by uid 500); 3 Dec 2016 13:37:58 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 83600 invoked by uid 99); 3 Dec 2016 13:37:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Dec 2016 13:37:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6DDD72C14F3 for ; Sat, 3 Dec 2016 13:37:58 +0000 (UTC) Date: Sat, 3 Dec 2016 13:37:58 +0000 (UTC) From: "Mmohamed Hassan (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-11199) failure to build hadoop 2.7.1 in windows 7 64 bit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 03 Dec 2016 13:38:00 -0000 Mmohamed Hassan created HDFS-11199: -------------------------------------- Summary: failure to build hadoop 2.7.1 in windows 7 64 bit Key: HDFS-11199 URL: https://issues.apache.org/jira/browse/HDFS-11199 Project: Hadoop HDFS Issue Type: Bug Components: hdfs Affects Versions: 2.7.1 Environment: windows 7 64 bit using windows sdk 7.1, the setting of command line is: APPVER=6.1 CL=/AI C:\Windows\Microsoft.NET\Framework64\v4.0.30319 CommandPromptType=Native CURRENT_CPU=x64 FrameworkVersion=v4.0.30319 platform=x64 PlatformToolset=Windows7.1SDK PROCESSOR_ARCHITECTURE=AMD64 sdkdir=C:\Program Files\Microsoft SDKs\Windows\v7.1\ TARGET_CPU=x64 TARGET_PLATFORM=WIN7 ToolsVersion=4.0 VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\ WindowsSDKDir=C:\Program Files\Microsoft SDKs\Windows\v7.1\ WindowsSDKVersionOverride=v7.1 Reporter: Mmohamed Hassan In windows 7 64 bit, I build hadoop version 2.7.1 i installed all needed software, for c compiler i use the c++ compiler of windows sdk 7.1 (visual studio 2010 isn't installed) I run from Windows SDK 7.1 Command Prompt with release x64 but the build failed with errors The C compiler identification is unknown -- The CXX compiler identification is unknown CMake Error in CMakeLists.txt: No CMAKE_C_COMPILER could be found. CMake Error in CMakeLists.txt: No CMAKE_CXX_COMPILER could be found. The following is the console output [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Hadoop HDFS 2.7.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-os) @ hadoop-hdfs --- .... .... main: [INFO] Executed tasks [INFO] [INFO] --- maven-antrun-plugin:1.7:run (make) @ hadoop-hdfs --- [INFO] Executing tasks main: [exec] -- The C compiler identification is unknown [exec] -- The CXX compiler identification is unknown [exec] CMake Error in CMakeLists.txt: [exec] No CMAKE_C_COMPILER could be found. [exec] [exec] [exec] [exec] CMake Error in CMakeLists.txt: [exec] No CMAKE_CXX_COMPILER could be found. [exec] [exec] [exec] [exec] -- Configuring incomplete, errors occurred! [exec] See also "E:/hadoop-2.7.1-src/hadoop-hdfs-project/hadoop-hdfs/target /native/CMakeFiles/CMakeOutput.log". [exec] See also "E:/hadoop-2.7.1-src/hadoop-hdfs-project/hadoop-hdfs/target /native/CMakeFiles/CMakeError.log". [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop Main ................................. SUCCESS [ 2.995 s] [INFO] Apache Hadoop Project POM .......................... SUCCESS [ 4.477 s] [INFO] Apache Hadoop Annotations .......................... SUCCESS [ 4.696 s] [INFO] Apache Hadoop Assemblies ........................... SUCCESS [ 0.250 s] [INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [ 3.759 s] [INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [ 3.775 s] [INFO] Apache Hadoop MiniKDC .............................. SUCCESS [ 3.354 s] [INFO] Apache Hadoop Auth ................................. SUCCESS [ 4.056 s] [INFO] Apache Hadoop Auth Examples ........................ SUCCESS [ 3.807 s] [INFO] Apache Hadoop Common ............................... SUCCESS [02:09 min] [INFO] Apache Hadoop NFS .................................. SUCCESS [ 12.776 s] [INFO] Apache Hadoop KMS .................................. SUCCESS [ 15.304 s] [INFO] Apache Hadoop Common Project ....................... SUCCESS [ 0.031 s] [INFO] Apache Hadoop HDFS ................................. FAILURE [ 42.105 s] [INFO] Apache Hadoop HttpFS ............................... SKIPPED [INFO] Apache Hadoop HDFS BookKeeper Journal .............. SKIPPED ..... ..... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:55 min [INFO] Finished at: 2016-12-03T14:30:39+02:00 [INFO] Final Memory: 83M/494M [INFO] ------------------------------------------------------------------------ ..... .... -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org