-
Notifications
You must be signed in to change notification settings - Fork 230
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
Building from source on Rocky 8.10 eigen3 library not found #3485
Comments
Does |
@d-torrance should autotools build also have a target to download/configure/install eigen? (it's a header-only library so there's nothing to build really) |
I ended up doing
and running
I then ran |
Yeah, that's a good idea. |
@trevorkarn did the build succeed? I added a reference to this issue in the wiki. Feel free to add any other details that would be helpful for people building M2 on RHEL in the future. |
It did not succeed. I am now struggling with GIVARO |
For what it's worth, once #3487 is merged, eigen should be discovered without having to mess with pkg-config, so long as it's installed in a standard header directory or What specific givaro issues are you having? I've also been trying to get the build to work in RHEL 8, ideally before the next release, but there are lots of little issues like this since so few packages are available in the RHEL repositories. |
I installed givaro, by following https://github.com/linbox-team/givaro?tab=readme-ov-file#download-and-install with
I am again having trouble configuring. I tried
and get the error
If I ignore that error, and run make anyway, since I think a previous configuration seemed to work (how do I check that?), I get
|
I reinstalled givaro in
which gives output ending in
|
You shouldn't have to build givaro yourself -- the M2 build script will do it for you. That being said, I'm getting stuck at the same spot you are. The BLAS part of the autotools build needs an overhaul -- I'm hoping to work on that soon. |
How do I tell which things I should have to build myself and which things the M2 build script will/is supposed to do for me? I didn't have BLAS installed, so I am trying to install BLAS from source now. |
Basically, if you get an error before
If you build BLAS manually, then you might be able to point fflas-ffpack in the right direction by modifying |
I'd also like to try building on autotools and cmake on macos sonoma, with all packages being built. So far, I have had some troubles also with at least eigen (if I recall correctly). It would be nice to make sure this works. |
I sucessfully built OpenBLAS using
I modified
It failed with:
Do you have any advice of where to go from here? |
To tell the linker where libraries are, you'll want to use "-L" and to tell the compiler where headers are, you'll want to use "-I". So it will probably be something like:
You may also need |
I have the following
so I adjusted the
and I continue to get
|
I am trying to install from source on a Rocky 8.10 system which I don't have admin access on.
I tried following the directions at https://macaulay2.com/Downloads/SourceCode/, cloned from GitHub into
~/M2/
and ranI initially had issues with tbb, but followed #3055, and installed the newest version of tbb using cmake following https://github.com/oneapi-src/oneTBB/blob/master/INSTALL.md. I did use
-DCMAKE_INSTALL_PREFIX=${HOME}/local
since I don't have admin access. That solved the tbb problem.After solving the tbb problem, I again ran
from
M2/BUILD/foo
. Then I got the errorand the build stopped. I tried building the eigen3 library but that did not work for some reason. I think that eigen3 did install, because I am able to run the toy program from https://eigen.tuxfamily.org/dox/GettingStarted.html that prints a matrix by running
I would have thought that setting
CPPFLAGS="-I/${HOME}/local/include"
would have been enough to fix the problem, but I am wrong.The text was updated successfully, but these errors were encountered: