I am trying to install sage-3.1.2 on my Fedora 9 with gcc-4.3. I am
having problem with matplotlib-0.98.3.p1....its giving error given
below

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.

plz help

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to