I’m trying to get ClojureCLR working on MacOS and it’s not working. I’m not a dotnet/CLR guy, so I’m not sure how to interpret what I’m seeing. I installed dotnet via brew and dotnet --info works. I installed ClojureCLR according to the instructions and when I run Clojure.Main I get:
╭─ ~ ········································································································································································· ✔
╰─ Clojure.Main
You must install or update .NET to run this application.
App: /Users/dave/.dotnet/tools/Clojure.Main
Architecture: arm64
Framework: '', version '9.0.0' (arm64)
.NET location: /opt/homebrew/Cellar/dotnet/10.0.102/libexec
The following frameworks were found:
10.0.2 at [/opt/homebrew/Cellar/dotnet/10.0.102/libexec/shared/Microsoft.NETCore.App]
Learn more:
To install missing framework, download:
I’m not sure how to interpret this. Is it saying that ClojureCLR only runs with version 9.0.0, whereas I have 10.0.2? Or is it something else?I'm not an expert either, but I work a bit with ClojureCLR on Ubuntu and my experience is that it is pretty sensitive to the .NET version(s) installed. So, I'd say: yeah, go ahead and download that 9.0.0 version and install it, and see if that fixes the problem.
Okay, I'll give it a try.
Thanks
An alternative is to install the latest alpha. (It's quite stable, not to worry.) The 1.12.3 prerelease versions will run on .Net 10.
dotnet tool install --global Clojure.Main --version 1.12.3-alpha4@dmiller , I'm trying to do this for Clojure test suite local testing. What version of ClojureCLR do you recommend for that?
1.12.3-alpha4 It incorporates some fixes to some test suite issues that were discovered when putting in coverage for ClojureCLR.
I'm running into the same problem. I have 9.0.3 and 10.0.3 SDKs installed. I can run the latest Clojure.Main (alpha4), but not Clojure.Cljr - i get the same error message.
On Mac, I should clarify.