#4176: matplotlib build failure due to broken tcl/tk detection
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: assigned
Priority: blocker | Milestone: sage-3.2.1
Component: build | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by mabshoff):
* priority: major => blocker
Comment:
And it is also broken on the freshly release Fedora Core 10:
{{{
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.
}}}
So let's make this a blocker.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4176#comment:3>
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
-~----------~----~----~----~------~----~------~--~---