0

Solaris 10 Sparc 64 マシンで Octave 3.8.2 をビルドしようとしているときに、Qscintilla ライブラリー (および他のいくつかのライブラリー) が見つからないことを configure が教えてくれます。これは私が言っていることです:

./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
#

質問は:

必要な Qscintilla (およびその他の) ライブラリの場所を Octave 構成に通知するにはどうすればよいですか? ありがとう。

4

2 に答える 2

1

Ubuntu 64ビットで、ソースからオクターブ(レポバージョン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

次に、それらがシナプスにインストールされていることを確認しました。最も重要なのは、それらの「-dev」バージョンです。

次に、../configure を作成すると、ほとんどのライブラリで機能しました。もう 1 つの考えられる問題は、octave/etc/HACKING の手順を使用しない場合、次のことを行う必要があることです。

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

私のコンピューターで見つからない唯一のライブラリは「osmesa」と呼ばれますが、3.8 バージョンでは要求されていないようですので、問題にはなりません (私のようにレポ ソースからインストールする場合に備えて言っているだけです)。 .

于 2015-05-10T02:23:57.690 に答える
0

リポジトリを構築してみてください apt-get build-dep octave または yum-builddep octave

fortran77のblasライブラリを除いて、これは私にとってはうまくいきました

次に、(Centos -yum スタイルで) yum install lapack64-devel lapack64 を試しました。まだインストールしていない場合に備えて: yum install gl2ps-devel qrupdate-devel qt-devel qscintilla-devel java-devel

おそらくまだ多くの行方不明がありますが、これらは少なくとも部分的に上記の問題を解決しました

于 2016-06-17T05:53:25.223 に答える