[Debichem-devel] Bug#568947: mpqc: sh4: FTBFS: configure: error: BLAS is required to complete the build

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Mon Feb 8 23:51:25 UTC 2010

Package: mpqc
Version: 2.3.1-4
Severity: important
Tags: patch
User: debian-sh4 at superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh at lists.debian.org


I am now trying to run Debian on Renesas SH(sh4) CPU.

mpqc can not build on sh4. Because configure of this package generated
from old autoconf.

checking fortran symbols... lowercase with underscore
checking for daxpy_... no
checking for daxpy_ in -lessl... no
checking for daxpy_ in -lblas... no
checking for daxpy_ in -lf77blas... no
WARNING: Could not link to the BLAS library.  It can be obtained at
configure: error: BLAS is required to complete the build
http://www.netlib.org/blas.  Use --with-libdirs and/or --with-libs

config.log has check error as follows.

configure:12729: result: no
configure:12745: checking for daxpy_ in -lf77blas
configure:12775: g++ -o conftest -O    conftest.cc -lf77blas  -latlas
-lfl -lm -ldl  -lpthread   -little -L/usr/lib/gcc/sh4-linux-gnu/4.4.3
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3/../../.. -lgfortranbegin -lgfort
ran -lm -lgcc_s >&5
/usr/bin/ld: cannot find -lf77blas
collect2: ld returned 1 exit status
configure:12781: $? = 1
configure: failed program was:

Old autoconf adds -little option to compile option. sh4 architecture can't
interpret this option. Therefore, this has build error.

We need patch revising this.
I added patch to revising these. Package building was good.
Please apply  patch.

Best regards,

Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpqc-2.3.1-sh4-support.patch
Type: application/x-empty
Size: 460 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20100209/c92b986f/attachment.bin>

More information about the Debichem-devel mailing list