Hi,

On 28 Okt., 08:42, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi.
>
> When I try to use 'contrib' library, next error message occurs.
>
> user=> (use 'clozure.contrib.duck-streams)
> java.io.FileNotFoundException: Could not locate Clojure resource on
> classpath: clozure/contrib/duck_streams/duck_streams.clj
>
> My '.profile' file in home directory are as following:
> "export CLASSPATH=.:/Users/chanwoo/Documents/lisp/clozure/code:
> $CLASSPATH"
>
> canu-yuyi-macbook-air:duck_streams chanwoo$ pwd
> /Users/chanwoo/Documents/lisp/clojure/code/clojure/contrib/
> duck_streams
>
> How can I fix this? Any help appreciated.

There are several z's flying around. Please check the
correct typing: In your directory paths (as via pwd above)
you use clo*j*ure, while in the use call you use clo*z*ure.
(Stars for emphasis).

Since the directory setup with for CLASSPATH looks correct,
please try the following settings.
in your .profile:
export CLASSPATH=.:/Users/chanwoo/Documents/lisp/clojure/code:
$CLASSPATH"

in clojure:
(use 'clojure.contrib.duck-streams)

(Note: the j in clojure compared to your original z in clozure.)

Hope this helps.

Sincerely
Meikel
--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to