[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building Octave 3.2.4 on FreeBSD 8.1
From: |
Thomas Dean |
Subject: |
Building Octave 3.2.4 on FreeBSD 8.1 |
Date: |
Sun, 26 Sep 2010 22:19:31 -0700 (PDT) |
I built Octave 3.2.4 on FreeBSD 8.1 by making a couple changes.
arpack on FreeBSD 8.1 requires blas to resolve some symbols, causing
configure to drop arpack.
# diff -c configure.in~ configure.in
*** configure.in~ Tue Jan 19 03:13:14 2010
--- configure.in Sun Sep 26 22:12:34 2010
***************
*** 1123,1129 ****
warn_arpack="arpack not found. This will result in a lack of the eigs
function."
if test "$with_arpack" = yes; then
with_arpack=no
! AC_CHECK_LIB(arpack, F77_FUNC(dseupd,DSEUPD), [ARPACK_LIBS="-larpack";
with_arpack=yes], , $LAPACK_LIBS $FLIBS)
if test "$with_arpack" = yes; then
AC_DEFINE(HAVE_ARPACK, 1, [Define if the ARPACK library is used.])
warn_arpack=
--- 1123,1129 ----
warn_arpack="arpack not found. This will result in a lack of the eigs
function."
if test "$with_arpack" = yes; then
with_arpack=no
! AC_CHECK_LIB(arpack, F77_FUNC(dseupd,DSEUPD), [ARPACK_LIBS="-larpack";
with_arpack=yes], , $LAPACK_LIBS $FLIBS $BLAS_LIBS)
if test "$with_arpack" = yes; then
AC_DEFINE(HAVE_ARPACK, 1, [Define if the ARPACK library is used.])
warn_arpack=
Other libs are skipped because config does not find them. Using
environment variables can work around this.
env F77=gfortran44 CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
./configure --with-blas=yes
tomdean
- Building Octave 3.2.4 on FreeBSD 8.1,
Thomas Dean <=