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

kohleth commented on ARROW-6029:
--------------------------------

Thanks! it is indeed the version mismatch.

> [R] Improve R docs on how to fix library version mismatch
> ---------------------------------------------------------
>
>                 Key: ARROW-6029
>                 URL: https://issues.apache.org/jira/browse/ARROW-6029
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 0.14.0
>         Environment: > sessionInfo()
> R version 3.6.0 (2019-04-26)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 18.04.2 LTS
>            Reporter: kohleth
>            Assignee: Neal Richardson
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> hi there,
> when trying to build the R wrapper usingĀ 
> {code:java}
> remotes::install_github("apache/arrow", subdir = "r"){code}
> I hit the following error:
> {code:java}
> Found pkg-config cflags and libs!
>  PKG_CFLAGS=-DNDEBUG -DARROW_R_WITH_ARROW
>  PKG_LIBS=-larrow -lparquet** libsg++ -std=gnu++11 -I"/usr/share/R/include" 
> -DNDEBUG -DNDEBUG -DARROW_R_WITH_ARROW 
> -I"/usr/lib/R/site-library/Rcpp/include" -fvisibility=hidden -fpic -g -O2 
> -fdebug-prefix-map=/build/r-base-VjHo9C/r-base-3.6.0=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -c array.cpp -o array.o
>  g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG 
> -DARROW_R_WITH_ARROW -I"/usr/lib/R/site-library/Rcpp/include" 
> -fvisibility=hidden -fpic -g -O2 
> -fdebug-prefix-map=/build/r-base-VjHo9C/r-base-3.6.0=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -c array_to_vector.cpp -o 
> arrayto_vector.oarrayto_vector.cpp: In function 'Rcpp::List 
> Table_to_dataframe(const std::shared_ptr<arrow::Table>&, bool)':
>  array__to_vector.cpp:819:65: error: 'using element_type = class 
> arrow::Column {aka class arrow::Column}' has no member named 'chunks'
>  converters[i] = arrow::r::Converter::Make(table->column->chunks());
>  ^~~~~~array__to_vector.cpp:820:23: error: 'using element_type = class 
> arrow::Table {aka class arrow::Table}' has no member named 'field'
>  names[i] = table->field->name();
>  ^~~~~/usr/lib/R/etc/Makeconf:176: recipe for target 'array__to_vector.o' 
> failedmake: *** [array__to_vector.o] Error 1ERROR: compilation failed for 
> package 'arrow'* removing 
> '/home/kchia/R/x86_64-pc-linux-gnu-library/3.6/arrow'Error: Failed to install 
> 'arrow' from GitHub:
>  (converted from warning) installation of package 
> '/tmp/RtmpfYJZFa/file33fc6aee0ae6/arrow_0.14.0.9000.tar.gz' had non-zero exit 
> status{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to