-
Notifications
You must be signed in to change notification settings - Fork 10
PKG_CONFIG_PATH issue on Debian #43
Comments
Hi Aaron! Thanks for the report. This definitely needs to be addressed. I don't have the bandwidth to tackle this myself right now, but if you or anyone else can take a crack at it, I'll be happy to merge PRs. I'm not totally sure what the best way to address this is, however. |
Ok, I will look at this issue and maybe provide a fix soon. |
As I discovered in issue #46, it appears that the changes made to fix this actually break other things. Looking at the git history of the OpenEXR project, it also appears that they have always used So I'm really not sure what's going on that's causing the build issues for @Aaron19960821. For now, I'm going to effectively revert the fix, since it seems to break things everywhere except @Aaron19960821's situation. I do, of course, still want to fix things for Aaron as well, but more investigation is needed. |
@cessen I found that OpenEXR is developing in both 2.4.x and 2.5.x. They change the PKG_CONFIG_PATH in both versions. In your case, you tend to initialize your environment with libopenexr24-dev and they also change the idea. I am not sure how to fix this issue. A trivial solution is that we mention it in README.md to tell the users to check this if they meet related errors? |
Yeah, I saw that they mentioned the same change in v2.4.2 as well. And the first thing I actually did was take a crack at making a fix that accounted for that as well. But in the process, I noticed some things, then checked some things, and discovered:
So it seems like what they're referring to in the release notes for v2.5.2 and v2.4.2 isn't related to the I could have missed something, of course. But at the very least, the situation does not seem obvious, and I think more investigation is warranted to figure out what's actually going on. |
I was trying to build OpenEXR v2.3.0 on Debian 10,
If we build OpenEXR(Version <= 2.5.2) from source, then it will name the pkg config file as "Ilmbase.pc" instead of "OpenEXR.pc"
Thus when we build the project, it will run into the following issue:
The changelog of OpenEXR is here: https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.2
Can we make some changes to mitigate this issue?
The text was updated successfully, but these errors were encountered: