linux 下安装gsl

  1. 访问 http://ftp.club.cc.cmu.edu/pub/gnu/gsl/下载最新版本的,现在最新的是gsl-1.16.tar.gz,已经是2013年更新的了。然后下载
  2. 安装
    • 简便的安装过程(TCMI)就是
      tar -zxvf gsl-1.16.tar.gz
      cd gsl-1.16
      ./configure
      make
      sudo make install
    • 推荐安装的时候查看一下INSTALL,README文件,作为任何安装的一个习惯性的过程

Dealing with:

  • fatal error: gsl/gsl_statistics_int.h: No such file or directory
    #include <gsl/gsl_statistics_int.h
                                      ^
    compilation terminated.
    make: *** [program] Error 1

 

Reference:

1. http://blog.163.com/znn04006518@126/blog/static/11825612520120975113630/

posted @ 2015-05-03 15:40  乌祁班岚图  阅读(1283)  评论(0编辑  收藏  举报