-
Notifications
You must be signed in to change notification settings - Fork 123
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
Eigen-related opam install error #56
Comments
It looks like Eigen didn't link to the correct c++ library. Have you tried to build Eigen by yourself? https://github.com/ryanrhymes/eigen With Eigen, it first tries to build a lib linking to C++ using https://github.com/ryanrhymes/eigen/blob/master/lib/Makefile Then Eigen will use oasis to build OCaml interface, you can see the What is the model of your machine? |
Eigen builds without problem, and seems to report that it's installed itself, but opam doesn't know about it. From the end of the output of
When I try You've given me enough to investigate further, though. Thanks very much- |
The problem was that when I installed gcc 7 using It was your comments led me to this problem--thanks again. I think you can close this. I'm not sure why this wasn't a problem on the other computer. |
Great, happy to know that you sorted out. Thanks for sharing this, it is also extremely useful others who might run into the same issue. I will improve the building and installation whenever I have time. Hopefully the future version will be better :) |
As I reported on another issue, I was able to build Owl from source successfully after I installed openBLAS on one of my machines ("2011"). Now I’m having trouble on the other machine ("2015"). Both run MacOS 10.11.6. I can’t build Owl from source on the 2015 machine—that was the first problem after I installed gcc 7 and openBLAS. (There's been fuss lately about a bug with Sandy Bridge vs. Ivy Bridge CPUs. I believe I have Ivy Bridge.)
Then I found out that I can’t install Owl via opam either, so I don’t think the problem is with compiling from raw source or with openBLAS. At this point, I don’t have owl installed on the 2015 machine because I’d gotten it uninstalled when trying to build Owl from source.
All or nearly all of the error messages mention eigen-related files. That's true when I try to build Owl from source, too, but there are more error messages.
I’m only including the error report from opam, since the problem doesn’t seem to be specific to building from raw source. Let me know if you want more, though.
No need to reply quickly. I can keep working on the 2011 machine. (It's slower, but in the end it's the one that really matters at present.)
If you get a moment, I'm wonding if any diagnosis or suggestions jump out at you from the error messages below. I’ve tried changing to a new switch, recompiling openBLAS,
opam uninstall
ing eigen, ctypes, etc. and reinstalling. Hopefully I didn't do something silly and obvious that I'm overlooking.Thanks!
The text was updated successfully, but these errors were encountered: