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

Jeremy Dyer commented on MINIFI-139:
------------------------------------

I think there are a few minor tweaks that need to happen for building on OS X 
10.12 now. One thing I have noticed is that the CMakeLists.txt files that use 
"include_directories(include)" are not being properly resolved on OS X 10.12. 
This explains why the build works on CentOS, Ubuntu, etc and not OS X. Of 
course hardcoding to "include_directories(/usr/share/include)" works but that 
doesn't seem like the best solution. I'm not a CMake wizard. Would love to hear 
others opinions about the best way to handle this?

Also should we setup the project to build the "thirdparty" libraries from the 
included source if they are not present on the host machine? That seems like 
the most portable and reliable way for seamless builds to me.

> Build fails on OS X 10.12
> -------------------------
>
>                 Key: MINIFI-139
>                 URL: https://issues.apache.org/jira/browse/MINIFI-139
>             Project: Apache NiFi MiNiFi
>          Issue Type: Bug
>          Components: C++
>         Environment: Mac OS X 10.12
>            Reporter: Jeremy Dyer
>            Priority: Minor
>              Labels: build
>
> The minifi-cpp build fails on OS X 10.12 (Sierra). The build works on Ubuntu 
> 16.10 and CentOS 7.2. It seems that on OS X 10.12 leveldb libraries are not 
> being properly resolved however causing the Provenance.h dependency check to 
> fail. LevelDB version 1.18 is installed on the local OS X instance.



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

Reply via email to