artemis-analytics / artemis

Apache License 2.0
5 stars 2 forks source link

macOS Artemis Build #10

Open DominicParent opened 4 years ago

DominicParent commented 4 years ago

Build artemis and fwfr on macOS. Document process.

DominicParent commented 4 years ago

To create artemis-dev conda env on macOS, had to leave out:

With the resulting environment, I could build fwfr. I am getting an error when attempting to install artemis however with python setup.py build_ext --inplace install: error: invalid argument '-std=c++11' not allowed with 'C'.

To install the newer ports of gcc from macports, I need to troubleshoot my xcode commandline tools.

Conda has macos compiler-tools: https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html. I tried to install them, but there are some package conflicts to troubleshoot.

DominicParent commented 4 years ago

Package conflicts easy to resolve by installing with conda-forge.

DominicParent commented 4 years ago

Solved issue. Installed gcc9 from macports. Python build then worked as per README. Steps will be written in the wiki to configure the environment in macos.

DominicParent commented 4 years ago

@ryanmwhitephd Please let me know if the branch feature-macosbuild-10 allows you to build artemis when following the instructions here: https://github.com/ryanmwhitephd/artemis/wiki/Build-Artemis.