New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build current HEAD #88
Comments
Hrm... maybe try running sbt update first? -- David On Tue, Sep 24, 2013 at 10:27 AM, Martin Senne notifications@github.comwrote:
|
Hi David, pretty damn fast reply ;) What precisely do you mean by sbt update? I'm on sbt-13.0 . Or do you mean update-sbt-classifiers ??? Changing beta4 to beta8 worked, but still I'm not able to build. Now I'm experiencing The try to revert to 1.0 (instead of 1.1-snapshot) of netlib had no success as code in breeze has changed. Any ideas, why arpack_combined isn't found. Or is there any jar which needs to be put manually to local Maven repo. Cheers, Martin |
Calling update in sbt deliver
|
Okay, compilation works now. Downloading the javadoc for arpack_combined_all.jar and installing in the maven repo did the trick. I'm irrated, why this did the trick. Seems that either 1.1-Snapshop of netlib is faulty or something with the breeze Project.scala . Comments? |
I should be able to get this fixed. It'll be a week or two. Sorry about all We're just now moving to a new base library, and so a few things are a -- David On Tue, Sep 24, 2013 at 12:09 PM, Martin Senne notifications@github.comwrote:
|
I have a fatal problem when trying to use breeze. breeze.linalg._ is broken: a simple vector subtraction (v1-v2) results in: Exception in thread "main" java.lang.NoClassDefFoundError: com/github/fommil/netlib/BLAS I followed the installation instructions perfectly. I also have BLAS and LAPACK installed as shared libraries (linux x86_64, ubuntu 13.04) and it works with numpy. When I run sbt test, I get this nasty output (I've cut it down to size): SIGSEGV (0xb) at pc=0x00007f32754caeaa, pid=20873, tid=139854418163456 JRE version: 6.0_45-b06 Problematic frame: --------------- T H R E A D --------------- Current thread (0x00007f32700c2800): JavaThread "pool-7-thread-4" [_thread_in_vm, id=22628, stack(0x00007f3264da3000,0x00007f3264ea4000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000 Registers: Top of Stack: (sp=0x00007f3264ea0530) Instructions: (pc=0x00007f32754caeaa) Register to memory mapping: RAX=0x0000000000000000 is an unknown value Stack: [0x00007f3264da3000,0x00007f3264ea4000], sp=0x00007f3264ea0530, free space=1013k Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) (etc.) It seems like the culprit is: I would really appreciate any and all help in figuring out this mess. I wanted to start migrating some of my research code to Scala and use breeze. I've spent all night trying to get this to work. It seems as if breeze is currently in an unusable state at least one more week. Is this true? I'd like to know exactly when breeze will be considered stable again so that I can make development plans. |
I have solved my problem. It came down to me not using sbt to build and manage all of the dependencies. At first, I noticed that doing sbt console in the breeze directory would give me a Scala REPL that allowed me to call these vector operations and such. I reconfigured my project to use sbt to manage & build it (I use Intellij so i also got the SBT plugin http://blog.jetbrains.com/scala/). |
Ah, yeah, I recommend using sbt gen-idea: https://github.com/mpeltonen/sbt-idea It will generate project files so that IntelliJ knows where everything is. I also use SBT to actually build the project, but it's good to let IntelliJ know where all the dependencies are. -- David |
(I think this is fixed now?) |
Works like a charme with commit c19767d |
When starting sbt and doing a compile on current HEAD
6371bf9
I experience a
[warn] [NOT FOUND ] org.apache.logging.log4j#log4j-api;2.0-beta4!log4j-api.jar (1ms)
[warn] ==== Maven2 Local: tried
and can not build. As this is my first real contact with sbt (instead of maven) any help is welcome.
Thanks
Martin
The text was updated successfully, but these errors were encountered: