#6492: [with patch; needs review] ratpoints -- new spkg is totally completely
broken on OS X 64-bit
----------------------+-----------------------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.1
Component: packages | Keywords:
Reviewer: | Author:
Merged: |
----------------------+-----------------------------------------------------
Comment(by was):
The first mistake in the spkg is this:
{{{
if [ $? -ne 0 ]; then
if [ `uname` -ne "Darwin" ]; then
echo "Build failed. Trying without SSE2 instructions."
}}}
Evidently "-ne" can *only* be used for numerical comparisons. Here we must
use the following.
{{{
if [ $? -ne 0 ]; then
if [ `uname` != "Darwin" ]; then
echo "Build failed. Trying without SSE2 instructions."
}}}
Also, I had to add an -m64 option...
OK, here's the spkg that fixes all the problems:
http://sage.math.washington.edu/home/wstein/patches/ratpoints-2.1.2.p1.spkg
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6492#comment:1>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---