Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.apo.nmsu.edu/35m_operations/TUI/InstallationOnMac.html
Дата изменения: Sat Sep 6 02:16:02 2014
Дата индексирования: Sat Apr 9 23:13:51 2016
Кодировка:
Поисковые слова: р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р п р р п п р п п р п п р п
|
TUI:Building TUI from Source On MacOS X
This file is for people who wish to build TUI for MacOS X from source. These instructions work on MacOS X 10.5 and 10.4 but not earlier versions. Note: if you want to build an X11-based TUI for MacOS X, see these instructions instead.
Warning: this is an obscure document and some instructions may be out of date.
Follow the instructions for unix installation, but with these refinements:
- I recommend you install Python for MacOS X 2.x. The built-in Python will work, but will be older and requires you to install packages in your system python, which is not recommended.
- Aqua Tcl/Tk Mac binary installers are available from ActiveState. I have found that Aqua Tcl/Tk 8.4.19 works very well with TUI, whereas most earlier versions had bugs that TUI exposed.
- ds9. The application is straighforward to install, but xpa is supplied as compiled command-line executables. Use Terminal to manually copy the executables to /usr/local (which must be on your $PATH).
To build the TUI Mac Application.
- Open the terminal
- % cd tui_root/BuildForMac
- % ./buildtui.py
- At the end you should have a double-clickable application in dist (and a disk image of the same).
- Test the application by running it (preferably on a Macintosh that does not have extra python packages and such installed). After you use it for awhile, quit and examine TUI's log.
- Move the application to your /Applications folder or wherever you like.
- The application you built is self-contained and should work on other Macs using the same type of CPU (PowerPC or intel-based) and running the same version of the operating system. If you installed pure PPC python and extensions, then your application will run under emulation on Intel Macs. At some point I may figure out how to build TUI as a universal binary.
- If all the python additions used by TUI are from binary installers listed as compatible with an earlier version of the operating system, then your application should also run on that earlier version.