[ 
https://issues.apache.org/jira/browse/HADOOP-9215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554013#comment-13554013
 ] 

Charles Wimmer commented on HADOOP-9215:
----------------------------------------

If a specific version of cmake is required, then the build should fail without 
it.

http://www.cmake.org/cmake/help/v2.8.10/cmake.html#command:cmake_minimum_required

{noformat}
cmake_minimum_required: Set the minimum required version of cmake for a project.

  cmake_minimum_required(VERSION major[.minor[.patch[.tweak]]]
                         [FATAL_ERROR])

If the current version of CMake is lower than that required it will stop 
processing the project and report an error. When a version higher than 2.4 is 
specified the command implicitly invokes

  cmake_policy(VERSION major[.minor[.patch[.tweak]]])

which sets the cmake policy version level to the version specified. When 
version 2.4 or lower is given the command implicitly invokes

  cmake_policy(VERSION 2.4)

which enables compatibility features for CMake 2.4 and lower.

The FATAL_ERROR option is accepted but ignored by CMake 2.6 and higher. It 
should be specified so CMake versions 2.4 and lower fail with an error instead 
of just a warning.{noformat}
                
> libhadoop.so doesn't exist (only libhadoop.so.1.0.0)
> ----------------------------------------------------
>
>                 Key: HADOOP-9215
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9215
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.0.3-alpha
>            Reporter: Thomas Graves
>            Priority: Blocker
>
> Looks like none of the .so files are being built. They all have .so.1.0.0 but 
> no just .so file.  branch-0.23 works fine but trunk and branch-2 are broke.
> This actually applies to libhadoop.so and libhdfs.so

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to