Hi
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.
msg.
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
globals(),locals(),[backend_name])
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 ?
import _tkagg
ImportError: /home/arfras/local/cdat/lib/python2.4/site-packages/matplotlib/backends/_tkagg.so: undefined symbol: XSetInputFocus
Any ideas?
Andrea
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users