About the cvxopt problem Now the package checks sage_fortran -v and uses a setup.py that links against f95 if you have g95 and a setup.py that links against gfortran otherwise.
(this package is in my spkgs cvxopt-0.8.2.p5.spkg) I have tested it with both g95 and gfortran. Josh On Nov 7, 3:16 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Nov 7, 8:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > > > This should really be sent to sage-devel, so I'm forwarding it there. > > > ---------- Forwarded message ---------- > > From: William Stein <[EMAIL PROTECTED]> > > Date: Nov 7, 2007 11:07 AM > > Subject: Re: [sage-support] sage-2.8.12 build report > > To: [EMAIL PROTECTED] > > > On Nov 7, 2007 11:02 AM, Kate Minola <[EMAIL PROTECTED]> wrote: > > > I go away for a while, and now SAGE does not build > > > on any of my machines of interest: > > > > Compiling from source using gcc-4.2.2, I get > > > > *** > > > x86-Linux, ia64-Linux > > > *** > > > While compiling cvxopt-0.8.2.p4, I get > > > > gcc -pthread -shared build/temp.linux-i686-2.5/C/base.o > > > build/temp.linux-i686-2.5/C/dense.o > > > build/temp.linux-i686-2.5/C/sparse.o > > > -L/home/kate/sage/sage-2.8.12-x86-Linux/local/lib > > > -L/home/kate/sage/sage-2.8.12-x86-Linux/local/lib/gcc-lib/i686-pc-linux-gnu/4.0.3 > > > -lm -llapack -lblas -lf95 -o build/lib.linux-i686-2.5/cvxopt/base.so > > > /usr/local/binutils-2.17/x86-Linux-gcc-4.1.1/bin/ld: cannot find -lf95 > > > That's because you're using gfortran. Evidently Josh's fix for cvxopt > > not fully working > > fails for people using gfortran. I'll open a trac ticket: > > >http://trac.sagemath.org/sage_trac/ticket/1125 > > > > *** > > > x86_64-Linux > > > *** > > > While compiling libfplll-2.1-20071024, I get > > > > g++ -shared -nostdlib /usr/lib/../lib64/crti.o > > > /usr/local/gcc-4.2.2/x86_64-Linux/lib/gcc/x86_64-unknown-linux-gnu/4.2.2/crtbeginS.o > > > .libs/fplll.o -Wl,--rpath > > > -Wl,/usr/local/gcc-4.2.2/x86_64-Linux/lib/../lib64 -Wl,--rpath > > > -Wl,/usr/local/gcc-4.2.2/x86_64-Linux/lib/../lib64 -lmpfr -lgmp > > > -L/usr/local/gcc-4.2.2/x86_64-Linux/lib/gcc/x86_64-unknown-linux-gnu/4.2.2 > > > -L/usr/local/gcc-4.2.2/x86_64-Linux/lib/gcc/x86_64-unknown-linux-gnu/4.2.2/../../../../lib64 > > > -L/lib/../lib64 -L/usr/lib/../lib64 > > > -L/home/kate/sage/sage-2.8.12-x86_64-Linux/local/lib > > > -L/usr/local/gcc-4.2.2/x86_64-Linux/lib/gcc/x86_64-unknown-linux-gnu/4.2.2/../../.. > > > /usr/local/gcc-4.2.2/x86_64-Linux/lib/../lib64/libstdc++.so -lm -lc > > > -lgcc_s > > > /usr/local/gcc-4.2.2/x86_64-Linux/lib/gcc/x86_64-unknown-linux-gnu/4.2.2/crtendS.o > > > /usr/lib/../lib64/crtn.o -Wl,-soname -Wl,libfplll.so.0 -o > > > .libs/libfplll.so.0.0.0 > > > /usr/bin/ld: /usr/lib/../lib64/libmpfr.a(exceptions.o): relocation > > > R_X86_64_32 against `a local symbol' can not be used when making a > > > shared object; recompile with -fPIC > > > /usr/lib/../lib64/libmpfr.a: could not read symbols: Bad value > > > > Why is Sage trying to use libmpfr.a out of /usr/lib? Should it not be > > > using the version > > > in [sage]/local/lib? > > > I agree. Note that libfpll is a brand new package in Sage (it does > > very fast LLL reduction, > > so is quite important), but it hasn't been as widely tested as other > > components of Sage. > > This is now trac #1126: > > Kate, could you try > > http://sage.math.washington.edu/home/mabshoff/libfplll-2.1-20071024.p... > > and report back it that solves the issue? > > Cheers, > > Michael > > > > > http://trac.sagemath.org/sage_trac/ticket/1126 > > > I've made both trac tickets blockers. We'll fix them at Sage Days next > > week. > > > William > > > -- > > William Stein > > Associate Professor of Mathematics > > University of Washingtonhttp://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---