mark-moseley / linecache

GNU General Public License v2.0
29 stars 20 forks source link

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

Open SriramaSharma opened 9 years ago

SriramaSharma commented 9 years ago

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

mdunc commented 9 years ago

I think this project has been abandoned. I could also not get this to install. The debugger-linecache fork installs fine for me though gem install debugger-linecache https://github.com/cldwalker/debugger-linecache