You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Bhargav Parsi (Jira)" <ji...@apache.org> on 2020/10/14 21:47:00 UTC

[jira] [Updated] (ARROW-10309) [Ruby] gem install red-arrow fails

     [ https://issues.apache.org/jira/browse/ARROW-10309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhargav Parsi updated ARROW-10309:
----------------------------------
    Description: 
I am trying to install red arrow in centos(centos-release-7-6.1810.2.el7.centos.x86_64).

using ruby 2.6.3
 I followed the steps mentioned here [https://arrow.apache.org/install/|https://arrow.apache.org/install/)]

Used the steps mentioned for centos 6/7.

After that I ran `gem install red-arrow`.

That gives 
 ```
 Building native extensions.  This could take a while...Building native extensions.  This could take a while...ERROR:  Error installing red-arrow: ERROR: Failed to build gem native extension.
     /usr/bin/ruby extconf.rbchecking --enable-debug-build option... nochecking C++ compiler... g++checking g++ version... 4.8 (gnu++11)*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers.  Check the mkmf.log file for more details.  You mayneed configuration options.
 Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib64 --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --enable-debug-build --disable-debug-build/usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:111:in `try_cxx_warning_flag': uninitialized constant ExtPP::Compiler::CONFTEST (NameError) from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:136:in `block in check_warning_flags' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:135:in `each' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:135:in `check_warning_flags' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:18:in `check' from extconf.rb:6:in `<main>'
 ```

  was:
I am trying to install red arrow in centos(centos-release-7-6.1810.2.el7.centos.x86_64).
I followed the steps mentioned here [https://arrow.apache.org/install/|https://arrow.apache.org/install/)]

Used the steps mentioned for centos 6/7.

After that I ran `gem install red-arrow`.

That gives 
```
Building native extensions.  This could take a while...Building native extensions.  This could take a while...ERROR:  Error installing red-arrow: ERROR: Failed to build gem native extension.
    /usr/bin/ruby extconf.rbchecking --enable-debug-build option... nochecking C++ compiler... g++checking g++ version... 4.8 (gnu++11)*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers.  Check the mkmf.log file for more details.  You mayneed configuration options.
Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib64 --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --enable-debug-build --disable-debug-build/usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:111:in `try_cxx_warning_flag': uninitialized constant ExtPP::Compiler::CONFTEST (NameError) from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:136:in `block in check_warning_flags' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:135:in `each' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:135:in `check_warning_flags' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:18:in `check' from extconf.rb:6:in `<main>'
```


> [Ruby] gem install red-arrow fails
> ----------------------------------
>
>                 Key: ARROW-10309
>                 URL: https://issues.apache.org/jira/browse/ARROW-10309
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Ruby
>            Reporter: Bhargav Parsi
>            Priority: Major
>
> I am trying to install red arrow in centos(centos-release-7-6.1810.2.el7.centos.x86_64).
> using ruby 2.6.3
>  I followed the steps mentioned here [https://arrow.apache.org/install/|https://arrow.apache.org/install/)]
> Used the steps mentioned for centos 6/7.
> After that I ran `gem install red-arrow`.
> That gives 
>  ```
>  Building native extensions.  This could take a while...Building native extensions.  This could take a while...ERROR:  Error installing red-arrow: ERROR: Failed to build gem native extension.
>      /usr/bin/ruby extconf.rbchecking --enable-debug-build option... nochecking C++ compiler... g++checking g++ version... 4.8 (gnu++11)*** extconf.rb failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers.  Check the mkmf.log file for more details.  You mayneed configuration options.
>  Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib64 --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --enable-debug-build --disable-debug-build/usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:111:in `try_cxx_warning_flag': uninitialized constant ExtPP::Compiler::CONFTEST (NameError) from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:136:in `block in check_warning_flags' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:135:in `each' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:135:in `check_warning_flags' from /usr/local/share/gems/gems/extpp-0.0.8/lib/extpp/compiler.rb:18:in `check' from extconf.rb:6:in `<main>'
>  ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)