Thanks! I'm on vacation hence I can not make test during a few days.
It seems strange that the library mpfr is located by the configure
script but the header file is not. One way to force it is to modify
CXXFLAGS and add a -I flag to a path where mpfr.h is installed
(something like export CXXFLAGS='-I/usr/local/include/
custom_mpfr_install'). Unfortunately I don't know how to automate this
before ./configure is called using the spkg mechanism, and I must wait
a few days before being able to do tests. ANother solution which will
take more time is for me to add a --disable-mpfr flag (currently not
implemented) in configure.in.

Bernard

On 17 août, 20:56, "Ondrej Certik" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I went ahead and created the initial giac spkg here:
>
> http://sage.math.washington.edu/home/ondrej/spkg/giac-0.8.0.spkg
>
> Bernard, here is some info how to work with it:
>
> http://www.sagemath.org/doc/prog/node24.html
>
> Basically you just do:
>
> $ sage -f giac-0.8.0.spkg
>
> currently it fails right at the beginning with:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -g -O2 -c sym2poly.cc  -fPIC
> -DPIC -o .libs/sym2poly.lo
> In file included from sym2poly.h:25,
>                  from sym2poly.cc:32:
> gen.h:28:18: error: mpfr.h: No such file or directory
>
> but I think there should be mpfr.h in Sage. Giac builds on my Debian sid.
>
> If you figure out what to pass to the configure to make this work,
> please put your corrected package somewhere, or send me a mercurial
> patch. When it builds, I'll write some Cython wrappers for it, so that
> one can use it easily in Sage.
>
> Thanks,
> Ondrej
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to