geeksville / arduleader

An android ground controller (and other things) for Mavlink/Arduplane
Other
143 stars 92 forks source link

New build fails with unresolved dependencies #160

Open daveheigl opened 10 years ago

daveheigl commented 10 years ago

I am attempting to build the code from scratch on an Ubuntu 14.04 system. I think the issue is that akka.typesafe.com doesn't resolve, but I'm not certain. I'm new to sbt/scala/etc. Below is the log of the attempt, the error is towards the end.

dave@t61:~/code$ rm -rf arduleader/ dave@t61:~/code$ git clone git://github.com/geeksville/arduleader.git Cloning into 'arduleader'... remote: Reusing existing pack: 14683, done. remote: Counting objects: 22, done. remote: Compressing objects: 100% (22/22), done. ^Cceiving objects: 7% (1084/14705), 20.94 MiB | 216.00 KiB/s
dave@t61:~/code$ git clone git://github.com/geeksville/arduleader.git Cloning into 'arduleader'... remote: Reusing existing pack: 14683, done. remote: Counting objects: 22, done. remote: Compressing objects: 100% (22/22), done. remote: Total 14705 (delta 3), reused 0 (delta 0) Receiving objects: 100% (14705/14705), 67.57 MiB | 390.00 KiB/s, done. Resolving deltas: 100% (7687/7687), done. Checking connectivity... done. dave@t61:~/code$ cd arduleader dave@t61:~/code/arduleader$ git submodule init Submodule 'droneapi-protobuf' (git@github.com:diydrones/droneapi-protobuf.git) registered for path 'droneapi-protobuf' Submodule 'scandroid' (git://github.com/geeksville/scandroid.git) registered for path 'scandroid' dave@t61:~/code/arduleader$ git submodule update Cloning into 'droneapi-protobuf'... Warning: Permanently added the RSA host key for IP address '192.30.252.129' to the list of known hosts. remote: Reusing existing pack: 48, done. remote: Total 48 (delta 0), reused 0 (delta 0) Receiving objects: 100% (48/48), 15.97 KiB | 0 bytes/s, done. Resolving deltas: 100% (16/16), done. Checking connectivity... done. Submodule path 'droneapi-protobuf': checked out '24deed2bf2481e4635873c18e5aa094df2ede0fb' Cloning into 'scandroid'... remote: Reusing existing pack: 300, done. remote: Total 300 (delta 0), reused 0 (delta 0) Receiving objects: 100% (300/300), 360.18 KiB | 0 bytes/s, done. Resolving deltas: 100% (104/104), done. Checking connectivity... done. Submodule path 'scandroid': checked out '72d6c88988b6393e82c03d6299a3fc9290a5535d' dave@t61:~/code/arduleader$ sbt [info] Loading project definition from /home/dave/code/arduleader/project [info] Updating {file:/home/dave/code/arduleader/project/}default-b79a00... [info] Resolving org.scala-sbt#precompiled-2_10_0-m7;0.12.1 ... [info] Done updating. [info] Compiling 1 Scala source to /home/dave/code/arduleader/project/target/scala-2.9.2/sbt-0.12/classes... [info] Set current project to scalafly (in build file:/home/dave/code/arduleader/) [info] Set current project to andropilot (in build file:/home/dave/code/arduleader/)

project posixpilot [info] Set current project to posixpilot (in build file:/home/dave/code/arduleader/) compile [info] Updating {file:/home/dave/code/arduleader/}gcommon... [info] Resolving com.typesafe.akka#akka-actor_2.10;2.4-SNAPSHOT ... [warn] module not found: com.typesafe.akka#akka-actor_2.10;2.4-SNAPSHOT [warn] ==== local: tried [warn] /home/dave/.ivy2/local/com.typesafe.akka/akka-actor_2.10/2.4-SNAPSHOT/ivys/ivy.xml [warn] ==== Typesafe Repository: tried [warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor_2.10/2.4-SNAPSHOT/akka-actor_2.10-2.4-SNAPSHOT.pom [warn] ==== public: tried [warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.10/2.4-SNAPSHOT/akka-actor_2.10-2.4-SNAPSHOT.pom [info] Resolving com.typesafe.akka#akka-slf4j_2.10;2.4-SNAPSHOT ... [warn] module not found: com.typesafe.akka#akka-slf4j_2.10;2.4-SNAPSHOT [warn] ==== local: tried [warn] /home/dave/.ivy2/local/com.typesafe.akka/akka-slf4j_2.10/2.4-SNAPSHOT/ivys/ivy.xml [warn] ==== Typesafe Repository: tried [warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-slf4j_2.10/2.4-SNAPSHOT/akka-slf4j_2.10-2.4-SNAPSHOT.pom [warn] ==== public: tried [warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-slf4j_2.10/2.4-SNAPSHOT/akka-slf4j_2.10-2.4-SNAPSHOT.pom [info] Resolving net.sandrogrzicic#scalabuff-compiler_2.10;1.3.7 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.typesafe.akka#akka-actor_2.10;2.4-SNAPSHOT: not found [warn] :: com.typesafe.akka#akka-slf4j_2.10;2.4-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [trace] Stack trace suppressed: run last gcommon/:update for the full output. [error](gcommon/:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor_2.10;2.4-SNAPSHOT: not found [error] unresolved dependency: com.typesafe.akka#akka-slf4j_2.10;2.4-SNAPSHOT: not found [error] Total time: 1 s, completed Jul 27, 2014 10:03:56 PM

deriyuval commented 10 years ago

Had that problem too, Took me some time to find the answer here, http://doc.akka.io/docs/akka/snapshot/dev/building-akka.html

I'll make i easy for you:

cd ~/development
git clone git://github.com/akka/akka.git
cd akka
sbt compile
sbt publish-local

Worked for me