[ 
https://issues.apache.org/jira/browse/ARROW-7864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058231#comment-17058231
 ] 

Neal Richardson commented on ARROW-7864:
----------------------------------------

It looks like the first scenario (not using system packages but still linking 
to them) is not reproducible: 
https://github.com/apache/arrow/issues/6435#issuecomment-597921276

The other scenario, using system packages that don't match the current version, 
is documented in a few places. I'll add a check for version mismatch and warn 
if it doesn't match but I think that's it for now.

> [R] Make sure bundled installation works even if there are system packages
> --------------------------------------------------------------------------
>
>                 Key: ARROW-7864
>                 URL: https://issues.apache.org/jira/browse/ARROW-7864
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Neal Richardson
>            Priority: Major
>             Fix For: 0.17.0
>
>
> Among the issues:
> * In https://github.com/apache/arrow/issues/6435: 0.15 system packages didn't 
> have libarrow_dataset, so if they're installed and you try to install 0.16, 
> pkg-config probably reports that the packages aren't available and it tries 
> to build from source. That's fine except that in the linking step, apparently 
> the system packages are being picked up instead of the static libs we just 
> built, so installation fails (presumably until you either upgrade the system 
> packages or delete them). In general, if we've decided to build/download 
> static libs to match the R package, we should make sure those are the ones 
> that get picked up.
> * Whenever pkg-config does find packages, check the version and make sure it 
> matches the R version, and if not, don't use them because they almost 
> certainly won't work.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to