This is an automated email from the ASF dual-hosted git repository.
npr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new a086ac6 ARROW-10780: [R] Update known R installation issues for
CentOS 7
a086ac6 is described below
commit a086ac6b5c1f7e72aa8db214bbf362c53c4a7df0
Author: Matthew Pollock <[email protected]>
AuthorDate: Tue Dec 1 15:14:27 2020 -0800
ARROW-10780: [R] Update known R installation issues for CentOS 7
Update known installation issues vignette per discussion in ARROW-10780
Closes #8813 from mattpollock/master
Lead-authored-by: Matthew Pollock <[email protected]>
Co-authored-by: Neal Richardson <[email protected]>
Signed-off-by: Neal Richardson <[email protected]>
---
r/vignettes/install.Rmd | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/r/vignettes/install.Rmd b/r/vignettes/install.Rmd
index 6edb142..33828ef 100644
--- a/r/vignettes/install.Rmd
+++ b/r/vignettes/install.Rmd
@@ -284,8 +284,18 @@ so that we can attempt to improve the script.
## Known installation issues
* On CentOS, if you are using a more modern `devtoolset`, you may need to set
-the environment variables `CC=/usr/bin/gcc CXX=/usr/bin/g++`.
-See discussion [here](https://issues.apache.org/jira/browse/ARROW-8586).
+the environment variables `CC` and `CXX` either in the shell or in R's
`Makeconf`.
+For CentOS 7 and above, both the Arrow system packages and the C++ binaries
+for R are built with the default system compilers. If you want to use either
of these
+and you have a `devtoolset` installed, set `CC=/usr/bin/gcc CXX=/usr/bin/g++`
+to use the system compilers instead of the `devtoolset`.
+Alternatively, if you want to build `arrow` with the newer `devtoolset`
compilers,
+set both `ARROW_USE_PKG_CONFIG` and `LIBARROW_BINARY` to `false` so that
+you build the Arrow C++ from source using those compilers.
+Compiler mismatch between the arrow system libraries and the R
+package may cause R to segfault when `arrow` package functions are used.
+See discussions [here](https://issues.apache.org/jira/browse/ARROW-8586)
+and [here](https://issues.apache.org/jira/browse/ARROW-10780).
* If you have multiple versions of `zstd` installed on your system,
installation by building the C++ from source may fail with an undefined symbols