Re: [GRASS-user] grass 6.2.3 cannot find BLAS

2007-11-30 Thread Markus Neteler
Hernán De Angelis wrote on 11/30/2007 12:22 PM:
 Dear all,

 I just downloaded grass 6.2.3 and tried to compile it with BLAS in
 OpenSUSE 10.2. The BLAS libraries are stored in /usr/lib, but the
 configure script cannot find them even if I specify the
 --with-blas-dir option. I compiled GRASS 6.2.2 a few weeks ago and
 this was not a problem. The BLAS libraries have not changed since
 then. Have I missed some recent changes?
AFAIK you don't need BLAS with GRASS 6.2.x - it won't be used anyway.
It's a future extension for the upcoming improvements in various
imagery commands.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] grass 6.2.3 cannot find BLAS

2007-11-30 Thread Hernán De Angelis
Thanks for that!  Here are the last lines of config.log. Configure
complains about undefined refernces to things. I guess it might be
something related to gcc/gfortran but I can't understand the cause of
the failure.


configure:12134: checking whether to use BLAS
configure:12156: checking for location of BLAS library
configure:12183: checking for dnrm2_ in -lblas
configure:12200: gcc -o conftest -g -O2 -Wl,--export-dynamic
conftest.c -lblas -lm   15
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_st_write_done'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_transfer_integer'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_stop_numeric'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_st_write'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_transfer_character'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12189 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char dnrm2_();

int main() {
dnrm2_()
; return 0; }
configure:12219: checking for dnrm2_ in -lblas
configure:12236: gcc -o conftest -g -O2 -Wl,--export-dynamic
conftest.c -lblas -lm -lg2c  15
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_st_write_done'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_transfer_integer'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_stop_numeric'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_st_write'
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
reference to `_gfortran_transfer_character'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12225 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char dnrm2_();

int main() {
dnrm2_()
; return 0; }









2007/11/30, Glynn Clements [EMAIL PROTECTED]:

 Hernán De Angelis wrote:

  Thanks for your clarification. But, why does the configure script not
  find the blas libraries?

 There should be some clues (i.e. error messages) in the config.log
 file.

 --
 Glynn Clements [EMAIL PROTECTED]



-- 

Hernán De Angelis
Linux user # 397217
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user