编译所需的BLAS和LAPACK库

时间:2020-12-09 04:08:34

I recently downloaded the latest stable release of Gnu Octave, and was attempting to build and install it on my machine (Ubuntu 10.0.4 LTS 64bit).

我最近下载了最新的Gnu Octave稳定版本,并试图在我的机器上构建和安装它(Ubuntu 10.0.4 LTS 64bit)。

When I run ./configure, I got this error message:

当我运行./configure时,我收到此错误消息:

configure: error: You are required to have BLAS and LAPACK libraries

Does anyone know Where do I obtain these libraries from?

有谁知道我从哪里获得这些库?

1 个解决方案

#1


13  

Try to run this

试着运行这个

apt-get install libblas-dev libatlas-dev liblapack-dev

All libraries, required by octave package in ubuntu are listed here: http://packages.ubuntu.com/lucid/octave3.2 and to build new octave you need -dev packages of some listed libs.

这里列出了ubuntu中octave包所需的所有库:http://packages.ubuntu.com/lucid/octave3.2并构建新的八度音程,你需要一些列出的库的-dev包。

The octave in ubuntu configured in rather maximal way - many optional parts of octave are turned on, and this leads to big list of libraries required.

ubuntu中的八度音程以相当最大的方式配置 - 八度音程的许多可选部分都被打开,这导致需要大量的库。

To get most development (-dev) packages required by octave you can run:

要获得octave所需的大多数开发(-dev)包,您可以运行:

apt-get install octave3.2-headers

which installs -dev-like package http://packages.ubuntu.com/lucid/octave3.2-headers of octave itself. This package depends on minimal -dev set and they will be installed after this command.

其中安装-dev-like包http://packages.ubuntu.com/lucid/octave3.2-八度音阶本身。此程序包依赖于最小的-dev设置,它们将在此命令之后安装。

#1


13  

Try to run this

试着运行这个

apt-get install libblas-dev libatlas-dev liblapack-dev

All libraries, required by octave package in ubuntu are listed here: http://packages.ubuntu.com/lucid/octave3.2 and to build new octave you need -dev packages of some listed libs.

这里列出了ubuntu中octave包所需的所有库:http://packages.ubuntu.com/lucid/octave3.2并构建新的八度音程,你需要一些列出的库的-dev包。

The octave in ubuntu configured in rather maximal way - many optional parts of octave are turned on, and this leads to big list of libraries required.

ubuntu中的八度音程以相当最大的方式配置 - 八度音程的许多可选部分都被打开,这导致需要大量的库。

To get most development (-dev) packages required by octave you can run:

要获得octave所需的大多数开发(-dev)包,您可以运行:

apt-get install octave3.2-headers

which installs -dev-like package http://packages.ubuntu.com/lucid/octave3.2-headers of octave itself. This package depends on minimal -dev set and they will be installed after this command.

其中安装-dev-like包http://packages.ubuntu.com/lucid/octave3.2-八度音阶本身。此程序包依赖于最小的-dev设置,它们将在此命令之后安装。