Was there a reason you tried to install tcl/tk from source? My suggestion would be to delete the manually installed tk and tcl packages (hunt under /usr/local/bin
, /usr/local/lib
and /usr/local/include
), then use the Ubuntu package manager to install "tk": http://packages.ubuntu.com/trusty/tk
"tk" has a dependency on "tcl", so it will install that automatically for you, as well as any other dependencies you need.
Then if that still fails, one idea is to install "tk-dev" (which has a dependency on tcl-dev). The "-dev" versions of packages contain all the headers, makefiles, etc, etc.