-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[R] Issues with configure script #35710
Comments
@nealrichardson Would you mind taking a look at this one? |
Thanks for the report!
Have you encountered a scenario where you have a C++ library with version x.0.0.2 and R package with x.0.0.3? The
Good catch. It was always hard-coded for the non- |
No, I've encountered a scenario where I have a C++ library with version x.0.0 and R package with x.0.0.3. That happened with x=11.
Exactly, so my expectation is that R package x.0.0.3 should find C++ library version x.0.0 as compatible. And it does not currently. |
Ah, got it, thanks |
### Rationale for this change See #35710 ### What changes are included in this PR? * [Get `LIB_DIR` from `pkg-config` where possible](c8d09eb), to handle the possibility that it is `lib64` and not just `lib` on some platforms. * [Allow x.y.z.1 to use x.y.z C++ library](a77f909), so that apt/yum official release packages can be used with patched versions submitted to CRAN. ### Are these changes tested? The version check change has a unit test. The LIB_DIR change hopefully is well enough covered by our existing CI. * Closes: #35710 Authored-by: Neal Richardson <neal.p.richardson@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…ache#36435) ### Rationale for this change See apache#35710 ### What changes are included in this PR? * [Get `LIB_DIR` from `pkg-config` where possible](apache@c8d09eb), to handle the possibility that it is `lib64` and not just `lib` on some platforms. * [Allow x.y.z.1 to use x.y.z C++ library](apache@a77f909), so that apt/yum official release packages can be used with patched versions submitted to CRAN. ### Are these changes tested? The version check change has a unit test. The LIB_DIR change hopefully is well enough covered by our existing CI. * Closes: apache#35710 Authored-by: Neal Richardson <neal.p.richardson@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Describe the bug, including details regarding any error messages, version, and platform.
I found two issues with the latest rewrite of the configure script for the R package:
LIB_DIR
is hardcoded here tosomething/lib
. In many systems, this islib64
, notlib
, andpkgconfig
provides this info.Component(s)
R
The text was updated successfully, but these errors were encountered: