On Sep 28, 12:40 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 27, 2008 at 5:51 PM, mabshoff
>
>
>
> <[EMAIL PROTECTED]> wrote:
>
> > On Sep 27, 5:41 pm, John H Palmieri <[EMAIL PROTECTED]> wrote:
> >> Can anyone else reproduce this?
>
> > I can't since I do not have convert on a Mac, but the problem is that
> > we switched to a dynamic libpng. The solution is:
>
> >  * create a convert script in $SAGE_LOCAL/bin
> >  * set DYLD_LIBRARY_PATH to SAGE_ORIG_DYLD_LIBRARY_PATH
> >  * call convert with an absolute path (use "which convert" from
> > outside Sage) and pass on all parameters (i.e. /use/local/foo/convert
> > "$@")
>
> > We should probably do that automatically on OSX for convert, emacs and
> > the other usual suspects. The problem boils down to Apple renaming
> > some of the symbols in libpng and creating libPng.dylib in the
> > process.
>
> The right solution, which we've probably halfway already done
> if I remember correctly, is to write a Sage function called
> "run_command" that resets the environment as you suggest
> above, runs the subcommand, and returns.    This should be
> completely transparent to the user, and should do the right
> thing on Linux, OS X, etc.   Then the animate command
> would call convert via run_command instead of os.system.

Yes, for the convert command this should be used. Once we do that this
should also stop the annoying "convert not found" crap printed when
doctesting.

That still does not resolve the issue for Emacs that is launched due
to hg executing EDITOR.

> William

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to