#17635: Update Givaro, FFLAS-FFPACK and LinBox
-------------------------------------+-------------------------------------
Reporter: jpflori | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.2
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers: François Bissey
Authors: Clement Pernet, | Work issues:
Jeroen Demeyer | Commit:
Report Upstream: N/A | c1c84b1785dc93c3711f8589f46f4067061260be
Branch: | Stopgaps:
u/cpernet/givaro_fflasffpack_linbox|
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by embray):
Possibly of interest for this patch--I'm currently working getting sage
building on Cygwin, and currently am stuck at fflas-ffpack with the
following:
{{{
fflas_ffpack-1.6.0.p2
====================================================
Setting up build directory for fflas_ffpack-1.6.0.p2
Finished set up
****************************************************
Host system:
CYGWIN_NT-6.1 PC-pret-47 2.4.1(0.293/5/3) 2016-01-24 11:26 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.3.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with:
/cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-3.x86_64/src/gcc-5.3.0/configure
--srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-3.x86_64/src/gcc-5.3.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.3.0 (GCC)
****************************************************
patching file fflas-ffpack-config.in
Using system-wide Cygwin LAPACK BLAS.
*************************************************
Using --with-blas=-lblas
*************************************************
...
... standard ./configure junk ...
...
-----------------------------------------------
Default path = /home/embray/src/sagemath/sage/local /usr /usr/local
-----------------------------------------------
checking for GMP >= 3.1.1... found
checking whether GMP is 4.0 or greater... yes
checking whether GMP was compiled with --enable-cxx... yes
checking for GIVARO >= 30700 and < 30800... found
checking "for BLAS (-lblas)"... no
checking for C interface to BLAS with -lcblas... not working
checking for C interface to BLAS with -lblas... not working
checking for other BLAS... problem
Sorry, your BLAS are not working. Disabling.
*******************************************************************************
ERROR: BLAS not found!
BLAS routines are required for this library to compile. Please
make sure BLAS are installed and specify its location with the option
--with-blas=<lib> when running configure (or --with-cblas... see
configure --help).
*******************************************************************************
Error configuring fflas-ffpack
real 0m23.800s
user 0m7.708s
sys 0m11.372s
************************************************************************
Error installing package fflas_ffpack-1.6.0.p2
************************************************************************
}}}
I tested the branch in this ticket and still had this same problem. It's
a little mysterious, but I haven't deeply investigated it yet.
However, if I go into the build directory for fflas_ffpack and manually
run:
{{{
$ ./configure --prefix="$SAGE_LOCAL" --libdir="$SAGE_LOCAL/lib" --with-
default="$SAGE_LOCAL" --with-blas="$(pkg-config --libs cblas)" --enable-
optimization --disable-static
}}}
So ISTM it would suffice to remove the special section in `spkg-install`
for Cygwin which I guess is no longer required (why, I don't know). That
might as well be done as part of this patch.
--
Ticket URL: <http://trac.sagemath.org/ticket/17635#comment:122>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.