开发者

Windows - MINGW Build GSL for Ruby-GSL

Hi I am on windows 7 and wanted to install GSL http://www.gnu.org/software/gsl/ so that I can use it with Ruby GSL http://rb-gsl.rubyforge.org/.

I have MINGW and MSYS installed. I found a binary installer for GSL for version 1.13 here http://ascend4.org/Binary_installer_for_GSL-1.13_on_MinGW but since the latest version is 1.15 released the 6th May 2011 I thought it would be good to开发者_Python百科 build it to install it but I don't how.

Can anyone tell me how to build it so it will install windows?


I modified the steps for installing the GNU Linear Programming Kit (GLPK) which has also has ruby wrapper, "rglpk". http://en.wikibooks.org/wiki/GLPK/Ruby

Open

Run cd /C/temp/gsl-1.14 ./configure --enable-shared make make check make install cp include/gsl-config /C/Ruby193/include/ruby-1.9.1 cp src/.libs/libgsl.a /C/Ruby193/lib gem install gsl

If that does not work, it might make more sense to install Ubuntu on Virtual Box and build your packages there.

https://www.virtualbox.org/ http://www.ubuntu.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜