How to install TkSesh on Mac OS X
What is TkSesh?
TkSesh is a hieroglyphic database program bywhich allows you to easily view and edit hieroglyphic texts, e.g. for translating. It already includes a couple of texts (some Coffin Texts, steles from the Louvre Museum, The Story of the Shipwrecked Sailor, The Destruction of Mankind, etc.), and you can easily import or export hieroglyphic texts, making it easy to share texts with colleagues around the world. For more information go to S. Rosmorducs home page of TkSesh (http://www.iut.univ-paris8.fr/~rosmord/TKSESH), which includes an excellent presentation of the applications main purposes and capacities.
Why this page to install TkSesh on OS X?
TkSesh is only provided as source code for UNIX operating systems (like Linux or Mac OS X). This means you cannot just immediately launch the application after you‘ve downloaded it—things are a bit more complicated than that to get it running on a Mac! Since it has been developed on Linux, it still needs some (minor) changes before it‘ll work on Mac OS X too. For these changes, you will need a good understanding of computer programming to bring it to a good end, and most Egyptologists probably have other capacities than that! Therefore, I've made this installation guide (with the help of some other people of course) to help you install TkSesh without troubles!
Things you need before installing TkSesh
TkSesh needs a couple of other applications before it will work. You will need an application called Tcl/Tk. The best (and also easiest) way to do this is with Fink and Fink Commander (an OS X graphical user interface for the text-based program). Fink is an application that is used to install common UNIX open source applications (such as The Gimp) on OS X. Just download and install both Fink and Fink Commander on your computer (this shouldn’t be a problem, you can find all the information you need on their respective websites).
Please note that Fink will not work if you haven’t installed the Apple Developer Tools. These include some applications required by Fink (e.g. the gcc-compiler). So first ensure you have installed the Developer Tools (named XCode in OS X 10.3). This can be easily checked in the Finder. If you have a folder ‘Developer’ (with a hammer on the folder icon) on your ‘Macintosh HD’, the Developer Tools are already installed on your system (screenshot 1). (Click on any of the screenshots to see a larger version, which is a bit more clear.) If not, install them from your Mac OS X cd-rom/dvd or download them from Apple's website.
You will also need X11 further in the installation process. It is usually installed in ‘Applications > Utilities’. If it’s not installed there, install it from your OS X cd-rom/dvd or download it from Apple.
After the installation of these applications, launch Fink Commander.
During the installation, Fink Commander can ask you a couple of questions:
Be aware that you’re actually compiling the whole Tcl/Tk-system, so don’t think it’ll be a matter of minutes. It can take a while, so be patient…
When Tcl/Tk is successfully installed, you can go on to the installation of TkSesh:
You can also launch TkSesh with the Terminal application (located just as well in ‘Applications > Utilities’), but it won't work if X11 is not running. Also keep in mind that if you close a terminal window (the X11 terminal or the Terminal application), all processes started in that window will also stop. So don’t close the terminal window where you’ve launched TkSesh, or TkSesh will be closed too!
Now, I now that launching TkSesh this way is not as easy as double-clicking an icon in the dock, but we can already be happy that such software exists for the Macintosh platform. After all, you just have to start X11 en type one line (/sw/share/tksesh/tkseshb.tcl) to launch it. If you don’t like to enter such a line each time you want to start TkSesh, you can make a small shellscript that does it for you:
From now on, you just have to type tksesh in any terminal-window to launch TkSesh. Enjoy!
Many thanks to…
Finally I want to thank some persons who have tried (and succeeded!) to tackle the compiling/installation problem for me: J. Sabbe and K. Vervloesem. A great help was again the MacAtKul-forum (and the irc-channel), which was nice place to look for some more experienced people…
©2005 F. Vervloesem.