problems with TkAgg on Linux
I am installing matplotlib-0.87.5 on a red hat linux system with Python 2.4. I have all the listed packages installed on my linux. I have reinstalled it several times but it is still failing with TkAgg. I have removed and reinstalled all the components several times, but it still fails.
During the build the only messages that seemed unusual relate to
/usr/include/features.h:150:1: warning: this is the location of the previous definition
When I install matplotlib and test it with
python subplot_demo.py -dagg it works fine
python subplot_demo.py -dTkAgg it fails
Unfortunatly I need the TkAgg backend working.
File “subplot_demo.py”, line 2, in ?
from pylab import *
File “/home/arfras/local/cdat/lib/python2.4/site-packages/pylab.py”, line 1, in ?
from matplotlib.pylab import *
File “/home/arfras/local/cdat/lib/python2.4/site-packages/matplotlib/pylab.py”, line 219, in ?
new_figure_manager, draw_if_interactive, show = pylab_setup()
File “/home/arfras/local/cdat/lib/python2.4/site-packages/matplotlib/backends/init.py”, line 23, in pylab_setup
File “/home/arfras/local/cdat/lib/python2.4/site-packages/matplotlib/backends/backend_tkagg.py”, line 8, in ?
import tkagg # Paint image to Tk photo blitter extension
File “/home/arfras/local/cdat/lib/python2.4/site-packages/matplotlib/backends/tkagg.py”, line 1, in ?
ImportError: /home/arfras/local/cdat/lib/python2.4/site-packages/matplotlib/backends/_tkagg.so: undefined symbol: XSetInputFocus