-
Notifications
You must be signed in to change notification settings - Fork 20
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
exec_prefix used before expanded #25
Comments
Working around this issue can be done by explicitly passing |
On Fedora I have no idea how to work this around. But I guess other packages must have the same problem on Debian? |
I don't think this really is distro-specific rather autotools version dependant. As documented in autoconf docs1 exec_prefix defaults to $prefix and prefix defaults to /usr/local. |
In other words, it seems kind of by luck that your generated configure file has the exec_prefix snippet from configure.ac after the "expansion", while I end up not being so lucky with it before expansion. |
Looks more like a bug than a question of luck to me. There's no further down the |
I can confirm that. It also happens with building Python 2 extensions. It also happens in a Fedora 25 mock build, with a plain
I get So my guess is that rpmbuild just happens to set |
I'll dissect this tomorrrow (just can't assign this issue to me). |
Must be something else because |
Thanks a ton! |
@vpodzime: yes, that bit works; try |
Interesting. I have never cared about that. :) |
Hello!
Trying to build this project (on Debian) but running into issues when enabling the python3 bindings (python2 disabled so far):
The configure.ac references $exec_prefix in relation to the python bindings. The configure file generated in my build puts the code expanded from configure.ac related to $exec_prefix before it puts the code to expand exec_prefix from $prefix if exec_prefix is left at its default NONE value. I thus end up with python bindings being installed in
NONE/lib/python3.*/....
rather than/usr/lib/python3.*/....
I was told the solution was to move the usage of $exec_prefix from configure to make phase, but don't see how to do that here.
The text was updated successfully, but these errors were encountered: