|
|
|
|
|
by apl
5092 days ago
|
|
> getting Clojure, Leiningen, etc working on my Linux
> system was quite a chore
Can you elaborate on that? Tooling and set-up used to be one of Clojure's big weaknesses; they are less so now. On Ubuntu, for instance, it shouldn't be much more than $ sudo apt-get install leiningen
$ lein new my-proj
What went wrong? |
|
Setting up Clojure
Followed the gist of http://riddell.us/ClojureSwankLeiningenWithEmacsOnLinux.html (no longer existing) The first time, invoking 'mvn2 install' to build clojure-contrib jar failed. Later, after cleaning up Java, it worked.
Java was already installed, so I apt-get installed ant and maven2
Create a bash script called clj to start clojure with these commands: Running clj in the terminal worked, with the repl functioning as expected.For emacs:
SLIME, clojure-mode and leiningen Execute the leiningen script For some reason, this didn't work in emacs and I opted instead to run Clojure in jEdit. It worked but I didn't quite like the jEdit look and feel. Anyway, the long and the short of it was I played with Clojure mainly in jEdit for a while.As you said, the setup process was not well documented at that time and it was quite frustrating. I'm sure it's better now. I'm going to play with Clojure in Light Table again, and if it excites me, I'll have another go at a full Clojure install.