Skip to content

'gem install linecache' fails on RHEL 7.1 LE and Ubuntu 14.04 on ppc64le arch  #20

Description

@SriramaSharma

I tried installing linecache gem using command : 'gem install linecache'.
The install fails with below error:

root# gem install linecache
Building native extensions.  This could take a while...
ERROR:  Error installing linecache:
ERROR: Failed to build gem native extension.

/usr/bin/ruby2.1 extconf.rb
Can't handle 1.9.x yet
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need 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}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/bin/ruby2.1

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.1.0/gems/linecache-0.46 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/powerpc64le-linux/2.1.0/linecache-0.46/gem_make.out
root#

Tried with 1.9.1, 2.0.0 and 2.1 versions of ruby on ubuntu
bash# ruby --version
ruby 2.1.2p95 (2014-05-08) [powerpc64le-linux-gnu]

On RHEL 7.1 LE, the version of ruby used was 2.0.0.598-24.ael7b

Here is short URL which has details on how to get LoP Hardware Access: https://ibm.biz/LoP_Access

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions