Thanks!

When running "make install" it finishes fine too, but then the R installation 
errors out. See below.

Are there any other libraries I need to install?

(Would potentially "cmake -DARROW_PARQUET=ON" solve this?)

############

Here the log.

> install.packages('arrow')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 
'https://mran.microsoft.com/snapshot/2019-11-17/src/contrib/arrow_0.15.1.1.tar.gz'
Content type 'application/octet-stream' length 147277 bytes (143 KB)
==================================================
downloaded 143 KB

* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
PKG_CFLAGS= -DARROW_R_WITH_ARROW
PKG_LIBS=-larrow -lparquet
** libs
g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -DARROW_R_WITH_ARROW 
-I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic  -g 
-O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -g  -c array.cpp -o array.o
In file included from array.cpp:18:0:
./arrow_types.h:198:34: fatal error: parquet/arrow/reader.h: No such file or 
directory
 #include <parquet/arrow/reader.h>
                                  ^
compilation terminated.
/usr/local/lib/R/etc/Makeconf:176: recipe for target 'array.o' failed
make: *** [array.o] Error 1
ERROR: compilation failed for package ‘arrow’
* removing ‘/usr/local/lib/R/site-library/arrow’
* restoring previous ‘/usr/local/lib/R/site-library/arrow’

The downloaded source packages are in
        ‘/tmp/Rtmp2POLjt/downloaded_packages’
Warning message:
In install.packages("arrow") :
  installation of package ‘arrow’ had non-zero exit status

############

Here the docker image again.

FROM rocker/tidyverse
MAINTAINER Christian Klar <ck...@tetragoninv.com>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y -V \
     build-essential \
     cmake \
     libboost-filesystem-dev \
     libboost-regex-dev \
     libboost-system-dev
RUN apt update && \
  apt install -y -V \
    autoconf-archive \
    gtk-doc-tools \
    libgirepository1.0-dev \
    libglib2.0-doc \
    libtool \
    pkg-config && \
  apt clean && \
  rm -rf /var/lib/apt/lists/*
RUN R -e "install.packages('remotes', repos = c(CRAN = 
'http://cran.us.r-project.org'))"


















-----Original Message-----
From: Wes McKinney [mailto:wesmck...@gmail.com] 
Sent: Sunday, December 1, 2019 6:34 PM
To: dev@arrow.apache.org
Cc: Anthony Abate; Jason De Biasio
Subject: Re: Issues with installation on docker / R

That is a “minimal release build” but it does not install the results. Try
“make install” instead of just “make”. We can improve the documentation to
clarify this issue

On Sun, Dec 1, 2019 at 5:22 PM Christian Klar <ck...@tetragoninv.com> wrote:

>
> Thanks for the quick response!
>
> I attached the log to my first email but maybe it didn't got through
> because of the mailing list. Copying it below below the
> "#############"-line.
>
> I'm using the commands from the "Minimal release build" on
> https://arrow.apache.org/docs/developers/cpp.html.
>
> cd arrow/cpp
> mkdir release
> cd release
> cmake ..
> make
>
> The corresponding line below for the last make is here copied separately.
>
> "root@66311c2b2dc5:/hello/arrow-master/cpp/release# make"
>
> Please let me know if that's not the one you meant.
>
> #############
>
> cklar@nyc-poly-tci-03:~/Desktop/Docker/arrow$ docker run -v
> /home/cklar/Desktop/tmpshare:/hello -it arrowtest /bin/bash
> root@66311c2b2dc5:/# cd hello
> root@66311c2b2dc5:/hello# cd hell^C
> root@66311c2b2dc5:/hello# ls
> arrow-master  arrow-master.zip  CLOPROCESS_TrancheHistory_Expense.arrow
> root@66311c2b2dc5:/hello# cd arrow-master
> root@66311c2b2dc5:/hello/arrow-master# ls
> appveyor.yml  cmake-format.py     csharp              format       java
>          matlab      README.md            testing
> c_glib        CODE_OF_CONDUCT.md  dev                 go           js
>          NOTICE.txt  ruby
> CHANGELOG.md  CONTRIBUTING.md     docker-compose.yml  header
>  LICENSE.txt      python      run-cmake-format.py
> ci            cpp                 docs                integration
> Makefile.docker  r           rust
> root@66311c2b2dc5:/hello/arrow-master# cd cpp
> root@66311c2b2dc5:/hello/arrow-master/cpp# mkdir release
> root@66311c2b2dc5:/hello/arrow-master/cpp# cd release
> root@66311c2b2dc5:/hello/arrow-master/cpp/release# cmake
> Usage
>
>   cmake [options] <path-to-source>
>   cmake [options] <path-to-existing-build>
>
> Specify a source directory to (re-)generate a build system for it in the
> current working directory.  Specify an existing build directory to
> re-generate its build system.
>
> Run 'cmake --help' for more information.
>
> root@66311c2b2dc5:/hello/arrow-master/cpp/release# cmake ..
> -- Building using CMake version: 3.7.2
> -- The C compiler identification is GNU 6.3.0
> -- The CXX compiler identification is GNU 6.3.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Arrow version: 1.0.0 (full: '1.0.0-SNAPSHOT')
> -- Arrow SO version: 100 (full: 100.0.0)
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
> -- clang-tidy not found
> -- clang-format not found
> -- infer not found
> -- Found PythonInterp: /usr/bin/python (found version "2.7.13")
> -- Found cpplint executable at
> /hello/arrow-master/cpp/build-support/cpplint.py
> -- Performing Test CXX_SUPPORTS_SSE4_2
> -- Performing Test CXX_SUPPORTS_SSE4_2 - Success
> -- Performing Test CXX_SUPPORTS_ALTIVEC
> -- Performing Test CXX_SUPPORTS_ALTIVEC - Failed
> -- Performing Test CXX_SUPPORTS_ARMCRC
> -- Performing Test CXX_SUPPORTS_ARMCRC - Failed
> -- Performing Test CXX_SUPPORTS_ARMV8_CRC_CRYPTO
> -- Performing Test CXX_SUPPORTS_ARMV8_CRC_CRYPTO - Failed
> -- Arrow build warning level: PRODUCTION
> Using ld linker
> Configured for RELEASE build (set with cmake
> -DCMAKE_BUILD_TYPE={release,debug,...})
> -- Build Type: RELEASE
> -- Using AUTO approach to find dependencies
> -- AWSSDK_VERSION: 1.7.160
> -- BOOST_VERSION: 1.67.0
> -- BROTLI_VERSION: v1.0.7
> -- BZIP2_VERSION: 1.0.8
> -- CARES_VERSION: 1.15.0
> -- GBENCHMARK_VERSION: v1.5.0
> -- GFLAGS_VERSION: v2.2.0
> -- GLOG_VERSION: v0.3.5
> -- GRPC_VERSION: v1.24.3
> -- GTEST_VERSION: 1.8.1
> -- JEMALLOC_VERSION: 5.2.1
> -- LZ4_VERSION: v1.9.2
> -- MIMALLOC_VERSION: 270e765454f98e8bab9d42609b153425f749fff6
> -- ORC_VERSION: 1.5.7
> -- PROTOBUF_VERSION: v3.7.1
> -- RAPIDJSON_VERSION: 2bbd33b33217ff4a73434ebf10cdac41e2ef5e34
> -- RE2_VERSION: 2019-08-01
> -- SNAPPY_VERSION: 1.1.7
> -- THRIFT_VERSION: 0.12.0
> -- THRIFT_MD5_CHECKSUM: 3deebbb4d1ca77dd9c9e009a1ea02183
> -- ZLIB_VERSION: 1.2.11
> -- ZSTD_VERSION: v1.4.3
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - not found
> -- Check if compiler accepts -pthread
> -- Check if compiler accepts -pthread - yes
> -- Found Threads: TRUE
> -- Boost version: 1.62.0
> -- Found the following Boost libraries:
> --   regex
> --   system
> --   filesystem
> -- Boost include dir: /usr/include
> -- Boost libraries: Boost::system;Boost::filesystem
> -- Building without OpenSSL support. Minimum OpenSSL version 1.0.2
> required.
> -- Building (vendored) jemalloc from source
> -- Could NOT find RapidJSONAlt (missing:  RAPIDJSON_INCLUDE_DIR) (found
> suitable version "2bbd33b33217ff4a73434ebf10cdac41e2ef5e34", minimum
> required is "1.1.0")
> -- Building rapidjson from source
> -- Found hdfs.h at:
> /hello/arrow-master/cpp/thirdparty/hadoop/include/hdfs.h
> -- CMAKE_C_FLAGS:  -O3 -DNDEBUG   -Wall -msse4.2
> -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -fdiagnostics-color=always -O3
> -DNDEBUG  -Wall -msse4.2
> -- Looking for backtrace
> -- Looking for backtrace - found
> -- backtrace facility detected in default set of libraries
> -- Found Backtrace: /usr/include
> -- ---------------------------------------------------------------------
> -- Arrow version:                                 1.0.0-SNAPSHOT
> --
> -- Build configuration summary:
> --   Generator: Unix Makefiles
> --   Build type: RELEASE
> --   Source directory: /hello/arrow-master/cpp
> --   Install prefix: /usr/local
> --
> -- Compile and link options:
> --   Compiler flags to append when compiling Arrow
>   ""    [default] [ARROW_CXXFLAGS]
> --   Build static libraries
>  ON    [default] [ARROW_BUILD_STATIC]
> --   Build shared libraries
>  ON    [default] [ARROW_BUILD_SHARED]
> --   Exclude deprecated APIs from build
>  OFF   [default] [ARROW_NO_DEPRECATED_API]
> --   Use ccache when compiling (if available)
>  ON    [default] [ARROW_USE_CCACHE]
> --   Use ld.gold for linking on Linux (if available)
>   OFF   [default] [ARROW_USE_LD_GOLD]
> --   Build with SIMD optimizations
>   ON    [default] [ARROW_USE_SIMD]
> --   Build with SSE4.2 if compiler has support
>   ON    [default] [ARROW_SSE42]
> --   Build with Altivec if compiler has support
>  ON    [default] [ARROW_ALTIVEC]
> --   Build Arrow libraries with RATH set to $ORIGIN
>  OFF   [default] [ARROW_RPATH_ORIGIN]
> --   Build Arrow libraries with install_name set to @rpath
>   ON    [default] [ARROW_INSTALL_NAME_RPATH]
> --   Pass -ggdb flag to debug builds
>   ON    [default] [ARROW_GGDB_DEBUG]
> --
> -- Test and benchmark options:
> --   Build the Arrow examples
>  OFF      [default] [ARROW_BUILD_EXAMPLES]
> --   Build the Arrow googletest unit tests
>   OFF      [default] [ARROW_BUILD_TESTS]
> --   Build the Arrow integration test executables
>  OFF      [default] [ARROW_BUILD_INTEGRATION]
> --   Build the Arrow micro benchmarks
>  OFF      [default] [ARROW_BUILD_BENCHMARKS]
> --   Build the Arrow micro reference benchmarks
>  OFF      [default] [ARROW_BUILD_BENCHMARKS_REFERENCE]
> --   Linkage of Arrow libraries with unit tests executables.
>   "shared" [default] [ARROW_TEST_LINKAGE] [shared|static]
> --   Build Arrow Fuzzing executables
>   OFF      [default] [ARROW_FUZZING]
> --   Enable unit tests which use large memory
>  OFF      [default] [ARROW_LARGE_MEMORY_TESTS]
> --
> -- Lint options:
> --   Only define the lint and check-format targets
>   OFF   [default] [ARROW_ONLY_LINT]
> --   If off, 'quiet' flags will be passed to linting tools
>   OFF   [default] [ARROW_VERBOSE_LINT]
> --   Build with C++ code coverage enabled
>  OFF   [default] [ARROW_GENERATE_COVERAGE]
> --
> -- Checks options:
> --   Run the test suite using valgrind --tool=memcheck
>   OFF   [default] [ARROW_TEST_MEMCHECK]
> --   Enable Address Sanitizer checks
>   OFF   [default] [ARROW_USE_ASAN]
> --   Enable Thread Sanitizer checks
>  OFF   [default] [ARROW_USE_TSAN]
> --   Enable Undefined Behavior sanitizer checks
>  OFF   [default] [ARROW_USE_UBSAN]
> --
> -- Project component options:
> --   Build Arrow commandline utilities
>   OFF   [default] [ARROW_BUILD_UTILITIES]
> --   Build the Arrow Compute Modules
>   ON    [default] [ARROW_COMPUTE]
> --   Build the Arrow CUDA extensions (requires CUDA toolkit)
>   OFF   [default] [ARROW_CUDA]
> --   Build the Arrow Dataset Modules
>   ON    [default] [ARROW_DATASET]
> --   Build the Arrow Filesystem Layer
>  ON    [default] [ARROW_FILESYSTEM]
> --   Build the Arrow Flight RPC System (requires GRPC, Protocol Buffers)
>   OFF   [default] [ARROW_FLIGHT]
> --   Build the Gandiva libraries
>   OFF   [default] [ARROW_GANDIVA]
> --   Build the Arrow HDFS bridge
>   ON    [default] [ARROW_HDFS]
> --   Build the HiveServer2 client and Arrow adapter
>  OFF   [default] [ARROW_HIVESERVER2]
> --   Build the Arrow IPC extensions
>  ON    [default] [ARROW_IPC]
> --   Build the Arrow jemalloc-based allocator
>  ON    [default] [ARROW_JEMALLOC]
> --   Build the Arrow JNI lib
>   OFF   [default] [ARROW_JNI]
> --   Build Arrow with JSON support (requires RapidJSON)
>  ON    [default] [ARROW_JSON]
> --   Build the Arrow mimalloc-based allocator
>  OFF   [default] [ARROW_MIMALLOC]
> --   Build the Parquet libraries
>   OFF   [default] [ARROW_PARQUET]
> --   Build the Arrow ORC adapter
>   OFF   [default] [ARROW_ORC]
> --   Build the plasma object store along with Arrow
>  OFF   [default] [ARROW_PLASMA]
> --   Build the plasma object store java client
>   OFF   [default] [ARROW_PLASMA_JAVA_CLIENT]
> --   Build the Arrow CPython extensions
>  OFF   [default] [ARROW_PYTHON]
> --   Build Arrow with S3 support (requires the AWS SDK for C++)
>  OFF   [default] [ARROW_S3]
> --   Build Arrow with TensorFlow support enabled
>   OFF   [default] [ARROW_TENSORFLOW]
> --
> -- Thirdparty toolchain options:
> --   Method to use for acquiring arrow's build dependencies
>  "AUTO" [default] [ARROW_DEPENDENCY_SOURCE] [AUTO|BUNDLED|SYSTEM|CONDA|BREW]
> --   Show output from ExternalProjects rather than just logging to files
>   OFF    [default] [ARROW_VERBOSE_THIRDPARTY_BUILD]
> --   Rely on boost shared libraries where relevant
>   ON     [default] [ARROW_BOOST_USE_SHARED]
> --   Rely on Protocol Buffers shared libraries where relevant
>  ON     [default] [ARROW_PROTOBUF_USE_SHARED]
> --   Rely on GFlags shared libraries where relevant
>  ON     [default] [ARROW_GFLAGS_USE_SHARED]
> --   Build with backtrace support
>  ON     [default] [ARROW_WITH_BACKTRACE]
> --   Build libraries with glog support for pluggable logging
>   OFF    [default] [ARROW_USE_GLOG]
> --   Build with Brotli compression
>   OFF    [default] [ARROW_WITH_BROTLI]
> --   Build with BZ2 compression
>  OFF    [default] [ARROW_WITH_BZ2]
> --   Build with lz4 compression
>  OFF    [default] [ARROW_WITH_LZ4]
> --   Build with Snappy compression
>   OFF    [default] [ARROW_WITH_SNAPPY]
> --   Build with zlib compression
>   OFF    [default] [ARROW_WITH_ZLIB]
> --   Build with zstd compression
>   OFF    [default] [ARROW_WITH_ZSTD]
> --
> -- Parquet options:
> --   Depend only on Thirdparty headers to build libparquet. Always OFF if
> building binaries
>
>   OFF   [default] [PARQUET_MINIMAL_DEPENDENCY]
> --   Build the Parquet executable CLI tools. Requires static libraries to
> be built.
>
>   OFF   [default] [PARQUET_BUILD_EXECUTABLES]
> --   Build the Parquet examples. Requires static libraries to be built.
>  OFF   [default] [PARQUET_BUILD_EXAMPLES]
> --   Build support for encryption. Fail if OpenSSL is not found
>  OFF   [default] [PARQUET_REQUIRE_ENCRYPTION]
> --
> -- Gandiva options:
> --   Build the Gandiva JNI wrappers
>  OFF   [default] [ARROW_GANDIVA_JAVA]
> --   Include -static-libstdc++ -static-libgcc when linking with Gandiva
> static libraries
>
>   OFF   [default] [ARROW_GANDIVA_STATIC_LIBSTDCPP]
> --   Compiler flags to append when pre-compiling Gandiva operations
>  ""    [default] [ARROW_GANDIVA_PC_CXX_FLAGS]
> --
> -- Advanced developer options:
> --   Compile with extra error context (line numbers, code)
>   OFF   [default] [ARROW_EXTRA_ERROR_CONTEXT]
> --   If enabled install ONLY targets that have already been built. Please
> be advised that if this is enabled 'install' will fail silently on
> components that have not been built
>
>   OFF   [default] [ARROW_OPTIONAL_INSTALL]
> --   Outputting build configuration summary to
> /hello/arrow-master/cpp/release/cmake_summary.json
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /hello/arrow-master/cpp/release
> root@66311c2b2dc5:/hello/arrow-master/cpp/release# make
> Scanning dependencies of target jemalloc_ep
> [  0%] Creating directories for 'jemalloc_ep'
> [  1%] Performing download step (download, verify and extract) for
> 'jemalloc_ep'
> -- jemalloc_ep download command succeeded.  See also
> /hello/arrow-master/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-download-*.log
> [  1%] Performing patch step for 'jemalloc_ep'
> [  2%] No update step for 'jemalloc_ep'
> [  3%] Performing configure step for 'jemalloc_ep'
> -- jemalloc_ep configure command succeeded.  See also
> /hello/arrow-master/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-*.log
> [  4%] Performing build step for 'jemalloc_ep'
> -- jemalloc_ep build command succeeded.  See also
> /hello/arrow-master/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-build-*.log
> [  5%] Performing install step for 'jemalloc_ep'
> -- jemalloc_ep install command succeeded.  See also
> /hello/arrow-master/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-install-*.log
> [  5%] Completed 'jemalloc_ep'
> [  5%] Built target jemalloc_ep
> Scanning dependencies of target rapidjson_ep
> [  5%] Creating directories for 'rapidjson_ep'
> [  6%] Performing download step (download, verify and extract) for
> 'rapidjson_ep'
> -- rapidjson_ep download command succeeded.  See also
> /hello/arrow-master/cpp/release/src/rapidjson_ep-stamp/rapidjson_ep-download-*.log
> [  6%] No patch step for 'rapidjson_ep'
> [  7%] No update step for 'rapidjson_ep'
> [  8%] Performing configure step for 'rapidjson_ep'
> -- rapidjson_ep configure command succeeded.  See also
> /hello/arrow-master/cpp/release/src/rapidjson_ep-stamp/rapidjson_ep-configure-*.log
> [  9%] Performing build step for 'rapidjson_ep'
> -- rapidjson_ep build command succeeded.  See also
> /hello/arrow-master/cpp/release/src/rapidjson_ep-stamp/rapidjson_ep-build-*.log
> [ 10%] Performing install step for 'rapidjson_ep'
> -- rapidjson_ep install command succeeded.  See also
> /hello/arrow-master/cpp/release/src/rapidjson_ep-stamp/rapidjson_ep-install-*.log
> [ 10%] Completed 'rapidjson_ep'
> [ 10%] Built target rapidjson_ep
> Scanning dependencies of target toolchain
> [ 10%] Built target toolchain
> Scanning dependencies of target arrow_dependencies
> [ 10%] Built target arrow_dependencies
> Scanning dependencies of target arrow_objlib
> [ 10%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/array.cc.o
> [ 11%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/builder.cc.o
> [ 11%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_adaptive.cc.o
> [ 12%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_base.cc.o
> [ 13%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_binary.cc.o
> [ 13%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_decimal.cc.o
> [ 14%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_dict.cc.o
> [ 15%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_nested.cc.o
> [ 15%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_primitive.cc.o
> [ 16%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_union.cc.o
> [ 16%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/concatenate.cc.o
> [ 17%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/dict_internal.cc.o
> [ 18%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/diff.cc.o
> [ 18%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/array/validate.cc.o
> [ 19%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/buffer.cc.o
> [ 20%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compare.cc.o
> [ 20%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/extension_type.cc.o
> [ 21%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/memory_pool.cc.o
> [ 21%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/pretty_print.cc.o
> [ 22%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/record_batch.cc.o
> [ 23%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/result.cc.o
> [ 23%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/scalar.cc.o
> [ 24%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/sparse_tensor.cc.o
> [ 25%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/status.cc.o
> [ 25%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/table.cc.o
> [ 26%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/table_builder.cc.o
> [ 26%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/tensor.cc.o
> [ 27%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/type.cc.o
> [ 28%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/visitor.cc.o
> [ 28%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/csv/converter.cc.o
> [ 29%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/csv/chunker.cc.o
> [ 30%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/csv/column_builder.cc.o
> [ 30%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/csv/options.cc.o
> [ 31%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/csv/parser.cc.o
> [ 31%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/csv/reader.cc.o
> [ 32%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/io/buffered.cc.o
> [ 33%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/io/compressed.cc.o
> [ 33%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/io/file.cc.o
> [ 34%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/io/hdfs.cc.o
> [ 35%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/io/hdfs_internal.cc.o
> [ 35%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/io/interfaces.cc.o
> [ 36%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/io/memory.cc.o
> [ 36%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/io/slow.cc.o
> [ 37%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/testing/util.cc.o
> [ 38%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/basic_decimal.cc.o
> [ 38%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/bit_util.cc.o
> [ 39%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/compression.cc.o
> [ 40%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/cpu_info.cc.o
> [ 40%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/decimal.cc.o
> [ 41%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/delimiting.cc.o
> [ 41%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/formatting.cc.o
> [ 42%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/int_util.cc.o
> [ 43%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/io_util.cc.o
> [ 43%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/iterator.cc.o
> [ 44%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/logging.cc.o
> [ 45%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/key_value_metadata.cc.o
> [ 45%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/memory.cc.o
> [ 46%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/parsing.cc.o
> [ 46%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/string.cc.o
> [ 47%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/string_builder.cc.o
> [ 48%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/task_group.cc.o
> [ 48%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/thread_pool.cc.o
> [ 49%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/trie.cc.o
> [ 50%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/uri.cc.o
> [ 50%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/util/utf8.cc.o
> [ 51%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/base64.cpp.o
> [ 51%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/datetime/tz.cpp.o
> [ 52%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/bignum.cc.o
> [ 53%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/double-conversion.cc.o
> [ 53%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/bignum-dtoa.cc.o
> [ 54%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/fast-dtoa.cc.o
> [ 55%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/cached-powers.cc.o
> [ 55%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/fixed-dtoa.cc.o
> [ 56%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/diy-fp.cc.o
> [ 56%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/strtod.cc.o
> [ 57%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriCommon.c.o
> [ 58%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriCompare.c.o
> [ 58%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriEscape.c.o
> [ 59%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriFile.c.o
> [ 60%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriIp4Base.c.o
> [ 60%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriIp4.c.o
> [ 61%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriMemory.c.o
> [ 61%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriNormalizeBase.c.o
> [ 62%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriNormalize.c.o
> [ 63%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriParseBase.c.o
> [ 63%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriParse.c.o
> [ 64%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriQuery.c.o
> [ 65%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriRecompose.c.o
> [ 65%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriResolve.c.o
> [ 66%] Building C object
> src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriShorten.c.o
> [ 66%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/context.cc.o
> [ 67%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/expression.cc.o
> [ 68%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/logical_type.cc.o
> [ 68%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/operation.cc.o
> [ 69%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/aggregate.cc.o
> [ 70%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/boolean.cc.o
> [ 70%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/cast.cc.o
> [ 71%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/compare.cc.o
> [ 71%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/count.cc.o
> [ 72%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/hash.cc.o
> [ 73%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/filter.cc.o
> [ 73%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/mean.cc.o
> [ 74%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/minmax.cc.o
> [ 75%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/sort_to_indices.cc.o
> [ 75%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/sum.cc.o
> [ 76%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/add.cc.o
> [ 76%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/take.cc.o
> [ 77%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/isin.cc.o
> [ 78%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/util_internal.cc.o
> [ 78%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/operations/cast.cc.o
> [ 79%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/compute/operations/literal.cc.o
> [ 80%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/filesystem.cc.o
> [ 80%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/localfs.cc.o
> [ 81%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/mockfs.cc.o
> [ 81%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/path_tree.cc.o
> [ 82%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/path_util.cc.o
> [ 83%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/util_internal.cc.o
> [ 83%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/hdfs.cc.o
> [ 84%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/dictionary.cc.o
> [ 85%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/feather.cc.o
> [ 85%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/message.cc.o
> [ 86%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/metadata_internal.cc.o
> [ 86%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/options.cc.o
> [ 87%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/reader.cc.o
> [ 88%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/writer.cc.o
> [ 88%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/json_integration.cc.o
> [ 89%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/json_internal.cc.o
> [ 90%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/ipc/json_simple.cc.o
> [ 90%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/json/options.cc.o
> [ 91%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/json/chunked_builder.cc.o
> [ 91%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/json/chunker.cc.o
> [ 92%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/json/converter.cc.o
> [ 93%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/json/parser.cc.o
> [ 93%] Building CXX object
> src/arrow/CMakeFiles/arrow_objlib.dir/json/reader.cc.o
> [ 93%] Built target arrow_objlib
> Scanning dependencies of target arrow_shared
> [ 94%] Linking CXX shared library ../../release/libarrow.so
> [ 94%] Built target arrow_shared
> Scanning dependencies of target arrow_static
> [ 95%] Linking CXX static library ../../release/libarrow.a
> [ 95%] Built target arrow_static
> Scanning dependencies of target arrow_dataset_objlib
> [ 95%] Building CXX object
> src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/dataset.cc.o
> [ 96%] Building CXX object
> src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/discovery.cc.o
> [ 96%] Building CXX object
> src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_base.cc.o
> [ 97%] Building CXX object
> src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/filter.cc.o
> [ 98%] Building CXX object
> src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/partition.cc.o
> [ 98%] Building CXX object
> src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/scanner.cc.o
> [ 98%] Built target arrow_dataset_objlib
> Scanning dependencies of target arrow_dataset_shared
> [ 99%] Linking CXX shared library ../../../release/libarrow_dataset.so
> [ 99%] Built target arrow_dataset_shared
> Scanning dependencies of target arrow_dataset_static
> [100%] Linking CXX static library ../../../release/libarrow_dataset.a
> [100%] Built target arrow_dataset_static
> root@66311c2b2dc5:/hello/arrow-master/cpp/release# R
>
> R version 3.6.1 (2019-07-05) -- "Action of the Toes"
> Copyright (C) 2019 The R Foundation for Statistical Computing
> Platform: x86_64-pc-linux-gnu (64-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > install.packages('arrow')
> Installing package into ‘/usr/local/lib/R/site-library’
> (as ‘lib’ is unspecified)
> trying URL '
> https://mran.microsoft.com/snapshot/2019-11-17/src/contrib/arrow_0.15.1.1.tar.gz
> '
> Content type 'application/octet-stream' length 147277 bytes (143 KB)
> ==================================================
> downloaded 143 KB
>
> * installing *source* package ‘arrow’ ...
> ** package ‘arrow’ successfully unpacked and MD5 sums checked
> ** using staged installation
> ------------------------- NOTE ---------------------------
> After installation, please run arrow::install_arrow()
> for help installing required runtime libraries
> ---------------------------------------------------------
> ** libs
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -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/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c array_from_vector.cpp -o
> array_from_vector.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c array_to_vector.cpp -o
> array_to_vector.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c arraydata.cpp -o arraydata.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c arrowExports.cpp -o arrowExports.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c buffer.cpp -o buffer.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c chunkedarray.cpp -o chunkedarray.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c compression.cpp -o compression.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c compute.cpp -o compute.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c csv.cpp -o csv.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c datatype.cpp -o datatype.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c feather.cpp -o feather.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c field.cpp -o field.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c filesystem.cpp -o filesystem.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c io.cpp -o io.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c json.cpp -o json.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c memorypool.cpp -o memorypool.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c message.cpp -o message.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c parquet.cpp -o parquet.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c recordbatch.cpp -o recordbatch.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c recordbatchreader.cpp -o
> recordbatchreader.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c recordbatchwriter.cpp -o
> recordbatchwriter.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c schema.cpp -o schema.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c symbols.cpp -o symbols.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c table.cpp -o table.o
> g++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG
> -I"/usr/local/lib/R/site-library/Rcpp/include" -I/usr/local/include  -fpic
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c threadpool.cpp -o threadpool.o
> g++ -std=gnu++11 -shared -L/usr/local/lib/R/lib -L/usr/local/lib -o
> arrow.so array.o array_from_vector.o array_to_vector.o arraydata.o
> arrowExports.o buffer.o chunkedarray.o compression.o compute.o csv.o
> datatype.o feather.o field.o filesystem.o io.o json.o memorypool.o
> message.o parquet.o recordbatch.o recordbatchreader.o recordbatchwriter.o
> schema.o symbols.o table.o threadpool.o -L/usr/local/lib/R/lib -lR
> installing to /usr/local/lib/R/site-library/00LOCK-arrow/00new/arrow/libs
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
> ** building package indices
> ** installing vignettes
> ** testing if installed package can be loaded from temporary location
> ** checking absolute paths in shared objects and dynamic libraries
> ** testing if installed package can be loaded from final location
> ** testing if installed package keeps a record of temporary installation
> path
> * DONE (arrow)
>
> The downloaded source packages are in
>         ‘/tmp/RtmpFQeIkA/downloaded_packages’
> > arrow::install_arrow()
> See the Arrow C++ developer guide <
> https://arrow.apache.org/docs/developers/cpp.html> for instructions on
> building the library from source.
>
> After you've installed the C++ library, you'll need to reinstall the R
> package from source to find it.
>
> Refer to the R package README <
> https://github.com/apache/arrow/blob/master/r/README.md> for further
> details.
>
> If you have other trouble, or if you think this message could be improved,
> please report an issue here: <
> https://issues.apache.org/jira/projects/ARROW/issues>
> >   options(arrow.use_threads=FALSE)
> >   r <-
> arrow::read_arrow('/hello/CLOPROCESS_TrancheHistory_Expense.arrow')
> Error in io___ReadableFile__Open(clean_path_abs(path)) :
>   Cannot call io___ReadableFile__Open(). Please use arrow::install_arrow()
> to install required runtime libraries.
> > q()
> root@66311c2b2dc5:/hello/arrow-master/cpp/release# ls
> CMakeCache.txt  cmake_install.cmake  CTestTestfile.cmake  Makefile
> release  tmp
> CMakeFiles      cmake_summary.json   jemalloc_ep-prefix   rapidjson_ep  src
> root@66311c2b2dc5:/hello/arrow-master/cpp/release# R
>
> R version 3.6.1 (2019-07-05) -- "Action of the Toes"
> Copyright (C) 2019 The R Foundation for Statistical Computing
> Platform: x86_64-pc-linux-gnu (64-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > arrow::arrow_available()
> FALSE
>
>
>
>
>
>
>
>
>
> ############
>
>
>
> Christian Klar
> TFG Asset Management
> Tetragon Financial Management
> 399 Park Avenue, 22nd Floor | New York, NY 10022 |  United States
> Direct: +1 212 359 7369 | Main: +1 212 359 7300 | Mobile: +1 607 216 5045
> ck...@tetragoninv.com
> www.tetragoninv.com
>
>
> This communication and all or some of the information contained therein
> may be confidential. If you have received this communication in error,
> please destroy all electronic and paper copies and notify the sender
> immediately. Unless specifically indicated, this communication is not a
> confirmation, an offer to sell or solicitation of any offer to buy any
> financial product, or an official statement of Tetragon Financial Group or
> its affiliates. TFG Asset Management L.P. and Tetragon Financial Management
> LP are registered as investment advisers under the U.S. Investment Advisers
> Act of 1940.
>
> -----Original Message-----
> From: Wes McKinney [mailto:wesmck...@gmail.com]
> Sent: Sunday, December 1, 2019 6:12 PM
> To: dev@arrow.apache.org
> Cc: Anthony Abate; Jason De Biasio
> Subject: Re: Issues with installation on docker / R
>
> Your instructions do not include “make install” when building the C++
> library which will cause this problem. Can you provide a full build log if
> you are actually installing the C++ library and the R build cannot find it
> for some reason?
>
> Thanks
>
> On Sun, Dec 1, 2019 at 4:55 PM Christian Klar <ck...@tetragoninv.com>
> wrote:
>
> > Hi –
> >
> >
> >
> > (Resending because I was not subscribed to the mailing list prior.)
> >
> >
> >
> > I’m trying to install arrow on a docker image with R on it but R gives me
> > always the
> >
> >
> >
> > “error in io___ReadableFile__Open(clean_path_abs(path)) :
> >
> >   Cannot call io___ReadableFile__Open(). Please use
> arrow::install_arrow()
> > to install required runtime libraries.”
> >
> >
> >
> > error.
> >
> >
> >
> >
> >
> > Below the details:
> >
> >
> >
> >
> >
> > 1.       The docker image.
> >
> >
> >
> > FROM rocker/tidyverse
> >
> > ENV DEBIAN_FRONTEND noninteractive
> >
> > RUN apt-get install -y -V \
> >
> >      build-essential \
> >
> >      cmake \
> >
> >      libboost-filesystem-dev \
> >
> >      libboost-regex-dev \
> >
> >      libboost-system-dev
> >
> > RUN apt update && \
> >
> >   apt install -y -V \
> >
> >     autoconf-archive \
> >
> >     gtk-doc-tools \
> >
> >     libgirepository1.0-dev \
> >
> >     libglib2.0-doc \
> >
> >     libtool \
> >
> >     pkg-config && \
> >
> >   apt clean && \
> >
> >   rm -rf /var/lib/apt/lists/*
> >
> >
> >
> >
> >
> > 2.       Then within an interactive session (interactive so that I can
> > debug easier) I run the actual cmake (I downloaded the arrow package
> > manually). This is straight from
> > https://arrow.apache.org/docs/developers/cpp.html.
> >
> >
> >
> > cd arrow/cpp
> >
> > mkdir release
> >
> > cd release
> >
> > cmake ..
> >
> > make
> >
> >
> >
> >
> >
> > 3.       After number 2 finishing successfully I start R and try
> > “install.packages(‘arrow’)” which succeeds (builds it from source), but
> > then I get back to the error above.
> >
> >
> >
> > 4.       install_arrow() just directs me to the link in number 2.
> >
> >
> >
> >
> >
> >
> >
> > I have the feeling the R package installation can’t find the path with
> the
> > arrow installation, however I can’t find any environment variable that
> > would handle this.
> >
> >
> >
> > Please let us know. At this point we spent many hours trying to get it to
> > work – but this has to be an issue people have come across.
> >
> >
> >
> > I’m not using conda so this (the only thing comparable that I could find)
> > is not applicable to me:
> >
> > https://github.com/apache/arrow/issues/4399
> >
> >
> >
> > Happy to provide further details. I also attached the full console log.
> >
> >
> >
> > Christian
> >
> >
> >
> >
> >
> > Christian Klar
> > TFG Asset Management
> > Tetragon Financial Management
> > 399 Park Avenue, 22nd Floor
> > <
> https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g
> >
> >  |
> > <
> https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g
> >
> >  New York
> > <
> https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g
> >
> > , NY
> > <
> https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g
> >
> >  10022
> > <
> https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g
> >
> > |
> > <
> https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g
> >
> >  United States
> > <
> https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g
> >
> > Direct: +1 212 359 7369 | Main: +1 212 359 7300 | Mobile: +1 607 216 5045
> > ck...@tetragoninv.com
> > www.tetragoninv.com
> >
> > This communication and all or some of the information contained therein
> > may be confidential. If you have received this communication in error,
> > <
> https://www.google.com/maps/search/399+Park+Avenue,+22nd+Floor+%7C+New+York+,+NY+10022+%7C+United+States?entry=gmail&source=g
> >
> > please destroy all electronic and paper copies and notify the sender
> > immediately. Unless specifically indicated, this communication is not a
> > confirmation, an offer to sell or solicitation of any offer to buy any
> > financial product, or an official statement of Tetragon Financial Group
> or
> > its affiliates. TFG Asset Management L.P. and Tetragon Financial
> Management
> > LP are registered as investment advisers under the U.S. Investment
> Advisers
> > Act of 1940.
> >
> >
> >
> >
>

Reply via email to