#12375: submit a giac spkg
--------------------------------------+--------------------------
Reporter: Han Frederic | Owner: tbd
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-6.3
Component: packages: optional | Resolution:
Keywords: giac | Merged in:
Authors: Han Frederic | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+--------------------------
Comment (by dimpase):
Replying to [comment:29 Han Frederic]:
> On linux ubuntu 12.04 with gcc I have the same config.h as yours.
> (the previous config posted was with clang on freebsd, sorry I though it
was closer to yours)
>
> But I could have the same error as yours on os 10.7 with sage 5.6 and
the sage gcc.
> I believe that the problem is this !defined(__APPLE__) line 47 of
index.h
>
> {{{
> #if defined UNORDERED_MAP && !defined(__APPLE__) && !defined(__clang__)
&& !defined(VISUALC)
> }}}
>
> so it blocks the use of tr1/unordered_map.
>
> I'have got success with the spkg and sage 5.6 on os 10.7 by changing
line 47 with:
>
> {{{
> #if defined UNORDERED_MAP && !defined(__clang__) && !defined(VISUALC)
> }}}
>
> does it works for you also?
yes it does.
The spkg still needs a bit of cleaning though.
Also, currently it is an "old style" spkg.
If there is a "canonical" version of giac-1.1.2 somewhere it's better to
provide it as the upstream tarball, and create patches; this is the "new
style" of spkgs. See http://sagemath.org/doc/developer/packaging.html
--
Ticket URL: <http://trac.sagemath.org/ticket/12375#comment:30>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.