Ask Your Question
0

Tk development library for matplotlib backend

asked 2012-08-20 11:01:12 -0500

burningbright gravatar image

I am following the instructions at http://wiki.sagemath.org/sage_matlab to install the backend TkAgg for Sage's matplotlib. However, there is a missing step since the instructions assume that the Tk development libraries are already installed.

I am installing on a Red Hat Enterprise box behind a corporate firewall, so I am looking for a file to download with a name something like tk8.5-dev.tar. From there I can configure and make. I cannot find any such download on the web using Google or Bing. I can find downloads in the form of a .deb Debian package at pkgs.org/download/tk8.5-dev (which I believe is a binary file and so not usable on my system), but no source code tarball or rpm.

The answer to this question at wiki.sagemath.org/faq is specific to another flavor of Linux (use apt-get), which does me no good. Other questions on this site such as ask.sagemath.org/question/816/how-to-use-tk-on-sage just point back to the FAQ or the install page I referenced above.

Not trying to be nasty, but can I emphasize that solutions in the FAQ and the instructions should be as general as possible, and not only for one kind of system. All Linux varieties can work with tarballs. And please, I don't want to start a flame war on what's the best distro. Thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2012-08-20 15:42:21 -0500

benjaminfjones gravatar image

Google for the win:

https://www.google.com/search?q=tk+de...

Click the first link.

I think the reason the README and FAQ don't give instructions for installing dependencies from source tarballs is that this requires a certain proficiency with unix based systems that the average Sage user doesn't have. Besides that, it's a messy way to deal with dependencies.

edit flag offensive delete link more
0

answered 2012-08-23 04:28:58 -0500

burningbright gravatar image

Thanks for the link. The rpm's were close but did not match my exact box. I had to go to our IT staff to get the precisely correct rpm. Still waiting for one distribution to rule them all.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-08-20 11:01:12 -0500

Seen: 410 times

Last updated: Aug 23 '12