On 26 Jul., 22:51, charles Bouillaguet <[email protected]>
wrote:
> Hi all,
>
> I am experiencing an annoying compilation failure under ubuntu 12.04, 64-bits.
>
> sage -f gmp produces this :
>
> Making all in cxx
> make[2]: entrant dans le répertoire «
> /home/charles/sage-5.2.rc1/spkg/build/gmp-4.2.1.p10/src/cxx »
> /bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
> -D__GMP_WITHIN_GMPXX -I..     -c -o isfuns.lo isfuns.cc
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -c
> isfuns.cc  -fPIC -DPIC -o .libs/isfuns.o
> In file included from isfuns.cc:25:0:
> ../gmp.h:515:12: error: 'std::FILE' has not been declared
> make[2]: *** [isfuns.lo] Erreur 1
>
> The error seems very weird...
>
> g++ is gcc 4.6.3
>
> Any hints ?


Frankly speaking I'm somewhat surprised that you *expect* that
optional GMP spkg to work (with newer versions of Sage) -- it's
completely outdated, and AFAIK many spkgs meanwhile won't work with
that very old version anyway.

A couple of people have built their own GMP spkgs, but unfortunately
the official optional one never got updated.

Recent work has been done on #12661 [1], and you could try the GMP
5.0.4 spkg from there [2].


Anyway, until we provide some more recent version, the GMP spkg should
IMHO get removed from the official servers (or moved to experimental),
to not disappoint or annoy people probably not aware of the facts
above.


-leif

[1] http://trac.sagemath.org/sage_trac/ticket/12661

[2] http://boxen.math.washington.edu/home/SimonKing/SAGE/spkgs/gmp-5.0.4.spkg

-- 
-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to