OscarSouth / theHarmonicAlgorithm

The Harmonic Algorithm by Oscar South - A Project Spanning Music Analysis, Functional Programming & Machine Learning
Other
112 stars 8 forks source link

Installation Problems #9

Open jasonw22 opened 5 years ago

jasonw22 commented 5 years ago
➜  theHarmonicAlgorithm git:(master) stack --install-ghc build
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Already downloaded.                
Installing GHC ...                                                                      
Received ExitFailure 2 when running
Raw command: /usr/bin/make install
Run from: /Users/jasonwehmhoener/.stack/programs/x86_64-osx/ghc-8.2.2.temp/ghc-8.2.2/
➜  ghc-8.2.2 make install
mk/config.mk:533: *** missing separator.  Stop.

If I comment out mk/config.mk:533, make install succeeds. But if I try to re-run the build or exec commands, my edit gets overwritten.

OscarSouth commented 5 years ago

I'm not really sure how to troubleshoot this off the cuff, but here's my suggestion:

I have a live coding concert coming up next week (info if interested: https://algomech.com/2019/events/mesh/ https://algomech.com/2019/artists/udagan/) and in preparation for this I've made a lot of changes to the app to add/adjust functionality to where I want it. Some of this is in the 'LiveCode' branch of this repo and some is on my local machine -- it's also all a bit messy right now because I've only really been working with very specific personal goals in mind.

Right now my priority is prep for the festival performance, but after that I've got it out of the way then I have some major functionality updates planned for this project as well as tidying up the repo and moving to some specific library and updated GHC versions. That hopefully won't take too long!

So, I'll update things at that point and also see if I can figure out what's going on here in the process -- at that point I'll leave a follow up message in this issue and you can try again to install the updated version. If it still doesn't work then I'll look into the problem more deeply.

For the time being, cheers for leaving info on the issue! Oscar

OscarSouth commented 5 years ago

In the meanwhile, could you provide the output of cc -v? Also, is your machine running macOS or a is it a different OS? This may have some insight in this case: https://github.com/commercialhaskell/stack/issues/3741

Cheers

jasonw22 commented 5 years ago

I'm running macOS Mojave.

➜  ~ cc -v
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Found CUDA installation: /usr/local/cuda, version 7.0

That issue you mention definitely looks relevant.