Jens Nöckel wrote:

On Jan 15, 2006, at 1:28 PM, Robert T Wyatt wrote:

    add_tk_flags(module) # do this first
File "/sw/src/fink.build/matplotlib-py24-0.86.1-1/matplotlib-0.86.1/ setupext.py", line 376, in add_tk_flags
    o = find_tcltk() # todo: try/except

I had done a selfupdate and an update-all on my 10.3.9 machine yesterday, and now updated matplotlib-py24 after all the other installations had already been successfully completed. In my case, there were no errors. So maybe the order in which updates are performed matters somehow. There is a dependency on tcltk frameworks which causes the problem in your setupext.py; but this dependency is correctly listed in the package info; so you might just want to try updating everything else before updating matplotlib.

Well, I haven't figured out how to get around it. I don't have any out of date packages. I've rebuilt python24 and tcltk for good measure. What else can I try?

Robert,
I looked at the script causing the error and found that there indeed seems to be a bug in it. It doesn't affect me probably because I have framework versions of Tcl and Tk installed in /Library/Frameworks: the script setupext.py checks for the existence of the following files:
/Library/Frameworks/Tcl.framework
/Library/Frameworks/Tk.framework
If it finds these (as it does in my case), it never reaches the statement where your error message originates.

So I would guess that you don't have the two files above. In that case, the script performs a different test, and that one has the bug. It's a missing line right after line 295 in setupext.py - the incorrect code is

def Find_tcltk():
"""Finds Tcl/Tk includes/libraries/version by interrogating Tkinter."""
    o.tcl_lib = "/sw/lib"
    o.tcl_inc = "/sw/include"
    o.tk_lib = "/sw/lib"
    o.tk_inc = "/sw/include"
    o.tkv = ""
    return o
and it should be replaced with

def Find_tcltk():
"""Finds Tcl/Tk includes/libraries/version by interrogating Tkinter."""
    o=FoundTclTk()
    o.tcl_lib = "/sw/lib"
    o.tcl_inc = "/sw/include"
    o.tk_lib = "/sw/lib"
    o.tk_inc = "/sw/include"
    o.tkv = ""
    return o

I don't know if that's the only bug, but that one is definitely in need of fixing.

Regards,

Jens

Jens:  Thanks - fixing it now.

-Jeff

--
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to