#11884: Fix ECL so it builds on OS X Lion
------------------------------+---------------------------------------------
Reporter: jhpalmieri | Owner: tbd
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7.2
Component: packages | Keywords: ecl spkg upgrade update lion
darwin 11
Work_issues: | Upstream: N/A
Reviewer: Leif Leonhardy | Author: William Stein
Merged: | Dependencies: #11966
------------------------------+---------------------------------------------
Changes (by jhpalmieri):
* status: needs_review => needs_work
Comment:
This needs work, and I don't know how to fix it. On sage.math, I took a
vanilla Sage 4.7.2 and dropped in either my spkg or William's, along with
the maxima spkg from #11966, and I built from scratch. The build
succeeded, but doctesting hangs on various files. For example:
{{{
$ ./sage -t --verbose devel/sage/doc/en/tutorial/tour_rings.rst
...
Trying:
pi in RR###line 124:_sage_ >>> pi in RR
Expecting:
True
Condition of type: SIMPLE-TYPE-ERROR
In function MAKE-FOREIGN-DATA-FROM-ARRAY, the value of argument is
"\"3.141592653589793 = %pi\""
which is not of expected type BASE-STRING
Available restarts:
1. (USE-VALUE) Supply a new value of type BASE-STRING.
Top level.
>
}}}
At this point, ecl stops to ask for user input, and since doctesting is
noninteractive, it waits until the test times out. For what it's worth, I
tried a build which was 4.7.2 plus the maxima spkg from #11966, and all
tests passed. So the problem looks like it's ecl, not maxima, but I'm not
positive about this.
From the web page [http://ecls.sourceforge.net/ecl/Strings.html], it looks
like a "base-string" is just an alias for "string", and I don't know why
the quoted object isn't a string. Is it the backslashes?
I don't know much about Sage's interactions with ecl and maxima, so I
don't have any ideas about how to fix this. The file
`devel/sage/sage/interfaces/lisp.py` passes tests. `interfaces/maxima.py`
passes, but `interfaces/maxima_lib.py` and `interfaces/maxima_abstract.py`
hang with the same kind of error (when run verbosely).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11884#comment:22>
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 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-trac?hl=en.