On Wed, Dec 24, 2008 at 9:33 AM, Arnaud Bergeron <aberge...@gmail.com> wrote: > >>>> > * dvipng-1.8 -- available on any linux/os x system via standard >>>> > package tools; has nothing to do with sage >>>> >>>> Delete it completely. The dependencies are insane and people just >>>> install the distributions version.. > > I think this spkg was made for macs, where the system dvipng cannot > run in the sage environment:
I made it, and I did not make it specifically for macs. Before jsmath, dvipng was the only way to get anything typeset to appear in the notebook, and we were toying with making it standard. > > $ sage -sh > > Starting subshell with Sage environment variables set. > Be sure to exit when you are done and do not do anything > with other copies of Sage! > > bash-3.2$ dvipng > dyld: Symbol not found: __cg_png_create_info_struct > Referenced from: > /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO > Expected in: /Volumes/Place/anakha/Applications/sage/local/lib//libPng.dylib > > Trace/BPT trap > bash-3.2$ > > If this goes then we should also remove the spkg for libpng or mess > with the library path in an evil way. You're right, we should run dvipng from Sage using the sage-native-execute command, which we don't do on OS X right now (hence it is completely broken there). It is not an "evil way" (well not more than anything else about computers -- they're all smoke and mirrors). Here is the only command in all sage that actually uses dvipng: sage: sage.misc.latex.Latex().eval('1') On OS X this is broken right now. I just fixed this, along with several other bugs in the eval function in sage.misc.latex.Latex(), plus added some doctests so this sort of breakage can be found in the future. Arnaud -- please review http://trac.sagemath.org/sage_trac/ticket/4872 -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---