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

Alan Burlison commented on HADOOP-12036:
----------------------------------------

I need to fine-tune the patch to cope with misfeatures in the standard CMake 
infrastructure - in the case of bzip detection the compilation is using the 
-m64 flag but the bzip library being probed is being passed to the compiler as 
a path rather than as -lbzip2, and the path being passed is the 32-bit library 
path rather than the 64-bit one. The test compile then fails because CMake 
thinks the library isn't present when it actually is.

Also, even if -DREQUIRE_BZIP2 is passed to CMake on the command line and 
there's logic in the CMakeLists.txt which is supposed to fail the build when 
bzip2 isn't found, the build continues.

I'll update the patches when I've figured out how best to work around the CMake 
deficiencies.

> Consolidate all of the cmake extensions in one directory
> --------------------------------------------------------
>
>                 Key: HADOOP-12036
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12036
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Allen Wittenauer
>            Assignee: Alan Burlison
>         Attachments: HADOOP-12036.001.patch
>
>
> Rather than have a half-dozen redefinitions, custom extensions, etc, we 
> should move them all to one location so that the cmake environment is 
> consistent between the various native components.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to