-
Notifications
You must be signed in to change notification settings - Fork 15
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
configure does not find PETSc from Fedora's repositories #5
Comments
The thing is that, unlike Debian and Ubuntu, Fedora separated the C header includes from the make includes and did not respect the structured of PETSc's source tree. This leads to checking for a valid |
Yeah, sure. As you said, I think I must come up with some weird exceptions on configure.ac to make the also weird PETSc Fedora package detectable. |
The command
on configure.ac gives me the following output (cut):
Still need to find out how to trim the Do you know anything about pkg-config? Because as more as I dig, more confused it gets (at least in Fedora). |
Here's the thing I found when playing with Fedora a couple of weeks ago: the Now, since detecting a manually-compiled PETSc is a must, I am reluctant to change the current approach. I was thinking of something like "if I didn't find anything manually and the procedure for The main thing to do is to locate the
So to answer your question: no, I don't know anything about |
We're on the same page here: we must add a work-around for Fedora and not touch the code that works for Debian and Ubuntu. They're the ones who are installing PETSc the way PETSc developers expect.
If at least Fedora had the
Again I'm with you. I'm just wondering if the it is worth the work. After all, Fedora doesn't even bother to provide SLEPc as a package. So much work to detecting PETSc as a package in Fedora just to make the user realize it must install SLEPc from its tar.gz because he/she has no other option... It seems too much trouble to the avail of the small set of feenox users that run Fedora and just want to use PETSc without SLEPc functionality. |
I installed Fedora 33 in Vagrant and I see this:
Indeed. But what are you going to do when time comes for you to prepare the Fedora package for FeenoX? :-D |
And you're right. The same happens for Fedora 34. My mistake here.
Man, you have a pretty good point. I can't dodge this. :-) |
If
$PETSC_DIR
is empty,configure
sets it as/usr/lib/petsc
which works for finding PETSc installed from the repositories in both Debian and Ubuntu. This procedure fails on Fedora.The text was updated successfully, but these errors were encountered: