On Jan 13, 2:53 am, sonnen <[email protected]> wrote:
> Hi Michael,

Hi Eric,

> thank you for your quick answer.
> I found that the xft font library used by Tk is requiring a link with
> ImageIO which causes the trouble. The fix could then be to compile a
> new version of Tk without the xft font library.
> ./configure --enable-framework --disable-xft  (Tcl/Tk as a framework)
> ./configure --disable-xft  (X11 lib)

Ok, interesting.

> Unfortunately there is a documented bug in python on mac when one uses
> self installed Tcl/Tk libraries (http://bugs.python.org/msg74544)
> One needs to fix the setup.py file in the python source, by putting
> the
> /System/Library  underneath /Library/Frameworks in the function
> detect_tkinter_darwin
> (another option would be to install the X11 version of Tcl/Tk) but
> then one would also
> need to modify setup.py by commenting out detect_tkinter_darwin in
> detect_tkinter.
> In both cases, one needs to modify the Python setup.py included in the
> sage distribution.

Ahh, bugs, bugs, bugs :)

> What is the best way for doing that ?

Nearly all spkgs are just tar.bz2 archives. To make changes to the
python.spkg do the following:

 ./sage -sh
 cd spkg/standard
 tar xjf python-2.5.2.$FOO.spkg
 cd python-2.5.2.$FOO
 edit things in src as needed
 ./spkg-install

Let me know if you run into any trouble.

> Cheers,
>
>  Eric

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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