Octave configure找不到Qscintilla库

时间:2015-04-18 17:33:14

标签: octave configure qscintilla

尝试在Solaris 10 Sparc 64计算机上构建Octave 3.8.2时,configure告诉我它找不到Qscintilla库(以及其他几个库),即使我有它们。这就是我所说的:

./configure --prefix=$HOME/bin/octave --with-blas=./libblas.so --with-lapack=$HOME/octave-3.8.2/liblapack.a --disable-readline --with-curl-libdir=/opt/csw/lib --with-blas=/opt/csw/lib

这就是我得到的:

configure: WARNING:

I wasn't able to find a suitable style for declaring a push-pull
parser in a bison input file so I'm disabling bison.

configure: WARNING: Qhull library not found -- this will result in loss of functionality of some geometry functions.
configure: WARNING: HDF5 library not found.  Octave will not be able to save or load HDF5 data files.
configure: WARNING: FFTW3 library not found.  The slower FFTPACK library will be used instead.
configure: WARNING: FFTW3F library not found.  The slower FFTPACK library will be used instead.
configure: WARNING: GLPK library not found.  The glpk function for solving linear programs will be disabled.
configure: WARNING: cURL library not found.  The ftp objects, urlread and urlwrite functions will be disabled.
configure: WARNING: FLTK config script not found.  Native graphics will be disabled.
configure: WARNING: qrupdate not found.  The QR & Cholesky updating functions will be slow.
configure: WARNING: AMD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: CAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: COLAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: CCOLAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: CHOLMOD library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: CXSparse library not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: UMFPACK not found.  This will result in some lack of functionality for sparse matrices.
configure: WARNING: ARPACK not found.  The eigs function will be disabled.
configure: WARNING: Qscintilla library not found -- disabling built-in GUI editorconfigure: WARNING:
configure: WARNING: I didn't find the necessary libraries to compile native
configure: WARNING: graphics.  It isn't necessary to have native graphics,
configure: WARNING: but you will need to have gnuplot installed or you won't
configure: WARNING: be able to use any of Octave's plotting commands
configure: WARNING:
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
configure: NOTE: not found OR if they are missing required features on your
configure: NOTE: system.

这就是我所拥有的:

# pwd
/opt/csw/lib
# ls *qsci*
libqscintilla2.so     libqscintilla2.so.11.3
libqscintilla2.so.11  libqscintilla2.so.11.3.0
# ls *curl*
libcurl.so.4  libcurl.so.4.3.0
#

问题是:

如何通知Octave配置在哪里找到它想要的Qscintilla(和其他)库?感谢。

2 个答案:

答案 0 :(得分:1)

我有一个类似的问题试图在Ubuntu 64位下从源代码构建八度音阶(repo版本4.0或4.2,我不确定)。像你一样,有很多行像

configure: WARNING: ... library not found.

我很难过,但我终于设法让octave的配置文件找到了依赖项:

1)我创建了/ usr / lib / x86_64-linux-gnu的别名,因为我发现这里安装了许多库而不是/ usr / lib64,配置脚本在那里搜索它们:

sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64

2)我用

寻找八度依赖关系
apt-cache depends octave

然后我确定它们已安装在synaptics中,最重要的是它们的“-dev”版本。

然后当我做../configure并且它适用于大多数库。您可能遇到的另一个问题是,如果您不使用octave / etc / HACKING中的说明,则必须执行以下操作:

cd octave
./bootstrap
mkdir .build
cd .build
../configure
make

在我的计算机上找不到的唯一库名为'osmesa',但似乎没有请求3.8版本,所以它不应该是你的问题(只是说如果你想从repo源安装像我一样。)

答案 1 :(得分:0)

尝试建立回购 apt-get build-dep octave 要么 yum-builddep octave

这对我有用,除了blas library for fortran77

然后我尝试了(以Centos -yum风格) yum install lapack64-devel lapack64 如果你还没有安装它们: yum install gl2ps-devel qrupdate-devel qt-devel qscintilla-devel java-devel

可能仍有许多人失踪,但这些问题解决了上述问题,至少在部分