I am trying to build Matplot 0.87.2 from source which I got from
By following the directions at
under Debian 3.1r0a for AMD64
When I type python setup.py build, I get this error
cannot find tcl/tk headers. giving up.
/usr/lib/tcl8.4 and /usr/lib/tk8.4 both exist.
According to this previous posting in response to the same problem
setupext.py must be edited to make sure the libraries are found.
However, I tried editing it and the error did not change. Here is the
diff between the old and new versions of setupext.py, and I'm
attaching both versions to this message.
Can anyone suggest what else I could try? Thanks.
< 'linux2' : ['/usr/local', '/usr',],
< 'linux' : ['/usr/local', '/usr',],
setupext.py.original (29.6 KB)
setupext.py (29.6 KB)
'linux2' : ['/usr/local', '/usr', '/usr/lib',],
'linux' : ['/usr/local', '/usr', '/usr/lib',],
< o.tcl_lib = "/usr/local/lib"
< o.tcl_inc = "/usr/local/include"
< o.tk_lib = "/usr/local/lib"
< o.tk_inc = "/usr/local/include"
< o.tkv = ""
o.tcl_lib = "/usr/lib"
o.tcl_inc = "/usr/include"
o.tk_lib = "/usr/lib"
o.tk_inc = "/usr/include"
o.tkv = "8.4"