编译需要BLAS和LAPACK库 [英] BLAS and LAPACK libraries required for compiling

查看:1059
本文介绍了编译需要BLAS和LAPACK库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近下载了Gnu Octave的最新稳定版本,并试图在我的计算机上(Ubuntu 10.0.4 LTS 64位)进行构建和安装.

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).

运行./configure时,出现以下错误消息:

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

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

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

Does anyone know Where do I obtain these libraries from?

推荐答案

尝试运行此

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

此处列出了ubuntu中octave软件包所需的所有库: http://packages.ubuntu .com/lucid/octave3.2 ,要构建新的八度,您需要一些列出的库的-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中的八度音阶以最大的方式配置-八度音阶的许多可选部分都已打开,这导致需要的库列表很大.

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.

要获得八度所需的大多数开发(-dev)软件包,可以运行:

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

apt-get install octave3.2-headers

会安装类似-dev的软件包 http://packages.ubuntu.com/八度本身的lucid/octave3.2-headers .该软件包取决于最小的-dev设置,将在此命令之后安装.

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.

这篇关于编译需要BLAS和LAPACK库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆