ztellman / penumbra

not under active development - idiomatic opengl bindings for clojure
354 stars 43 forks source link

lein deps: 2 required artifacts are missing. #33

Closed thirdreplicator closed 11 years ago

thirdreplicator commented 13 years ago

downloaded a fresh copy

git clone https://github.com/ztellman/penumbra.git

then,

lein deps

gives me http://www.pastie.org/1340614

Sorry, I'm kind of retarded when it comes to lein errors. Does anybody know how to fix this?

BTW, I'm on a Mac using Leiningen 1.3.1, and mvn is installed. BTW2, everything works fine on my Ubuntu box.

Thank you, D :)

kavu commented 13 years ago

Exactly the same for me, but i am on Arch Linux :-(

mcmire commented 13 years ago

I was getting the same error. It looks like autodoc 0.7.1 depends on clojure-contrib 1.1.0 which doesn't exist anymore (for whatever reason). Furthermore, lein-swank 1.1.0 also depends on clojure 1.1.0. If you look in the penumbra folder, there's a file called project.clj, that's what tells lein which dependencies it needs to install. There's a way to force-remove a dependency from a dependency. The fix is described here, but basically you need to replace project.clj with this:

(defproject penumbra "0.6.0-SNAPSHOT"
  :description "An idiomatic wrapper for OpenGL"
  :dependencies [[slick-util "1.0.0"]
                 [cantor "0.2.1"]
                 [org.clojure/clojure "1.2.0"]
                 [org.clojure/clojure-contrib "1.2.0"]]
  :native-dependencies [[penumbra/lwjgl "2.4.2"]]
  :dev-dependencies [[native-deps "1.0.4"]
                     [autodoc "0.7.1" :exclusions [org.clojure/clojure-contrib org.clojure/clojure]]
                     [lein-clojars "0.5.0-SNAPSHOT"]
                     [leiningen/lein-swank "1.1.0" :exclusions [org.clojure/clojure-contrib org.clojure/clojure]]])