On Tue, Nov 25, 2008 at 12:14 PM, mabshoff <[EMAIL PROTECTED]> wrote:
>
>
>
> On Nov 25, 12:11 pm, Jaap Spies <[EMAIL PROTECTED]> wrote:
>
> Hi Jaap,
>
>> On Fedora 10, 32 bits (released today!) I got a build error:
>>
>> ****************************************************
>> =========================================================================== =
>> BUILDING MATPLOTLIB
>>              matplotlib: 0.98.3
>>                  python: 2.5.2 (r252:60911, Nov 25 2008, 20:08:09)  [GCC
>>                          4.3.2 20081105 (Red Hat 4.3.2-7)]
>>                platform: linux2
>>
>> REQUIRED DEPENDENCIES
>>                   numpy: 1.2.0
>>               freetype2: 9.18.3
>>
>> OPTIONAL BACKEND DEPENDENCIES
>>                  libpng: 1.2.33
>> Traceback (most recent call last):
>>    File "setup.py", line 125, in <module>
>>      if check_for_tk() or (options['build_tkagg'] is True):
>>    File 
>> "/home/jaap/Download/sage-3.2.1.alpha0/spkg/build/matplotlib-0.98.3.p2/src/ 
>> setupext.py",
>> line 846, in check_for_tk
>>      explanation = add_tk_flags(module)
>>    File 
>> "/home/jaap/Download/sage-3.2.1.alpha0/spkg/build/matplotlib-0.98.3.p2/src/ 
>> setupext.py",
>> line 1106, in add_tk_flags
>>      module.libraries.extend(['tk' + tk_ver, 'tcl' + tk_ver])
>> UnboundLocalError: local variable 'tk_ver' referenced before assignment
>> Error building matplotlib package.
>
> #4176
>
> I will try to get a VMWare image and see if I can fix this.
>

I read the source code and the bug is obvious.  So I posted an spkg
that I think in theory will fix the above particular problem.  I can't
test it though, so can one of you who has seen the problem?

 sage -i 
http://sage.math.washington.edu/home/was/patches/matplotlib-0.98.3.p3.spkg

Please post to trac #4176 with results:
http://trac.sagemath.org/sage_trac/ticket/4176

William

--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to