On Sep 23, 7:37 am, abhi <[EMAIL PROTECTED]> wrote:

Hi,

> 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


I have seen the same error on Cygwin when tcl/tk was installed, but I
have not fixed this yet. Hopefully I will get around to it in 3.1.3. I
worked around this by disabling tcl/tk detection in setupext.pu, but I
do not have a clean patch I could post.

I have opened a ticket at http://trac.sagemath.org/sage_trac/ticket/4176
to track the issue.

> plz help

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
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