TinaUnderMACOSX
Running Tina On Mac Platforms

Tina can be compiled and run on Mac platforms by following the same instructions used with linux systems (see the readme file distributed with Tina).

If you get an error message about values.h during compilation, open the file it mentioned in the message and replace the line

#include < values.h >

with

#include < limits.h >

I have eliminated these problems from the libraries as of 14/6/2005, but some of them could creep back in at a later date.

In order to allow you to build the toolkits after building the libraries, you will need to make sure that at least one of the widget set wrappers (Xview, Motif or GTK) is compiled when you compile tina-tools. Mac users should make sure that they have installed Lesstif (the open source motif implementation). This can be installed as part of 'fink' (http://fink.sourceforge.net) - something which should be familiar to Mac users.

You can install motif with

fink install openmotif3 openmotif3-bin openmotif3-shlibs

and (not critical) Tcl/Tk with

fink install tcltk tcltk-dev tcltk-shlibs

You will probably need to specify the directories where these libraries are located when you run configure in the tina-tools directory, using

./configure --with-motif-includes=/sw/include --with-motif-libraries=/sw/lib --with-tcl=/sw/lib --with-tk=/sw/lib/tk

Again, the tcl and tk parts are not critical: they allow you to build a text-based interface that will, at some point in the future, allow Tina to run in a client/server model.

Many thanks to Ben Loftin and Tony Lacey for providing these instructions.

PAB 16/6/2005

Powered by QwikiWiki v1.4 - www.qwikiwiki.com