#20437: Misinstallation of Python in Cygwin
-------------------------------------------------+-------------------------
Reporter: embray | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.2
Component: porting: Cygwin | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: Not yet reported upstream; | Work issues:
Will do shortly. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Comment (by embray):
After applying the following patch, I rebuilt python2, and was
subsequently able to build pillow:
{{{
#!diff
diff --git a/build/pkgs/python2/spkg-install b/build/pkgs/python2/spkg-
install
index db35674..b479ba3 100755
--- a/build/pkgs/python2/spkg-install
+++ b/build/pkgs/python2/spkg-install
@@ -129,6 +129,9 @@ fi
if [ "$UNAME" = "Darwin" ] && \
[ `uname -r | cut '-d.' -f1` -gt 9 ]; then
rm -f "$SAGE_LOCAL/lib/python2.7/config/libpython2.7.a"
+elif [ "$UNAME" = "CYGWIN" ]; then
+ # See http://trac.sagemath.org/ticket/20437
+ ln -sf "python2.7/config/libpython2.7.dll.a"
"$SAGE_LOCAL/lib/libpython2.7.dll.a"
fi
# Make sure extension modules were built correctly.
}}}
Should probably do the same for Python 3.
--
Ticket URL: <http://trac.sagemath.org/ticket/20437#comment:1>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.