On 4/15/07, mabshoff <[EMAIL PROTECTED]> wrote: > > On Apr 14, 1:42 am, "William Stein" <[EMAIL PROTECTED]> wrote: > > On 4/13/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > > > If you get libgd working, > > > > > I did post a patch earlier. Should I submit it formally? > > > > Could you just make a new version of the gdmodule spkg and > > make that available to me? > > I can still do that, but it would only squash the warning about > libiconv. It somehow depends on the 2.5 release timetable, but I guess > it can alway go in afterwards.
Please clarify. I don't understand what the issue is. The 2.5 release got moved forward, because just integrating in the calculus package took me all weekend, and I haven't finished yet. It's quite hard. Plus I totally rewrote much of the maxima interface to make it much more robust. > > Actually, the problem you give below means exactly that sage-2.4.2 > > failed to build, and I bet that was because of the problem with > > real_double.pyx. Try typing "sage -br" and seeing the problem, > > which is probably with real_double.pyx. If so, apply the patch (or just > > comment out those two lines), then do sage -br again. > > > > > > Ok, I did apply the patch and it was fixed. Another way would be > something like the following: > > #if defined(__CYGWIN__) > #ifndef NAN > #define NAN (0.0/0.0) > #endif > #endif > > cygwin has a nan() function, but the above should also fix it. > Supposedly NAN is also undefined on OpenBSD and FreeBSD. I don't think the code should have had a NAN in there in the first place; it doesn't make sense to hack around what GSL's special functions already do, especially only in *one* case, i.e., cos, and leave everything else as the default. The NAN should not have been there in the first place. -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---