Problems installing gsl gem

后端 未结 10 711
傲寒
傲寒 2020-12-15 05:12

I can succesfully install the gsl library in my home directory, but when I try to install the gsl gem I get a big list of errors that I do not understand. I am wondering if

10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 05:46

    Attention it seems not working with Ruby 2.1.0.

    For Ubuntu 12.04 LTS and Ruby 2.0.0:

    cd ~
    wget ftp://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz
    tar xvzf gsl-1.15.tar.gz
    cd gsl-1.15
    ./configure
    make
    sudo make install
    

    Check if GSL 1.15 is correctly installed

    gsl-config --version
    

    Then install gem (gsl 1.15.3)

    gem install gsl
    

提交回复
热议问题