$ sudo apt-get install hdf5 hdf5-devel blas blas-devel \ lapack lapack-devel ImageMagick-devel ImageMagick-c++-devel fftw3 \ fftw3-devel glpk glpk-devel glpk-utils qhull qhull-devel suitesparse \ suitesparse-devel pcre-devel fltk fltk-devel gperf $ cd /tmp $ wget http://ftpmirror.gnu.org/octave/octave-3.6.2.tar.gz $ gtar xfvz octave-3.6.2.tar.gz $ cd octave-3.6.2 $ CFLAGS=-O CXXFLAGS=-O ./configure --prefix=/usr/local/octave \ --with-umfpack="-lumfpack -lcholmod -lcolamd -llapack" CPPFLAGS="-I/usr/include/pcre \ -I/usr/include/ImageMagick -I/usr/include/suitesparse" LDFLAGS="-L/usr/lib64" $ make $ make check $ sudo make -n install $ sudo make install
/usr/local/octave/bin に PATH を通すのをお忘れなく。
補足
上記のように configure しても、まだ下記のような WARNING が残ります。
configure: WARNING: cURL library not found. The ftp objects, urlread and urlwrite functions will be disabled. configure: WARNING: GraphicsMagick++ library not found. The imread function for reading image files will not be fully functional. configure: configure: NOTE: libraries may be skipped if a library is not found OR configure: NOTE: if the library on your system is missing required features.
補足2
[2012-09-13]Vine Linux の公式パッケージで Octave 3.6.2 が利用できるようになっています。荒さんはじめ関係者に感謝いたします。
0 件のコメント:
コメントを投稿