Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6029

[R] Improve R docs on how to fix library version mismatch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.15.0
    • Component/s: R
    • 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

      Description

      hi there,

      when trying to build the R wrapper usingĀ 

      remotes::install_github("apache/arrow", subdir = "r")

      I hit the following error:

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                npr Neal Richardson
                Reporter:
                kohleth kohleth
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h