From: Arnd B. <arn...@we...> - 2005-11-23 12:14:57
|
Hi Eric, installation issues can be frustrating - most of us have been through what you encounter at the momemt (at least once ;-). Don't give up! Some ideas below (I will also send you my full install notes off-list - see also: http://www.scipy.org/mailinglists/mailman?fn=scipy-dev/2005-November/003949.html ) On Wed, 23 Nov 2005, Eric Emsellem wrote: > Hi, > trying to install matplotlib 0.85 on python 2.4 (Suse 10.0), I get : > > ===> cannot find tcl/tk headers. giving up. > > this is annoying and I cannot find much on the web to help me there. I > have checked my libraries and soft (including the "devel") and think I > have everything updated right. > > It is probably a simple pb, so if anybody has a hint there; In my notes for the installation under SUSE 10.0 I have: In setupext.py change: def find_tcltk(): [...] #o.tk_inc="/usr/include/" o.tcl_inc="/usr/include/" if not os.path.exists(o.tcl_inc): print 'cannot find tcl/tk headers. giving up.' sys.exit() return o Not sure if this will help you. > thanks in advance. > > Eric > P.S.: by the way, upgrading my Linux (Suse 10.0) and therefore getting > python 2.4, I have now to reinstall everything from scratch (python > modules) and this is a REAL pain (for example ATLAS which takes ages and > so on). ATLAS is surely the worst. Does any SUSE expert know, whether there are ATLAS packages available? For downloads of precompiled ATLAS see: http://www.scipy.org/download/atlasbinaries/linux/ > It means for me that I cannot work before having all back to > normal (all modules working such as ppgplot, gnuplot-py, Numeric, > numarray, Scipy, matplotlib, etc, etc). And I am not even sure this will > compile with Python 2.4. Anybody knows a way out of this? Compilation of all these (don't know about ppgplot) worked fine for me on SUSE 10.0 (even with 64 Bit, with kind help from the sciy mailing list) and does not take too long. Another option is too choose debian (or ubuntu, ...) as distribution. If you want to have up-to-date matplotlib, you can either compile them yourself or try use use some of the pre-built ones (eg. by John for ubuntu). Also for current scipy you will have to install it yourself. But ATLAS and basically anything else you might need is avaible as .deb. Good luck, Arnd |