Kengo Seki created HADOOP-12115: ----------------------------------- Summary: Document additional native build dependencies in BUILDING.txt Key: HADOOP-12115 URL: https://issues.apache.org/jira/browse/HADOOP-12115 Project: Hadoop Common Issue Type: Bug Components: documentation, native Reporter: Kengo Seki Assignee: Kengo Seki
On CentOS 6.6, {code}mvn clean compile -DskipTests -Pnative -Drequire.libwebhdfs -Drequire.openssl -Drequire.fuse -Drequire.test.libhadoop{code} fails as follows if libcurl-devel is not installed, although the build environment satisfies the requirements described in BUILDING.txt. {code} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make) on project hadoop-hdfs: An Ant BuildException has occured: exec returned: 1 [ERROR] around Ant part ...<exec dir="/home/sekikn/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native" executable="cmake" failonerror="true">... @ 5:119 in /home/sekikn/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/antrun/build-main.xml {code} Ant error messages are as follows: {code} [exec] CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message): [exec] Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) [exec] Call Stack (most recent call first): [exec] /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) [exec] /usr/share/cmake/Modules/FindCURL.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) [exec] contrib/libwebhdfs/CMakeLists.txt:19 (find_package) {code} It should be listed in BUILDING.txt also. -- This message was sent by Atlassian JIRA (v6.3.4#6332)