Compiling IllegalStateException Clojure -Contrib

I am trying to compile my own version of clojure -contrib with Maven. I get the following exception:

Exception in thread "main" java.lang.IllegalStateException: Can't dynamically bind non-dynamic var: clojure.contrib.pprint/*format-str*, compiling:(dispatch.clj:90) 

I also use the following command to compile it:

 mvn package -Dclojure.jar=/usr/local/share/jars/clojure.jar 

clojure.jar refers to the actual jar (i.e. the same directory) because I am using the version that I compiled from the Git repository.

Any ideas?

Thanks in advance for your comments! =)

+7
source share
1 answer

clojure -contrib, a single monolithic build, is deprecated after Clojure 1.2.0 and is not actively supported. It is not based on the latest releases of Clojure 1.3.0-alpha *.

New contribution libraries, one in the Github repository, are created under http://github.com/clojure

See http://dev.clojure.org/display/design/Clojure+Contrib and its subpages for more details.

+8
source

All Articles