[Pkg-octave-devel] Bug#578384: octave3.0-headers: mkoctfile uses wrong lapack and blas lib

Hans Schou hans at ange.dk
Mon Apr 19 14:01:58 UTC 2010


Package: octave3.0-headers
Version: 1:3.0.5-7+b1
Severity: normal
Tags: sid


Reassigning bug #577960. The bug is not in lapack or blas but in octave.

When running mkoctfile it tries to up to lapackgf-3 and blas-3gf. The error message is:
  /usr/bin/ld: cannot find -llapackgf-3

The full file name is: /usr/bin/mkoctfile-3.0.5

This patch solves the problem:

--- /usr/bin/mkoctfile  2010-02-23 15:43:15.000000000 +0100
+++ bin/mkoctfile       2010-04-19 14:22:57.000000000 +0200
@@ -22,6 +22,8 @@
 ## along with Octave; see the file COPYING.  If not, see
 ## <http://www.gnu.org/licenses/>.

+set -h
+
 # Exit immediately on any error.

 set -e
@@ -94,7 +96,7 @@
 : ${LIBOCTINTERP=-loctinterp}
 : ${LIBREADLINE=-lreadline}
 : ${LIBCRUFT=-lcruft}
-: ${BLAS_LIBS="-llapackgf-3 -lblas-3gf"}
+: ${BLAS_LIBS="-llapack -lblas"}
 : ${FFTW_LIBS="-lfftw3"}
 : ${LIBS="-lreadline  -lncurses -ldl -lhdf5 -lz -lm "}
 : ${FLIBS="-lgfortranbegin -lgfortran"


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_DK.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages octave3.0-headers depends on:
ii  g++                       4:4.4.3-1      The GNU C++ compiler
ii  gcc                       4:4.4.3-1      The GNU C compiler
ii  gfortran                  4:4.4.3-1      The GNU Fortran 95 compiler
ii  libblas-dev               1.2-7          Basic Linear Algebra Subroutines 3
ii  libfftw3-dev              3.2.2-1        library for computing Fast Fourier
ii  libhdf5-serial-dev        1.8.4-patch1-1 Hierarchical Data Format 5 (HDF5) 
ii  liblapack-dev             3.2.1-7        library of linear algebra routines
ii  libncurses5-dev           5.7+20100313-2 developer's libraries and docs for
ii  libreadline5-dev          5.2-7          GNU readline and history libraries
ii  octave3.0                 1:3.0.5-7+b1   GNU Octave language for numerical 

octave3.0-headers recommends no packages.

octave3.0-headers suggests no packages.

-- no debconf information





More information about the Pkg-octave-devel mailing list