As suggested I did the following: cd sage export SAGE_ATLAS_ARCH=base ./configure --with-blas=atlas make
Go the following error: Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: libfplll-5.0.3rc0 log file: /home/Owner/sage/logs/pkgs/libfplll-5.0.3rc0.log build directory: /home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0 Have attached log file libfplll-5.0.3rc0.log Thanks FG On Wednesday, January 25, 2017 at 9:02:26 AM UTC-5, Erik Bray wrote: > > On Tue, Jan 24, 2017 at 7:50 PM, Francois Bissey > <francoi...@canterbury.ac.nz <javascript:>> wrote: > > That was my suspicion. Now does sage-on-cygwin use openblas? > > If not that means the corresponding `.pc` files have to be filled > > with something appropriate before installing any blas/lapack > dependencies. > > > > The present hack I introduced in gsl and causes this error is to force > > the linking of libgsl to our selected cblas. By default upstream > > leave it underlinked. The problem with underlinking is that you get > > in corner cases when the sage library components using gsl are also > > underlinked if you have “-Wl,—as-needed” in your LDFLAGS and you > > use the gold linker. And sage won’t start up… > > Generally speaking the underlinking is a bad idea in our context. > > Adding a “LIBS” at configuration time was the easiest thing to do. > > May be it needs to be avoided on cygwin. > > > I currently build Sage on Cygwin using the system-provided lapack > package and ./configure --with-blas=atlas. I don't think I've > explicitly gotten it working with a self-built openblas yet but it > hasn't been a priority. > > > >> On 25/01/2017, at 03:57, Dima Pasechnik <dim...@gmail.com <javascript:>> > wrote: > >> > >> > >> > >> On Tuesday, January 24, 2017 at 2:00:54 PM UTC, Frank Garvan wrote: > >> > >> Have attached config.log file > >> > >> Thanks. I think what really happens is that openblas did not install > correctly, and gsl > >> has a dependence on it. > >> In more detail, your log says: > >> > >> configure:3502: gcc -g -O2 -L/home/Owner/sage/local/lib > -Wl,-rpath,/home/Owner/sage/local/lib conftest.c -lopenblas -lm >&5 > >> > /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/../../../../x86_64-pc-cygwin/bin/ld: > cannot find -lopenblas > >> > >> Could you post the corresponding log (SAGEROOT/logs/pkgs/openblas-*) ? > >> > >> > >> > >> > >> On Tuesday, January 24, 2017 at 3:26:49 AM UTC-5, François wrote: > >> Need to see > >> /home/Owner/sage/local/var/tmp/sage/build/gsl-2.1.p1/src/config.log > >> but I suspect I am responsible. > >> > >> François > >> > >> > On 24/01/2017, at 14:51, Frank Garvan <fga...@gmail.com> wrote: > >> > > >> > > >> > Have attached log file. > >> > > >> > Can this be fixed? > >> > > >> > Thanks > >> > > >> > PS: Running cygwin64 on windows10 > >> > processor: Intel Core i3-6100 CPU @ 3.70 Ghz > >> > RAM: 8.00 GB > >> > system type: 64-bit operating system, x64-based processor > >> > > >> > -- > >> > 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+...@googlegroups.com. > >> > To post to this group, send email to sage-...@googlegroups.com. > >> > Visit this group at https://groups.google.com/group/sage-devel. > >> > For more options, visit https://groups.google.com/d/optout. > >> > <gsl-2.1.p1.log> > >> > >> > >> -- > >> 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+...@googlegroups.com <javascript:>. > >> To post to this group, send email to sage-...@googlegroups.com > <javascript:>. > >> Visit this group at https://groups.google.com/group/sage-devel. > >> For more options, visit https://groups.google.com/d/optout. > > > > -- > > 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+...@googlegroups.com <javascript:>. > > To post to this group, send email to sage-...@googlegroups.com > <javascript:>. > > Visit this group at https://groups.google.com/group/sage-devel. > > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Found local metadata for libfplll-5.0.3rc0 Attempting to download package fplll-5.0.3rc0.tar.gz from mirrors http://mirrors-usa.go-parts.com/sage/sagemath/spkg/upstream/libfplll/fplll-5.0.3rc0.tar.gz [......................................................................] libfplll-5.0.3rc0 ==================================================== Setting up build directory for libfplll-5.0.3rc0 Finished extraction No patch files found in ../patches **************************************************** Host system: CYGWIN_NT-10.0 DESKTOP-I5D0STB 2.6.1(0.305/5/3) 2016-12-16 11:55 x86_64 Cygwin **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe Target: x86_64-pc-cygwin Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible Thread model: posix gcc version 5.4.0 (GCC) **************************************************** Disable parallel building on Cygwin Now configuring fplll... expr: non-integer argument checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make -j1 sets $(MAKE)... yes checking whether make -j1 supports nested variables... yes checking whether make -j1 supports nested variables... (cached) yes checking build system type... x86_64-unknown-cygwin checking host system type... x86_64-unknown-cygwin checking how to print strings... printf checking for style of include used by make -j1... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 8192 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-cygwin file names to x86_64-unknown-cygwin format... func_convert_file_noop checking how to convert x86_64-unknown-cygwin file names to toolchain format... func_convert_file_noop checking for ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for dlltool... dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... ld checking if the linker (ld) is GNU ld... yes checking whether the g++ linker (ld) supports shared libraries... yes checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (ld) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether make -j1 sets $(MAKE)... (cached) yes checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=c++11... yes checking for __gmpz_init in -lgmp... yes checking for __gmp_get_memory_functions in -lgmp... yes checking for mpfr_add in -lmpfr... yes checking for mpfr_fms in -lmpfr... yes checking qd/dd_real.h usability... no checking qd/dd_real.h presence... no checking for qd/dd_real.h... no checking for ANSI C header files... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking cstdio usability... yes checking cstdio presence... yes checking for cstdio... yes checking iostream usability... yes checking iostream presence... yes checking for iostream... yes checking string usability... yes checking string presence... yes checking for string... yes checking limits usability... yes checking limits presence... yes checking for limits... yes checking vector usability... yes checking vector presence... yes checking for vector... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for working volatile... yes checking for working strtod... yes checking for floor... yes checking for pow... yes checking for rint... yes checking for sqrt... yes checking for strtol... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating fplll/Makefile config.status: creating tests/Makefile config.status: creating fplll.pc config.status: creating config.h config.status: creating fplll/fplll_config.h config.status: executing depfiles commands config.status: executing libtool commands Now building fplll... make[3]: Entering directory '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0/src' make -j1 all-recursive make[4]: Entering directory '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0/src' Making all in fplll make[5]: Entering directory '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0/src/fplll' make -j1 all-am make[6]: Entering directory '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0/src/fplll' depbase=`echo fplll.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DFPLLL_DEFAULT_STRATEGY_PATH=\"/home/Owner/sage/local/share/fplll/strategies\" -DFPLLL_DEFAULT_STRATEGY=\"/home/Owner/sage/local/share/fplll/strategies/default.json\" -I./.. -I/home/Owner/sage/local/include/ -fPIC -I/home/Owner/sage/local/include/ -L/home/Owner/sage/local/lib -O3 -MT fplll.lo -MD -MP -MF $depbase.Tpo -c -o fplll.lo fplll.cpp &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DFPLLL_DEFAULT_STRATEGY_PATH=\"/home/Owner/sage/local/share/fplll/strategies\" -DFPLLL_DEFAULT_STRATEGY=\"/home/Owner/sage/local/share/fplll/strategies/default.json\" -I./.. -I/home/Owner/sage/local/include/ -fPIC -I/home/Owner/sage/local/include/ -L/home/Owner/sage/local/lib -O3 -MT fplll.lo -MD -MP -MF .deps/fplll.Tpo -c fplll.cpp -DDLL_EXPORT -DPIC -o .libs/fplll.o fplll.cpp:1:0: warning: -fPIC ignored for target (all code is position independent) /* Copyright (C) 2005-2008 Damien Stehle. ^ In file included from ../fplll/nr/../defs.h:55:0, from ../fplll/nr/nr.h:8, from ../fplll/nr/numvect.h:19, from nr/matrix.h:21, from util.h:23, from fplll.h:25, from fplll.cpp:18: ../fplll/nr/../nr/dpe.h: In function 'void dpe_ugly_log(dpe_struct*, const dpe_struct*)': ../fplll/nr/../nr/dpe.h:775:42: error: 'M_LN2' was not declared in this scope dpe_set_d (x, ((double) DPE_EXP(y)) * M_LN2 + log (DPE_MANT(y))); ^ In file included from bkz.h:24:0, from fplll.h:28, from fplll.cpp:18: lll.h: In destructor 'fplll::LLLReduction<ZT, FT>::~LLLReduction()': lll.h:39:21: error: 'LDConvHelper' has not been declared ~LLLReduction() { LDConvHelper::free(); } ^ make[6]: *** [Makefile:851: fplll.lo] Error 1 make[6]: Leaving directory '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0/src/fplll' make[5]: *** [Makefile:526: all] Error 2 make[5]: Leaving directory '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0/src/fplll' make[4]: *** [Makefile:476: all-recursive] Error 1 make[4]: Leaving directory '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0/src' make[3]: *** [Makefile:363: all] Error 2 make[3]: Leaving directory '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0/src' Error building fplll real 2m21.779s user 0m7.150s sys 0m26.584s ************************************************************************ Error installing package libfplll-5.0.3rc0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/Owner/sage/logs/pkgs/libfplll-5.0.3rc0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/Owner/sage/local/var/tmp/sage/build/libfplll-5.0.3rc0' && '/home/Owner/sage/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************