Re: install clojure-contrib [noob]

2011-10-31 Thread S. Mosciatti
Ok, I've installed clojure 1.3 without any problems...

So, to install any libraries, what are the step ???
Just download and put it in the path and in the dependence of the
project ???

I'm sorry for this so stupid question, but I can't find answer on
internet...

On Oct 30, 4:22 pm, Stuart Sierra the.stuart.sie...@gmail.com wrote:
 Hi S.,

 Those are very old instructions.  Clojure's Git repository is now
 located athttp://github.com/clojure/clojure

 You can get the latest release of clojure fromhttp://clojure.org/

 clojure-contrib is no longer one big thing that you download and
 install. Instead it is a collection of small libraries. More
 information here:http://dev.clojure.org/display/design/Clojure+Contrib

 -Stuart Sierra
 clojure.com

 On Oct 30, 11:30 am, S. Mosciatti mweb@gmail.com wrote:







  Hi guys,

  I'm so sorry, but I'de spend so much time without success, that now i
  want try to ask, i know that i'm not the first, but please...

  I'm in Ubuntu 11.04, I' ve installed clojure following this steps,
  [url]http://riddell.us/ClojureOnUbuntu.html[/url], but i'm stopped
  here:

  Install clojure-contrib

  clojure-contrib is the offical clojure language extension library. It also 
  includes a start-up script for launching a REPL with various java options.

  ~$ cd ~/opt

  ~$ git clone git://github.com/richhickey/clojure-contrib.git

  ~$ cd clojure-contrib

  ~$ mvn install

  ~$ cp target/clojure-contrib*.jar ~/.clojure/clojure-contrib.jar

  mvn install doesn't create any .jar file ???

  So i tried to do mvn package but i get an error:

  [INFO] 
  
  [ERROR] BUILD ERROR
  [INFO] 
  
  [INFO] Failed to resolve artifact.

  Missing:
  --
  1) org.clojure:clojure:jar:1.2.0-master-SNAPSHOT

    Try downloading the file manually from the project website.

    Then, install it using the command:
        mvn install:install-file -DgroupId=org.clojure -DartifactId=clojure 
   -Dversion=1.2.0-master-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file 
   there:
        mvn deploy:deploy-file -DgroupId=org.clojure -DartifactId=clojure 
   -Dversion=1.2.0-master-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file 
   -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
      1) org.clojure:clojure-contrib:jar:1.2.0-SNAPSHOT
      2) org.clojure:clojure:jar:1.2.0-master-SNAPSHOT

  --
  1 required artifact is missing.

  for artifact:
    org.clojure:clojure-contrib:jar:1.2.0-SNAPSHOT

  from the specified remote repositories:
    central (http://repo1.maven.org/maven2),
    clojure-snapshots (http://build.clojure.org/snapshots),
    clojure-releases (http://build.clojure.org/releases)

   and I've no idea what file download...

  Can somebody help me???

  Thanks...

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


Re: install clojure-contrib [noob]

2011-10-31 Thread Stuart Sierra
Managing Java/Clojure libraries is usually handled by a dedicated tool like 
Maven or Leiningen.

Leiningen is an easy-to-use tool designed specifically for Clojure:
https://github.com/technomancy/leiningen

-Stuart Sierra
http://clojure.com/

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

Re: install clojure-contrib [noob]

2011-10-30 Thread Stuart Sierra
Hi S.,

Those are very old instructions.  Clojure's Git repository is now
located at http://github.com/clojure/clojure

You can get the latest release of clojure from http://clojure.org/

clojure-contrib is no longer one big thing that you download and
install. Instead it is a collection of small libraries. More
information here: http://dev.clojure.org/display/design/Clojure+Contrib

-Stuart Sierra
clojure.com


On Oct 30, 11:30 am, S. Mosciatti mweb@gmail.com wrote:
 Hi guys,

 I'm so sorry, but I'de spend so much time without success, that now i
 want try to ask, i know that i'm not the first, but please...

 I'm in Ubuntu 11.04, I' ve installed clojure following this steps,
 [url]http://riddell.us/ClojureOnUbuntu.html[/url], but i'm stopped
 here:

 Install clojure-contrib

 clojure-contrib is the offical clojure language extension library. It also 
 includes a start-up script for launching a REPL with various java options.

 ~$ cd ~/opt

 ~$ git clone git://github.com/richhickey/clojure-contrib.git

 ~$ cd clojure-contrib

 ~$ mvn install

 ~$ cp target/clojure-contrib*.jar ~/.clojure/clojure-contrib.jar

 mvn install doesn't create any .jar file ???

 So i tried to do mvn package but i get an error:









 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.clojure:clojure:jar:1.2.0-master-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.clojure -DartifactId=clojure 
  -Dversion=1.2.0-master-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the file 
  there:
       mvn deploy:deploy-file -DgroupId=org.clojure -DartifactId=clojure 
  -Dversion=1.2.0-master-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file 
  -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
     1) org.clojure:clojure-contrib:jar:1.2.0-SNAPSHOT
     2) org.clojure:clojure:jar:1.2.0-master-SNAPSHOT

 --
 1 required artifact is missing.

 for artifact:
   org.clojure:clojure-contrib:jar:1.2.0-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   clojure-snapshots (http://build.clojure.org/snapshots),
   clojure-releases (http://build.clojure.org/releases)

  and I've no idea what file download...

 Can somebody help me???

 Thanks...

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