On Sat, Oct 24, 2009 at 11:56 PM, Ondrej Certik <ond...@certik.cz> wrote: > > On Sat, Oct 24, 2009 at 4:11 PM, William Stein <wst...@gmail.com> wrote: >> >> Hi, >> >> I was reading through the Cygwin User's Guide today and decided to try >> again to try to get Sage to startup on Cygwin. I took my 4.1 build >> (see http://trac.sagemath.org/sage_trac/ticket/6743 for links to >> tickets and patches needed to get this to build), and was able to get >> it start up (finally) and half the sage library to load, *including* >> libsingular: >> >> bash-3.2$ ./sage >> ---------------------------------------------------------------------- >> | Sage Version 4.1, Release Date: 2009-07-09 | >> | Type notebook() for the GUI, and license() for information. | >> ---------------------------------------------------------------------- >> Unable to start gap >> sage: 2 + 3 >> 5 >> sage: type(2) >> <type 'sage.rings.integer.Integer'> >> sage: time n=factorial(10^6) >> CPU times: user 1.38 s, sys: 0.43 s, total: 1.81 s >> Wall time: 1.81 s >> sage: os.uname() >> ('CYGWIN_NT-5.1', 'WINXP3', '1.5.25(0.156/4/2)', '2008-06-12 19:34', 'i686') >> sage: R.<x,y,z> = QQ[] >> sage: f = (x+y+z+1)^2; f >> x^2 + 2*x*y + y^2 + 2*x*z + 2*y*z + z^2 + 2*x + 2*y + 2*z + 1 >> sage: type(f) >> <type >> 'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular'> >> >> >> ----- >> >> In particular, libsingular appears to be totally rock solid on cygwin! >> This is exciting because libsingular was *the* reason I (stupidly) >> stopped support for Cygwin back in early 2007. >> >> There is still a huge amount of work left to fully port Sage to >> Cygwin. However, I'm 100% confident it is possible, do-able, and very >> maintainable once the port is done. Regarding maintainability, Ondrej >> Certik and I even setup 3 Windows XP virtual machines with ssh access >> on boxen, so it is easy to work on the port. >> >> Finishing the port will be a massive amount of work, though vastly >> less work than an MSVC port. I'm posting this mainly because I >> don't personally want to do all that work myself. Help wanted. >> >> If you're very serious about helping, I can make an account for you on >> one of these virtual machines, or even just make you a complete >> virtual machine. The importance of being able to work remotely is >> the autoconf parts of building sage on cygwin are quite slow. > > Great job. Just curious --- does sage build without Cygwin segfaulting > on the way for you?
No, it doesn't segfault. > Because when I build FEMhub, which is much smaller than Sage, my > cygwin on my windows 7 can't handle it and segfaults. I then just have > to restart the windows (maybe there is some shortcut), go back to > cygwin and type "make", then it finishes. Maybe Cygwin is still buggy on Windows 7? The Cygwin webpage says "Note that the official support for Windows 95, Windows 98, and Windows Me will be discontinued with the next major version (1.7) of Cygwin, which is in beta testing right now. Note that Windows 7 and later will only be supported starting with the 1.7 version of Cygwin." So it sounds like support for windows 7 is "beta". -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---