Hello, I am trying to use the str-utils library with Clojure (or the str-utils2, I understand str-utils was deprecated). Neither of these work for me. I am on OS X 10.6.4 and have installed clojure-contrib via the MacPorts system. The clojure-contrib is in my classpath; see below for a transcript of what I did.
I have been struggling with this for hours, searching through Google, asking on the IRC channel....all to load a library from clojure- contrib. Any ideas what I'm missing? [ 10:41 PM (58) aleph:thoth ~/Source/clojure ] > echo $CLASSPATH /opt/local/share/java/clojure/lib [ 10:41 PM (59) aleph:thoth ~/Source/clojure ] > ls -al $CLASSPATH total 8200 drwxr-xr-x 5 root admin 170 Oct 29 23:00 . drwxr-xr-x 5 root admin 170 Oct 3 23:14 .. -rw-r--r--@ 2 root admin 477050 Oct 29 23:35 clojure-contrib.jar -rw-r--r--@ 2 root admin 3237168 Oct 3 23:14 clojure.jar [ 10:41 PM (60) aleph:thoth ~/Source/clojure ] > clj Clojure 1.2.0 user=> (use 'clojure.contrib.str-utils) java.io.FileNotFoundException: Could not locate clojure/contrib/ str_utils__init.class or clojure/contrib/str_utils.clj on classpath: (NO_SOURCE_FILE:0) user=> (use 'clojure.contrib.str-utils2) java.io.FileNotFoundException: Could not locate clojure/contrib/ str_utils2__init.class or clojure/contrib/str_utils2.clj on classpath: (NO_SOURCE_FILE:0) Thanks, steven -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en