Problems installing gsl gem

后端 未结 10 706
傲寒
傲寒 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条回答
  •  情话喂你
    2020-12-15 05:52

    Install ruby GSL:

    Ubuntu 11.10 includes a newer version (1.15) of libgsl0 that is not compatible with ruby/gsl :

    Must install older version 1.14 for ruby/gsl to work:

    curl -O http://mirror.veriportal.com/gnu/gsl/gsl-1.14.tar.gz
    tar xvzf gsl-1.14.tar.gz
    cd gsl-1.14
    ./configure
    make
    sudo make install
    sudo gem install --conservative --no-ri --no-rdoc gsl
    

    Installation works OK and test on Ubuntu and Debian Squeeze:

    Fetching: narray-0.6.0.1.gem (100%)
    Building native extensions.  This could take a while...
    Fetching: gsl-1.14.7.gem (100%)
    Building native extensions.  This could take a while...
    Successfully installed narray-0.6.0.1
    Successfully installed gsl-1.14.7
    2 gems installed
    

提交回复
热议问题