[ https://issues.apache.org/jira/browse/HADOOP-11154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152788#comment-14152788 ]
Chris Nauroth commented on HADOOP-11154: ---------------------------------------- Hi, Binglin. Please see my prior comment for a link to the relevant CMake bug. I'm on OS X 10.9.4 and running Oracle JDK 1.7.0_67. The package places jni_md.h under a "darwin" sub-directory: {code} > tree $JAVA_HOME/include /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/include ├── classfile_constants.h ├── darwin │ ├── jawt_md.h │ └── jni_md.h ├── jawt.h ├── jdwpTransport.h ├── jni.h ├── jvmti.h └── jvmticmlr.h 1 directory, 8 files {code} The fix in CMake 3.0 was to change FindJNI.cmake to look under the darwin sub-directory. I'll hold off on committing this until tomorrow. Let me know if you think I'm missing anything. > Update BUILDING.txt to state that CMake 3.0 or newer is required on Mac. > ------------------------------------------------------------------------ > > Key: HADOOP-11154 > URL: https://issues.apache.org/jira/browse/HADOOP-11154 > Project: Hadoop Common > Issue Type: Bug > Components: documentation, native > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Priority: Trivial > Attachments: HADOOP-11154.1.patch > > > The native code can be built on Mac now, but CMake 3.0 or newer is required. > This differs from our minimum stated version of 2.6 in BUILDING.txt. I'd > like to update BUILDING.txt to state that 3.0 or newer is required if > building on Mac. -- This message was sent by Atlassian JIRA (v6.3.4#6332)