jflanigan / jamr

JAMR Parser and Generator
BSD 2-Clause "Simplified" License
193 stars 50 forks source link

Setup error #43

Open deepaca opened 4 years ago

deepaca commented 4 years ago

I downloaded the JAMR parser.

git clone https://github.com/jflanigan/jamr.git git checkout Semeval-2016

Then I run the command ./setup But an error occurred as follows:

:::: ERRORS SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.4/scala-library-2.10.4.pom

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.4/scala-library-2.10.4.jar

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.4/scala-compiler-2.10.4.pom

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.4/scala-compiler-2.10.4.jar

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/jline/jline/2.11/jline-2.11.pom

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/jline/jline/2.11/jline-2.11.jar

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0.pom

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.pom

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.jar

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/org/scala-sbt/test-interface/1.0/test-interface-1.0.pom

SERVER ERROR: Not Implemented url=http://repo1.maven.org/maven2/org/scala-sbt/test-interface/1.0/test-interface-1.0.jar

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS unresolved dependency: org.scala-lang#scala-library;2.10.4: not found unresolved dependency: org.scala-lang#scala-compiler;2.10.4: not found unresolved dependency: jline#jline;2.11: not found unresolved dependency: org.apache.ivy#ivy;2.3.0: not found unresolved dependency: com.jcraft#jsch;0.1.46: not found unresolved dependency: org.scala-sbt#test-interface;1.0: not found Error during sbt execution: Error retrieving required libraries (see /home/teqip-ii-cse-nlp-01-01/.sbt/boot/update.log for complete log) Error: Could not retrieve sbt 0.13.5

What can I do to resolve this issue.

Thanks in advance.

anranh97 commented 4 years ago

same problem....

DebayanChakraborty commented 4 years ago

same issue

311dada commented 3 years ago

same issue

palakbh18 commented 3 years ago

did anybody get the solution?

ZhangYunchenY commented 2 years ago

anybody solved?

BehroozMansouri commented 2 years ago

Same issue

LucyFann commented 2 years ago

same issue

LeonardoEmili commented 2 years ago

I managed to successfully install JAMR (after several hours of effort):

If it raises some error with sbt you may try running it before the setup itself.


Update

I created a PR that fixes the installation issues.

JoshC8C7 commented 2 years ago

I managed to successfully install JAMR (after several hours of effort):

  • manually install sbt and scala using SDKMAN! (respectively at versions 1.0.2 and 2.11.8)
  • clone the repo: git clone https://github.com/jflanigan/jamr.git
  • checkout to the setup branch: git checkout setup --
  • update the scala version in the CLASSPATH env variable in the scripts/config.sh script to point to the correct folder (e.g. scala-2.11)
  • source the configuration script to apply changes: . scripts/config.sh
  • finally run the setup with ./setup

If it raises some error with sbt you may try running it before the setup itself.

This worked for me; just to clarify some things for anyone else stuck: config.sh just points to one of the config_Semeval-xxxxxx.sh, so you need to set the CLASSPATH variable within the top of whichever of those you've chosen - set that and the SCALA variable to wherever sdkman has put scala E.g. export SCALA='~josh/.sdkman/candidates/scala/current/bin' and export CLASSPATH="~josh/.sdkman/candidates/scala/current/bin/jamr-assembly-0.1-SNAPSHOT.jar"

Then run source config.sh in the scripts folder, and then (in a new shell) run sbt, finally return to the previous shell to run ./setup.

longxudou commented 2 years ago

Please refer to issue https://github.com/jflanigan/jamr/issues/44 for latest update. @LeonardoEmili has done a nice summary!