[ https://issues.apache.org/jira/browse/ARROW-14152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421580#comment-17421580 ]
Benson Muite edited comment on ARROW-14152 at 9/28/21, 6:01 PM: ---------------------------------------------------------------- Current default compiler suite on Ubuntu 21.04 is gcc 10, which is what is used in the CI tests. Tried this as below: {{yum update}} {{yum install gcc-c++ gcc bison flex git python3 make openssl-devel wget}} yum groupinstall "Development tools" {color:#000000}yum install centos-release-scl {color} yum install yum-config-manager yum install devtoolset-10 scl enable devtoolset-10 bash wget [https://github.com/Kitware/CMake/releases/download/v3.21.3/cmake-3.21.3.tar.gz] tar -xvf cmake-3.21.3.tar.gz cd cmake-3.21.3 mkdir build cd build/ ../bootstrap --prefix=$HOME/cmake-3.21.3-install {{make}} {{make install}} {{cd ..}} {{cd ..}} {{git clone [https://github.com/apache/arrow.git]}} cd arrow git submodule init git submodule update export PARQUET_TEST_DATA="${PWD}/cpp/submodules/parquet-testing/data" export ARROW_TEST_DATA="${PWD}/testing/data" mkdir cpp/build cd cpp/build $HOME/cmake-3.21.3-install/bin/cmake .. -DARROW_PARQUET=ON -DARROW_COMPUTE=ON \ -DARROW_CSV=ON -DCMAKE_BUILD_TYPE=Debug -DARROW_BUILD_TESTS=ON \ {{-DThrift_SOURCE=BUNDLED -DPARQUET_REQUIRE_ENCRYPTION=ON}} {color:#000000}export PATH=$HOME/cmake-3.21.3-install/bin:$PATH{color} make {{make unittest}} After running make unittest , the following tests fail {color:#000000}The following tests FAILED: {color} {color:#b21818} 36 - parquet-internals-test (Failed){color} {color:#b21818} 37 - parquet-reader-test (Failed){color} {color:#b21818} 39 - parquet-arrow-test (Failed){color} {color:#b21818} 41 - parquet-encryption-test (Failed){color} {color:#b21818} 42 - parquet-encryption-key-management-test (Failed){color} Checking why this occurs. was (Author: baksmj): Current default compiler suite on Ubuntu 21.04 is gcc 10, which is what is used in the CI tests. Tried this as below: {{{{yum update}}}} {{ {{yum install gcc-c++ gcc bison flex git python3 make openssl-devel wget}}}} {{ yum groupinstall "Development tools"}} {{{color:#000000}{color:#000000}yum install centos-release-scl {color} yum install yum-config-manager yum install devtoolset-10 scl enable devtoolset-10 bash{color}}} {{{color:#000000}wget [https://github.com/Kitware/CMake/releases/download/v3.21.3/cmake-3.21.3.tar.gz] {color}}} {{ tar -xvf cmake-3.21.3.tar.gz }} {{ cd cmake-3.21.3 }} {{ mkdir build }} {{ cd build/ }} {{ ../bootstrap --prefix=$HOME/cmake-3.21.3-install}} {{make}} {{ {{make install}}}} {{{{cd ..}}}} {{{{cd ..}}}} {{git clone [https://github.com/apache/arrow.git]}} {{ cd arrow}} {{ git submodule init}} {{ git submodule update}} {{ export PARQUET_TEST_DATA="${PWD}/cpp/submodules/parquet-testing/data"}} {{ export ARROW_TEST_DATA="${PWD}/testing/data"}} {{ mkdir cpp/build}} {{ cd cpp/build}} {{ $HOME/cmake-3.21.3-install/bin/cmake .. -DARROW_PARQUET=ON -DARROW_COMPUTE=ON \}} {{ -DARROW_CSV=ON -DCMAKE_BUILD_TYPE=Debug -DARROW_BUILD_TESTS=ON \}} {{ {{-DThrift_SOURCE=BUNDLED -DPARQUET_REQUIRE_ENCRYPTION=ON}}}} {{{{{color:#000000}export PATH=$HOME/cmake-3.21.3-install/bin:$PATH{color} make}}}} {{make unittest}} After running make unittest , the following tests fail {color:#000000}The following tests FAILED: {color} {color:#b21818} 36 - parquet-internals-test (Failed){color} {color:#b21818} 37 - parquet-reader-test (Failed){color} {color:#b21818} 39 - parquet-arrow-test (Failed){color} {color:#b21818} 41 - parquet-encryption-test (Failed){color} {color:#b21818} 42 - parquet-encryption-key-management-test (Failed){color} Checking why this occurs. > [C++][Docs][Parquet] Trouble installing on Cent OS 7 > ---------------------------------------------------- > > Key: ARROW-14152 > URL: https://issues.apache.org/jira/browse/ARROW-14152 > Project: Apache Arrow > Issue Type: Improvement > Components: C++, Documentation, Parquet > Environment: Cent OS 7 > Reporter: Benson Muite > Assignee: Benson Muite > Priority: Minor > Attachments: CentOS7-gcc4.8.5-CMakeCache.txt, > CentOS7-gcc4.8.5-makelog.out > > > Installing on Cent OS 7 is not well documented and can be problematic, in > particular for debug builds. Create guidelines for this that could also be > turned into nightly tests. -- This message was sent by Atlassian Jira (v8.3.4#803005)