THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
- install the Xcode command line tools, it will give you gcc, make and most commandline tools. To install open terminal and type "xcode-select —install"
- You need a few other libraries for successfully building minifi on a mac. I used brew to install the additional libraries (make,leveldb,uuid,boost ).
- if you don have brew execute "/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- if you already have brew make sure to update it by "brew update". if you get errors doing update check Fix brew update error section.
- install the additional libraries
- brew install cmake
- brew install leveldb
- brew install ossp-uuid
- brew install boost
- brew install doxygen
- Build minifi . Clone the Minfi-cpp git project. In context to this guide i have minifi-cpp under /opt/code/nifi-minifi-cpp
- Change Directory to minifi source folder - cd /opt/code/nifi-minifi-cpp
- mkdir build
- cd build
- cmake ..
- make
- make package
- You should have a tar.gz file in the build folder. Untar and run minifi by “bin/minifi.sh start”
- Alternately you can run minifi from the /opt/code/nifi-minifi-cpp/build folder using “nohup main/minifi &”
- If you get an error for MINIFI_HOME or ../conf, make sure there is a conf folder , with minifi.properties at the minifi root level.
...