On Thursday, September 30, 2021 at 5:10:25 PM UTC+9 dim...@gmail.com wrote:

> ... you can see it in top-level config.log (the following is what you see 
> if openblas is accepted):
>
> ## Checking whether SageMath should install SPKG openblas... ##
> ## --------------------------------------------------------- ##
> configure:14782: checking BLAS library
> configure:14802: result: openblas
> configure:15932: $? = 0
> configure:15954: checking for cblas_dgemm
> configure:15954: g++ -o conftest    conftest.cpp -lopenblas  -lmpfr -lgmp 
> -lm  >&5
> configure:15954: $? = 0
> configure:15954: result: yes
> configure:16036: checking for dgeqrf
> configure:16036: g++ -o conftest    conftest.cpp -lopenblas  -lmpfr -lgmp 
> -lm  >&5
> ...
> ...
> configure:16196: will use system package and not install SPKG openblas
>

I cannot reproduce the gsl build failure again. But after "make distclean; 
./configure", the config.log shows the following. This time sage building 
is going well until now.

Can you see a problem with my system openblas in the log? Thank you for 
attention.

## --------------------------------------------------------- ##
## Checking whether SageMath should install SPKG openblas... ##
## --------------------------------------------------------- ##
configure:13878: checking BLAS library
configure:13898: result: openblas
configure:13953: checking whether any of gfortran is installed as or will 
be installed as SPKG
configure:13963: result: no
configure:13974: checking for openblas >= 0.2.20
configure:13981: $PKG_CONFIG --exists --print-errors "openblas >= 0.2.20"
configure:13984: $? = 0
configure:13998: $PKG_CONFIG --exists --print-errors "openblas >= 0.2.20"
configure:14001: $? = 0
configure:15015: result: yes
configure:15025: $PKG_CONFIG --exists --print-errors "openblas"
configure:15028: $? = 0
configure:15050: checking for cblas_dgemm
configure:15050: g++ -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.17/lib -lopenblas -lmpfr -lgmp -lm  >&5
configure:15050: $? = 0
configure:15050: result: yes
configure:15132: checking for dgeqrf
configure:15132: g++ -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.17/lib -lopenblas -lmpfr -lgmp -lm  >&5
Undefined symbols for architecture x86_64:
  "_dgeqrf", referenced from:
      _main in conftest-39a3a4.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:15132: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "9.5.beta2"
| #define PACKAGE_STRING "Sage 9.5.beta2"
| #define PACKAGE_BUGREPORT "sage-devel@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "9.5.beta2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBM 1
| #define HAVE_CXX11 1
| #define HAVE_GMP_H 1
| #define ABSOLUTE_GMP_H "///usr/local/include/gmp.h"
| /* end confdefs.h.  */
| /* Define dgeqrf to an innocuous variant, in case <limits.h> declares 
dgeqrf.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define dgeqrf innocuous_dgeqrf
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char dgeqrf (); below.  */
| 
| #include <limits.h>
| #undef dgeqrf
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dgeqrf ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_dgeqrf || defined __stub___dgeqrf
| choke me
| #endif
| 
| int
| main (void)
| {
| return dgeqrf ();
|   ;
|   return 0;
| }
configure:15132: result: no
configure:15141: checking for dgeqrf_
configure:15141: g++ -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.17/lib -lopenblas -lmpfr -lgmp -lm  >&5
configure:15141: $? = 0
configure:15141: result: yes
configure:15150: checking for DGEQRF
configure:15150: g++ -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.17/lib -lopenblas -lmpfr -lgmp -lm  >&5
Undefined symbols for architecture x86_64:
  "_DGEQRF", referenced from:
      _main in conftest-8e34df.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:15150: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "9.5.beta2"
| #define PACKAGE_STRING "Sage 9.5.beta2"
| #define PACKAGE_BUGREPORT "sage-devel@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "9.5.beta2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBM 1
| #define HAVE_CXX11 1
| #define HAVE_GMP_H 1
| #define ABSOLUTE_GMP_H "///usr/local/include/gmp.h"
| /* end confdefs.h.  */
| /* Define DGEQRF to an innocuous variant, in case <limits.h> declares 
DGEQRF.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define DGEQRF innocuous_DGEQRF
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char DGEQRF (); below.  */
| 
| #include <limits.h>
| #undef DGEQRF
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char DGEQRF ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_DGEQRF || defined __stub___DGEQRF
| choke me
| #endif
| 
| int
| main (void)
| {
| return DGEQRF ();
|   ;
|   return 0;
| }
configure:15150: result: no
configure:15159: checking for DGEQRF_
configure:15159: g++ -std=gnu++11 -o conftest    conftest.cpp 
-L/usr/local/Cellar/openblas/0.3.17/lib -lopenblas -lmpfr -lgmp -lm  >&5
Undefined symbols for architecture x86_64:
  "_DGEQRF_", referenced from:
      _main in conftest-1e2411.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
configure:15159: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Sage"
| #define PACKAGE_TARNAME "sage"
| #define PACKAGE_VERSION "9.5.beta2"
| #define PACKAGE_STRING "Sage 9.5.beta2"
| #define PACKAGE_BUGREPORT "sage-devel@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "sage"
| #define VERSION "9.5.beta2"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_LIBM 1
| #define HAVE_CXX11 1
| #define HAVE_GMP_H 1
| #define ABSOLUTE_GMP_H "///usr/local/include/gmp.h"
| /* end confdefs.h.  */
| /* Define DGEQRF_ to an innocuous variant, in case <limits.h> declares 
DGEQRF_.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define DGEQRF_ innocuous_DGEQRF_
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char DGEQRF_ (); below.  */
| 
| #include <limits.h>
| #undef DGEQRF_
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char DGEQRF_ ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_DGEQRF_ || defined __stub___DGEQRF_
| choke me
| #endif
| 
| int
| main (void)
| {
| return DGEQRF_ ();
|   ;
|   return 0;
| }
configure:15159: result: no
configure:15292: will use system package and not install SPKG openblas     

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/b3ade1f8-58a1-475f-9ac7-0aedbcb2fc5cn%40googlegroups.com.

Reply via email to