Windows MSI installer for a msysGit-compatible Clojure?

100 views
Skip to first unread message

MC Andre

unread,
Mar 1, 2013, 8:12:59 PM3/1/13
to clo...@googlegroups.com
I love Clojure, but I'm having trouble getting it installed in Windows (sometimes I use Windows).

Can someone provide an MSI installer for Clojure that adds a "clj.exe" to PATH?

I ask for an MSI and a "clj.exe", because every way I've tried to setup Clojure has failed:

* "chocolatey install clojure" uses "clj.bat", which msysGit can't run.
* Chocolatey Leiningen is alpha and fails to self-install.
* "lein" shell script is documented as working in Cygwin, but fails to self-install.
* clojure-box is out of date and doesn't work anymore.
* clojure-box installs several other packages that I don't want.

AtKaaZ

unread,
Mar 1, 2013, 8:16:21 PM3/1/13
to clo...@googlegroups.com
did you try with lein.bat ? it would bring all needed deps for your project (including clojure) in your ".m2" folder (maven) which is in %HOMEDRIVE%%HOMEpath%


--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Please correct me if I'm wrong or incomplete,
even if you think I'll subconsciously hate it.

Andrew Pennebaker

unread,
Mar 1, 2013, 8:35:45 PM3/1/13
to clo...@googlegroups.com
I've tried Chocolatey Leiningen, lein.bat, and the "Cygwin-compatible" lein shell script. All fail, either silently, or with thrown Java errors. :(


You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/QbbnD12322c/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Cheers,

Andrew Pennebaker

AtKaaZ

unread,
Mar 1, 2013, 9:01:20 PM3/1/13
to clo...@googlegroups.com
yeah looks like both lein and lein.bat fail with 403
curl: (22) The requested URL returned error: 403
Failed to download https://leiningen.s3.amazonaws.com/downloads/leiningen-2.1.0-SNAPSHOT-standalone.jar

Downloading Leiningen now...
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (403) Forbidden."
At line:1 char:137
+ & {param($a,$f) [Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}; (new-object System.Net.WebClient).DownloadFile <<<< ($a, $f)} https://leiningen.s3.amazonaws.com/downloads/leiningen-2.1.0-SNAPSHOT-standalone.jar C:\Users\u
ser\.lein\self-installs\leiningen-2.1.0-SNAPSHOT-standalone.jar.pending
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

so I don't know what to tell you, other than what I'd do (and you wouldn't want to): build leiningen from master(that's what I always do)

Phil Hagelberg

unread,
Mar 2, 2013, 10:44:23 AM3/2/13
to clo...@googlegroups.com


On Mar 1, 2013 6:01 PM, "AtKaaZ" <atk...@gmail.com> wrote:
> yeah looks like both lein and lein.bat fail with 403
> curl: (22) The requested URL returned error: 403
> Failed to download https://leiningen.s3.amazonaws.com/downloads/leiningen-2.1.0-SNAPSHOT-standalone.jar

That error just means you're trying to download an unreleased version. Use the stable branch or a tag.

Phil

AtKaaZ

unread,
Mar 2, 2013, 2:09:42 PM3/2/13
to clo...@googlegroups.com
nice, thanks. I'll stick with the building it from github, I only tried the self-install to see if I can help


--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages