我正在安装 linbox 库:http://www.linalg.org/developer.html安装指南指出,应该安装几个库,包括 fflas-ffpack 库,然后运行脚本 autogen.sh,可选择指定安装前缀:
cd linbox
./autogen.sh [--prefix=<prefix>] [options].
[options] include --with-fflas-ffpack=<fflas-ffpack-prefix>, which, according to the installation guide, is needed only if the package is not installed at a standard location such as /usr or /usr/local. It is also necessary to set the LD_LIBRARY_PATH to support dynamic linking with the lib directory of any of the packages installed in a nonstandard place in that case.
我已经安装了 fflas-ffpack 库。
~$ sudo dpkg -L fflas-ffpack returns
/.
/usr
/usr/include
/usr/include/fflas-ffpack
/usr/include/fflas-ffpack/fflas-ffpack-config.h
/usr/include/fflas-ffpack/fflas-ffpack-optimise.h
/usr/bin
/usr/bin/fflas-ffpack-config
/usr/share
/usr/share/doc
/usr/share/doc/fflas-ffpack
/usr/share/doc/fflas-ffpack/README
/usr/share/doc/fflas-ffpack/TODO
/usr/share/doc/fflas-ffpack/changelog.Debian.gz
/usr/share/doc/fflas-ffpackcopyright
/usr/share/doc/fflas-ffpackNEWS.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/fflas-ffpack-config.1.gz.
但是当我使用命令时./autogen.sh
,报告了一个错误(ERROR: Fflas-Ffpack not found!
)。我不确定问题是什么,我想我应该使用--with-fflas-ffpack=<fflas-ffpack-prefix>
选项。
我不知道我是否正确地确定了问题,如果正确的话,我应该在表达式中用什么来代替“前缀”这个词--with-fflas-ffpack=<fflas-ffpack-prefix>
,是否应该用一些东西来代替[--prefix =],以及我应该将哪条路径分配给变量LD_LIBRARY_PATH
(/usr
,/usr/include
或/usr/share
)。
如您能提供任何帮助我将不胜感激。