#4176: matplotlib build failure due to broken tcl/tk detection
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.1.3
Component: build | Keywords:
----------------------+-----------------------------------------------------
{{{
BUILDING MATPLOTLIB
matplotlib: 0.98.3
python: 2.5.2 (r252:60911, Sep 23 2008, 17:09:57)
[GCC
4.3.0 20080428 (Red Hat 4.3.0-8)]
platform: linux2
REQUIRED DEPENDENCIES
numpy: 1.1.0
freetype2: 9.16.3
OPTIONAL BACKEND DEPENDENCIES
libpng: 1.2.29
Traceback (most recent call last):
File "setup.py", line 125, in <module>
if check_for_tk() or (options['build_tkagg'] is True):
File "/home/abhishek/sage-3.1.2/spkg/build/matplotlib-0.98.3.p1/src/
setupext.py", line 846, in check_for_tk
explanation = add_tk_flags(module)
File "/home/abhishek/sage-3.1.2/spkg/build/matplotlib-0.98.3.p1/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.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4176>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---