I am new to clojure.  I am just trying to install and use feedparser-
clj.  I ran "lein install" and it said it completed ok.

>git clone git://github.com/scsibug/feedparser-clj.git
>cd feedparser-clj/
>lein install
...
Compiling feedparser-clj.core
Compilation succeeded.
Created /Users/bstewart/feedparser-clj/feedparser-clj-0.3.jar
Wrote pom.xml
[INFO] Installing /Users/bstewart/feedparser-clj/feedparser-
clj-0.3.jar to /Users/bstewart/.m2/repository/org/clojars/scsibug/
feedparser-clj/0.3/feedparser-clj-0.3.jar

But when I try to use the library in clojure repl, it fails with
following error:

Clojure 1.2.0
user=> (ns user (:use feedparser-clj.core) (:require
[clojure.contrib.string :as string]))
java.io.FileNotFoundException: Could not locate feedparser_clj/
core__init.class or feedparser_clj/core.clj on classpath:
(NO_SOURCE_FILE:1)

So seems it is a classpath error but I am also new to java so how can
I check that class path is ok?  I dont have any $CLASSPATH variable
set AFAIK.  I tried:

>export CLASSPATH=$CLASSPATH:/<path to feedparser-clj-0.3.jar

But that had no effect, still got same error in REPL.

Thanks
Bob

-- 
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

Reply via email to