Atharex opened a new issue #10222:
URL: https://github.com/apache/arrow/issues/10222


   Hi!
   
   I have been trying to compile apache arrow 1.0.1 with CUDA support to use 
with RAPIDS and I am getting stuck it seems because of some boost dependencies.
   
   These are the commands I run in a docker container that has CUDA libraries 
preinstalled:
   
   ```
   ## Apache Arrow repo  (instructions from 
https://randyzwitch.com/pyarrow-cuda-support/)
   export ARROW_HOME=/root/home/arrow
   git clone https://github.com/apache/arrow.git $ARROW_HOME
   cd $ARROW_HOME
   git submodule update --init
   git checkout apache-arrow-1.0.1
   mkdir -p $ARROW_HOME/cpp/build && cd $ARROW_HOME/cpp/build
   
   ## Apache Arrow build dependencies
   bash $ARROW_HOME/cpp/thirdparty/download_dependencies.sh
   
   ## Apache Arrow C++ build
   cmake -DCMAKE_INSTALL_PREFIX=/usr/local/lib/arrow \
   -DCMAKE_INSTALL_LIBDIR=lib \
   -DARROW_FLIGHT=ON \
   -DARROW_ORC=ON \
   -DARROW_WITH_BZ2=ON \
   -DARROW_WITH_ZLIB=ON \
   -DARROW_WITH_ZSTD=ON \
   -DARROW_WITH_LZ4=ON \
   -DARROW_WITH_SNAPPY=ON \
   -DARROW_WITH_BROTLI=ON \
   -DARROW_PARQUET=ON \
   -DARROW_PYTHON=ON \
   -DARROW_PLASMA=ON \
   -DARROW_CUDA=ON \
   ..
   make -j 24
   
   ```
   
   The make command fails quickly with this output:
   
   ```
   CMake Error at 
/root/home/arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure-RELEASE.cmake:37
 (message):
     Command failed: 1
   
      './bootstrap.sh' 
'--prefix=/root/home/arrow/cpp/build/boost_ep-prefix/src/boost_ep' 
'--with-libraries=filesystem,regex,system'
   
     See also
   
       
/root/home/arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure-*.log
   
   
   -- stdout output is:
   Building Boost.Build engine with toolset ... 
   Failed to build Boost.Build build engine
   Consult 'bootstrap.log' for more details
   
   -- stderr output is:
   ./bootstrap.sh: line 196: ./tools/build/src/engine/build.sh: No such file or 
directory
   
   CMake Error at 
/root/home/arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure-RELEASE.cmake:47
 (message):
     Stopping after outputting logs.
   ```
   
   Am I missing an installation step here?
   
   
   When I run the download_dependencies.sh script, it seems it fails. Could 
that be the reason for this missing build.sh script?
   ```
   
   bash $ARROW_HOME/cpp/thirdparty/download_dependencies.sh
   # Environment variables for offline Arrow build
   export 
ARROW_ABSL_URL=/root/home/arrow/cpp/build/absl-2eba343b51e0923cd3fb919a6abd6120590fc059.tar.gz
   export ARROW_AWSSDK_URL=/root/home/arrow/cpp/build/aws-sdk-cpp-1.7.160.tar.gz
   Failed downloading 
https://dl.bintray.com/ursalabs/arrow-boost/boost_1_71_0.tar.gz
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to